You are not logged in.

#1 2020-03-17 12:16:47

bassp
Member
Registered: 2019-04-11
Posts: 8

NVIDIA Proprietary Driver Screen Tearing

I've installed nvidia, nvidia-utils, lib32-nvidia-utils, and has followed guide on arch linux wiki for fixing the NVIDIA screen tearing problem.

I have turned on forcedfullcompositionpipeline, but it doesn't do anything.

However, that changed nothing for screen tearing inside firefox, an issue made especially apparent by playing the screen tearing test on youtube full screen.

Currently using pure xmonad(No Desktop Environment).

Tried using picom, but picom cannot start due to this error:

vsync_opengl_swc_init ERROR Failed to load a swap control extension.

I can provide any logs

Offline

#2 2020-03-17 16:57:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: NVIDIA Proprietary Driver Screen Tearing

Do you even have acceleration? Post your xorg.log and

glxinfo -B #mesa-demos

in [ code ] [ /code ] tags without the spaces

Offline

#3 2020-03-23 18:53:56

Akaya
Member
Registered: 2020-03-23
Posts: 9

Re: NVIDIA Proprietary Driver Screen Tearing

Hey I believe I'm having the same issue. After installing a bunch of drivers and dependencies needed for Lutris my compositor, compton, broke and would render my WM (dwm) unsuable. I had to stop it from automatically starting up with X by removing it from my .xprofile."
Not knowing what to do I upgraded to picom and renamed my .conf file accordingly and tried running the compositor as a daemon again: this time it didn't break my desktop but outputed this error instead:

[ 03/23/2020 19:30:50.798 vsync_opengl_swc_init ERROR ] Failed to load a swap control extension.
[ 03/23/2020 19:30:50.798 session_init FATAL ERROR ] Failed to initialize the backend

I guess it's a driver config related issue after the mass installs I did for lutris :

sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader
sudo pacman -S lib32-mesa vulkan-intel lib32-vulkan-intel vulkan-icd-loader lib32-vulkan-icd-loader

I've tried reinstalling these and outputting a new nvidia config for X with the command:

nvidia-xconfig

This didn't work either. I then found this thread and ran your command:

V1del wrote:

glxinfo -B #mesa-demos

and this is what I got:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 9.0.1, 256 bits) (0xffffffff)
    Version: 19.3.4
    Accelerated: no
    Video memory: 7894MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.3.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 19.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Acceleration seems to be off but I have no idea how to turn it back on. Is this the problem?

I'm pretty new to linux sorry If the answer is obvious or something.

Last edited by Akaya (2020-03-23 18:55:15)

Offline

#4 2020-03-23 19:13:56

Akaya
Member
Registered: 2020-03-23
Posts: 9

Re: NVIDIA Proprietary Driver Screen Tearing

Ok after rebooting the system picom works again. I don't know what I changed but It works again. (embarrassingly messy I know, my system must be a mess T.T)

Offline

#5 2020-03-23 19:55:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: NVIDIA Proprietary Driver Screen Tearing

If you've just installed the nvidia driver as part of that transaction you will nearly always need to reboot to make it load properly.

Offline

#6 2020-03-23 22:29:33

Akaya
Member
Registered: 2020-03-23
Posts: 9

Re: NVIDIA Proprietary Driver Screen Tearing

I had already rebooted multiple times, the reboot that fixed it was actually a force reset after my screen froze so yeah who knows...

Offline

Board footer

Powered by FluxBB