Bug 110137 - drirc adaptive sync, vrr, freesync blacklisting documentation
Summary: drirc adaptive sync, vrr, freesync blacklisting documentation
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-16 02:18 UTC by grmat
Modified: 2019-09-25 18:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description grmat 2019-03-16 02:18:46 UTC
Hi,

using qutebrowser in fullscreen mode breaks the video output with VRR enabled because it refreshes very unsteadily, which is typical for a browser. Some browsers are blacklisted in the drirc. I've added the following lines to the drirc, but it doesn't disable VRR for a fullscreen qutebrowser window.:


<application name="qutebrowser" executable="qutebrowser">
    <option name="adaptive_sync" value="false" />
</application>


Is there any documentation about how the matching works?
Comment 1 Nicholas Kazlauskas 2019-03-18 12:56:06 UTC
AFAIK, the matching should just be done based on the executable name.

See: src/util/u_process.c

The process name likely differs for the content processes for the browser. You might need both qutebrowser and QtWebEngineProcess blacklisted:


<application name="qutebrowser" executable="QtWebEngineProcess">
    <option name="adaptive_sync" value="false" />
</application>


<application name="qutebrowser" executable="qutebrowser">
    <option name="adaptive_sync" value="false" />
</application>
Comment 2 grmat 2019-04-09 09:14:35 UTC
Neither qutebrowser nor QtWebEngineProcess worked. Now I've seen that qtbrowser is built on PyQt5, so the executable name has to be "python3", this works:

<application name="qutebrowser" executable="python3">
    <option name="adaptive_sync" value="false" />
</application>

I'd send in a patch for that, but I think this will block any python3-based app, which is not the goal here.
Comment 3 Nicholas Kazlauskas 2019-04-09 13:08:28 UTC
I suppose that the issue with using realpath is while it's good at stripping args from chromium based browsers it'll have issues with programs run under script interpreters.

Maybe the drirc needs a more advanced app path or name matching method to deal with cases like that.
Comment 4 GitLab Migration User 2019-09-25 18:49:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1381.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.