Skip to content
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

Add Possibility to Auto Fix Tearing #12

Open
liberodark opened this issue Jan 29, 2018 · 8 comments
Open

Add Possibility to Auto Fix Tearing #12

liberodark opened this issue Jan 29, 2018 · 8 comments

Comments

@liberodark
Copy link

Hello,

On Intel chipset have tearing and on nvidia.
But have a simple possibility to fix that in auto.
Is possible for view to add fonctionality on solus 4 for fix tearing ?

Cordialy

@ikeydoherty
Copy link
Member

Certainly possible, we control GLX after all. Depends on exactly how we we want to expose this, though.
What is the workflow, for example? How is this activated? etc.

@andrebrait
Copy link

Are you talking about PRIME Sync? As in having smooth graphics on Intel IGP but tearing when using the NVIDIA GPU?

If you're having tearing even on Intel, it.might be related to not having a compositor running.

@ikeydoherty
Copy link
Member

For PRIME mostly its a case of being SoL right now.

@andrebrait
Copy link

Yeah, they still have tons of work ahead of them to get PRIME Sync to work well. They're currently dealing with instabilities and stuff like two cursors being present in the screen when it's activated. I've had crashes in some games and whatnot with it turned on.

I wanted to know if OP had problems with that or if it was with another setup because other than PRIME Sync, tearing should already be fixed by now, if using a compositor.

@liberodark
Copy link
Author

liberodark commented Feb 12, 2018

For intel is more easy IGP from intel all linux dristribution have tearing on intel chipset but have solution for fix that.
And have same possibility on AMD.

Is simple and old solution :

Intel :

(Manjaro) sudo nano /etc/X11/mhwd.d/intel.conf

Install on Solus :

xorg-driver-video-intel

(Solus and Other) sudo nano /etc/X11/xorg.conf.d/20-intel.conf

Put in file "20-intel.conf" :

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "2" # DRI3 is now default
Option "TearFree" "true"
Option "AccelMethod" "sna" # default
Option "AccelMethod" "uxa" # fallback
EndSection

@liberodark
Copy link
Author

The best is the addition of putting a tearfree or not!
But first you have to have a hardware detection.
After that it's pretty generic.
But since it is a very common issue under linux, it would be a first linux that does not have tearing and can easily fix it without the command line typing it would be wahoo.
A saving of time and especially an accessibility to the biggest numbers.
Do not you believe?

@ikeydoherty
Copy link
Member

Forcing DRI2 will absolutely gimp performance where DRI3 is available. Likewise force enabling UXA is a Very Bad Thing where SNA would be used, a catastrophic performance drop. The only option there of use is Option "TearFree" - which even then would need testing across a wide range of Intel devices to ensure it doesn't introduce regressions.

@liberodark
Copy link
Author

Have send just exemple.
But my configuration is this :

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3" # DRI3 is now default
Option "AccelMethod" "sna" # default
EndSection

And not have tearing, tearfree is not a good option, but sna + dri3 is better !

Cordialy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants