Bug 240096 - www/qutebrowser: tell user how to disable hardware acceleration
Summary: www/qutebrowser: tell user how to disable hardware acceleration
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks: 237277
  Show dependency treegraph
 
Reported: 2019-08-25 10:52 UTC by Lorenzo Salvadore
Modified: 2019-08-25 12:33 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (novel)


Attachments
qutebrowser --disable-gpu (780 bytes, patch)
2019-08-25 10:53 UTC, Lorenzo Salvadore
no flags Details | Diff
qutebrowser --qt-flag disable-gpu (788 bytes, patch)
2019-08-25 12:00 UTC, Lorenzo Salvadore
salvadore: maintainer-approval? (novel)
Details | Diff
adds qutebrowser option (956 bytes, patch)
2019-08-25 12:20 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2019-08-25 10:52:37 UTC
On older hardwares or systems where hardware acceleration has not been configured correctly the browser shows videos with wrong colors.

This patch adds in pkg-message the suggestion to disable hardware acceleration through the --disable-gpu option.

Testing is needed to verify that the option works.

See bug #237277.
Comment 1 Lorenzo Salvadore freebsd_committer freebsd_triage 2019-08-25 10:53:45 UTC
Created attachment 206889 [details]
qutebrowser --disable-gpu
Comment 2 Roman Bogorodskiy freebsd_committer freebsd_triage 2019-08-25 11:52:47 UTC
(In reply to Lorenzo Salvadore from comment #0)

Thanks for reporting this.

However, there seem to be no '--disable-gpu' flag for qutebrowser:

qutebrowser: error: unrecognized arguments: --disable-gpu

Probably the right equivalent is 'qutebrowser --qt-flag disable-gpu', though I see no difference on my system. I guess I'll need to confirm with qutebrowser if that's the right way to disable hardware acceleration.
Comment 3 Lorenzo Salvadore freebsd_committer freebsd_triage 2019-08-25 12:00:31 UTC
Created attachment 206892 [details]
qutebrowser --qt-flag disable-gpu

Thanks for feeback.

I updated the patch by replacing --disable-gpu with the --qt-flag disable-gpu option.
Comment 4 Roman Bogorodskiy freebsd_committer freebsd_triage 2019-08-25 12:20:17 UTC
Created attachment 206893 [details]
adds qutebrowser option

Upstream configured that 'qt-flag disable-gpu' should work fine. Also updated with the info about configuration settings. Please take a look.
Comment 5 Lorenzo Salvadore freebsd_committer freebsd_triage 2019-08-25 12:25:03 UTC
(In reply to Roman Bogorodskiy from comment #4)

Looks great. Let's commit it :)
Comment 6 commit-hook freebsd_committer freebsd_triage 2019-08-25 12:32:35 UTC
A commit references this bug:

Author: novel
Date: Sun Aug 25 12:31:50 UTC 2019
New revision: 509793
URL: https://svnweb.freebsd.org/changeset/ports/509793

Log:
  www/qutebrowser: tell user how to disable hardware acceleration

  On older hardwares or systems where hardware acceleration has not been
  configured correctly the browser shows videos with wrong colors.
  Add a pkg-message notice on how to disable hardware acceleration
  as a workaround for this issue.

  PR:		240096
  Submitted by:	Lorenzo Salvadore

Changes:
  head/www/qutebrowser/pkg-message
Comment 7 Roman Bogorodskiy freebsd_committer freebsd_triage 2019-08-25 12:33:39 UTC
Committed, thanks!