-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix hardware acceleration flag for Linux #4532
Conversation
These two lines are not needed when tested but I included them because Chromium Docs said so. You can remove them if they are enabled by default (by Chromium/Electron) or already implemented somewhere else. Seems like they are, on Linux. I will remove them. |
Did you test on Windows and macOS too before removing the existing flags? If not please only add the new ones and stick them inside an if, so they only apply on Linux where they are needed. |
Head branch was pushed to by a user without write access
Those flags are all deprecated. They do nothing.
You can add it back if you still decide to keep it. The flag doesn't seem to cause any issue on Windows. I can not test on MacOS since I do not own the hardware. |
Electron doesn't seem to have a native way to detect OS, there are examples/modules on the Internet but as I'm not very familiar with Electron, I will not attempt to do it. If you deem it necessary to have such function, you can instruct me on how it should be done or find someone else to do it. |
Head branch was pushed to by a user without write access
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…mark * development: (53 commits) Add dearrow support for thumbnails (FreeTubeApp#4520) Translated using Weblate (French) Fix hardware acceleration flag for Linux (FreeTubeApp#4532) Translated using Weblate (Bengali) Translated using Weblate (Czech) Translated using Weblate (Hungarian) Translated using Weblate (Turkish) Translated using Weblate (Spanish) Translated using Weblate (Arabic) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Russian) Translated using Weblate (French) Translated using Weblate (Chinese (Simplified)) Add toggle to suppress sending additional args to external players (FreeTubeApp#4515) Translated using Weblate (English (United Kingdom)) Translated using Weblate (Italian) Translated using Weblate (French) Translated using Weblate (Finnish) Translated using Weblate (Polish) ... # Conflicts: # src/renderer/store/modules/settings.js
…m-builds/current * feature/consistent-sharable-video-url-local: (30 commits) * Update places generating sharable YT video URLs to always return prefix https://youtu.be/ Translated using Weblate (Chinese (Traditional)) Translated using Weblate (Chinese (Simplified)) Add dearrow support for thumbnails (FreeTubeApp#4520) Translated using Weblate (French) Fix hardware acceleration flag for Linux (FreeTubeApp#4532) Translated using Weblate (Bengali) Translated using Weblate (Czech) Translated using Weblate (Hungarian) Translated using Weblate (Turkish) Translated using Weblate (Spanish) Translated using Weblate (Arabic) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Russian) Translated using Weblate (French) Translated using Weblate (Chinese (Simplified)) Add toggle to suppress sending additional args to external players (FreeTubeApp#4515) Translated using Weblate (English (United Kingdom)) Translated using Weblate (Italian) ...
Fix hardware acceleration flag for Linux
Pull Request Type
Related issue
#961, already closed but issue still present.
#4526
Description
Screenshots
Here is the Before-After if the pull request is implemented as flags.
Before:
![before](https://private-user-images.githubusercontent.com/24849056/294876139-e738ac6c-539e-49fa-8923-42e73aa52e84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzg5NDgsIm5iZiI6MTczOTEzODY0OCwicGF0aCI6Ii8yNDg0OTA1Ni8yOTQ4NzYxMzktZTczOGFjNmMtNTM5ZS00OWZhLTg5MjMtNDJlNzNhYTUyZTg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDIyMDQwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExY2E2YzljMTRkZGFjZmFkNDcwZjNiNDE2ZTJmNDBmY2Y0ZGQ4ZmVlZjQ0MGQxZjMxODQ0NDU3YTI4MjkyNjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GqtyySMin2ykDfhmimtZSBx5v4oBQm9a_McgDwDqPrY)
After:
![after](https://private-user-images.githubusercontent.com/24849056/294876189-0c8d2f1d-dc05-4410-a864-fe2bebc4cbfb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzg5NDgsIm5iZiI6MTczOTEzODY0OCwicGF0aCI6Ii8yNDg0OTA1Ni8yOTQ4NzYxODktMGM4ZDJmMWQtZGMwNS00NDEwLWE4NjQtZmUyYmViYzRjYmZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDIyMDQwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1Yjc1YTcyZDdlZjJjOTE1NWYzNzRhMjIyODRlODE3NDVhYTg2MDgzMzY3YThhNDJhOGE3OTY2M2VhZDJiZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pO6VDMMVqR1y6WdFsypfrZWsbqyi52UknJVU_MC0z0A)
Testing
Tested working (on my machine).
Test builds are available here.
Desktop
Additional context