archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.03k stars 104 forks source link

Nvidia gpu driver screen tear #336

Closed littleblack111 closed 1 year ago

littleblack111 commented 1 year ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

YOU MAY DELETE THE PREREQUISITES SECTION.

Detailed Description

I got some screen tearing issues in Nvidia gpu, the methods online works(fore composite pipeline from Nvidia-settings) but it will make the screen very laggy, for eg, I was playing Minecraft, and even it says it is 700fps, it still make me feel like playing on a 10-30fps machine, and if I stop using the method, (disable force composite pipeline) it will be super smooth(but with screen tears)

Expected Behavior

with smooth fps and no screen tear

Current Behavior

screen tearing/lagging

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. get a GeForce GTX 1060 6GB(that's what gpu I'm using)

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Failure Logs

Please include any relevant log snippets or files here.

mn-xd commented 1 year ago

Did you try force full composite pipeline? This should help you:

littleblack111 commented 1 year ago

yes, I tried that, but it will cause another issue, which is lag, in game or anything, it shows that it is like 700-1000fps, but it is act like 10-30fps.

littleblack111 commented 1 year ago

And I tried using the glx backend (in the picom) and it will make the poly at very ugly(it make everything move left 10cm)and so I wont be able 2 see sth, and it is overlapping

littleblack111 commented 1 year ago

fix by using xr_glx_hybrid backend(setted in picom.conf)