You are not logged in.

#1 2022-07-20 02:02:27

Torbernight
Member
Registered: 2022-06-30
Posts: 2

[SOLVED] OpenGL not working after reinstalling nvidia-470xx from repo

First time I installed the Nvidia drivers I ended up downloading the package from the Nvidia website, but after a while and lots of kernel updates I decided to reinstall everything from the AUR.

I'm using a GT-710 so I installed the appropriate 470xx version, but after uninstalling from the executable and downloading and installing the packages with pacman (I had to use --overwrite * bc some files where kept apparently), Picom stopped working, as well as any app that uses OpenGL.

Output from glxinfo gives me:

name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  52
  Current serial number in output stream:  53

output from "lspci -k | grep nvidia":

        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

Xorg.0.log:

[   204.329] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[   204.330] Current Operating System: Linux RaccoonPC 5.18.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 15 Jul 2022 15:33:02 +0000 x86_64
[   204.330] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e475eaf2-0519-4200-bd1b-1bdf595f5684 rw nvidia-drm.modeset=1 loglevel=3 quiet
[   204.330]  
[   204.330] Current version of pixman: 0.40.0
[   204.331]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   204.331] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   204.332] (==) Log file: "/home/mapacha/.local/share/xorg/Xorg.0.log", Time: Tue Jul 19 21:07:02 2022
[   204.332] (==) Using config file: "/etc/X11/xorg.conf"
[   204.332] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   204.332] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   204.333] (==) ServerLayout "Layout0"
[   204.333] (**) |-->Screen "Screen0" (0)
[   204.333] (**) |   |-->Monitor "Monitor0"
[   204.334] (**) |   |-->Device "Device0"
[   204.334] (**) |-->Input Device "Keyboard0"
[   204.334] (**) |-->Input Device "Mouse0"
[   204.334] (==) Automatically adding devices
[   204.334] (==) Automatically enabling devices
[   204.334] (==) Automatically adding GPU devices
[   204.334] (==) Automatically binding GPU devices
[   204.334] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   204.334] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   204.334]    Entry deleted from font path.
[   204.334] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   204.334]    Entry deleted from font path.
[   204.334] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   204.334]    Entry deleted from font path.
[   204.334] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   204.334]    Entry deleted from font path.
[   204.334] (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/TTF
[   204.334] (==) ModulePath set to "/usr/lib/xorg/modules"
[   204.334] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   204.334] (WW) Disabling Keyboard0
[   204.334] (WW) Disabling Mouse0
[   204.334] (II) Module ABI versions:
[   204.334]    X.Org ANSI C Emulation: 0.4
[   204.334]    X.Org Video Driver: 25.2
[   204.334]    X.Org XInput driver : 24.4
[   204.334]    X.Org Server Extension : 10.0
[   204.336] (++) using VT number 2
[   204.338] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[   204.340] (II) xfree86: Adding drm device (/dev/dri/card0)
[   204.340] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/card0
[   204.341] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[   204.346] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   204.350] (--) PCI:*(1@0:0:0) 10de:128b:1462:8c93 rev 161, Mem @ 0xfd000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/131072
[   204.351] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   204.351] (II) LoadModule: "glx"
[   204.351] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   204.366] (II) Module glx: vendor="NVIDIA Corporation"
[   204.366]    compiled for 1.6.99.901, module version = 1.0.0
[   204.366]    Module class: X.Org Server Extension
[   204.366] (II) NVIDIA GLX Module  470.129.06  Thu May 12 22:46:43 UTC 2022
[   204.366] (II) LoadModule: "nvidia"
[   204.367] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   204.367] (II) Module nvidia: vendor="NVIDIA Corporation"
[   204.367]    compiled for 1.6.99.901, module version = 1.0.0
[   204.367]    Module class: X.Org Video Driver
[   204.367] (II) NVIDIA dlloader X Driver  470.129.06  Thu May 12 22:49:34 UTC 2022
[   204.367] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   204.367] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[   204.367] (II) systemd-logind: releasing fd for 226:0
[   204.368] (II) Loading sub module "fb"
[   204.368] (II) LoadModule: "fb"
[   204.368] (II) Module "fb" already built-in
[   204.368] (II) Loading sub module "wfb"
[   204.368] (II) LoadModule: "wfb"
[   204.369] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   204.369] (II) Module wfb: vendor="X.Org Foundation"
[   204.369]    compiled for 1.21.1.4, module version = 1.0.0
[   204.369]    ABI class: X.Org ANSI C Emulation, version 0.4
[   204.369] (II) Loading sub module "ramdac"
[   204.369] (II) LoadModule: "ramdac"
[   204.369] (II) Module "ramdac" already built-in
[   204.369] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   204.369] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   204.369] (==) NVIDIA(0): RGB weight 888
[   204.369] (==) NVIDIA(0): Default visual is TrueColor
[   204.369] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   204.369] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   204.369] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   204.369] (**) NVIDIA(0): Enabling 2D acceleration
[   204.369] (II) NVIDIA: The X server supports PRIME Render Offload.
[   204.371] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   204.371] (--) NVIDIA(0):     CRT-0
[   204.371] (--) NVIDIA(0):     DFP-0
[   204.371] (--) NVIDIA(0):     DFP-1 (boot)
[   204.372] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GT 710 (GK208) at PCI:1:0:0 (GPU-0)
[   204.372] (--) NVIDIA(0): Memory: 1048576 kBytes
[   204.372] (--) NVIDIA(0): VideoBIOS: 80.28.bf.00.0f
[   204.372] (II) NVIDIA(0): Detected PCI Express Link width: 8X
[   204.374] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   204.374] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   204.374] (--) NVIDIA(GPU-0): 
[   204.374] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   204.374] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   204.374] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   204.374] (--) NVIDIA(GPU-0): 
[   204.420] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): connected
[   204.420] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): Internal TMDS
[   204.420] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): 340.0 MHz maximum pixel clock
[   204.420] (--) NVIDIA(GPU-0): 
[   204.426] (==) NVIDIA(0): 
[   204.426] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   204.426] (==) NVIDIA(0):     will be used as the requested mode.
[   204.426] (==) NVIDIA(0): 
[   204.426] (II) NVIDIA(0): Validated MetaModes:
[   204.426] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
[   204.426] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[   204.433] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[   204.433] (--) NVIDIA(0):     option
[   204.433] (WW) NVIDIA: Failed to bind sideband socket to
[   204.433] (WW) NVIDIA:     '/var/run/nvidia-xdriver-71e63268' Permission denied
[   204.433] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
[   204.433] (II) NVIDIA:     access.
[   204.436] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   204.436] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   204.436] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   204.436] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   204.436] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   204.436] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   204.436] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   204.436] (II) NVIDIA(0):     Config Options in the README.
[   204.464] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
[   204.508] (==) NVIDIA(0): Disabling shared memory pixmaps
[   204.508] (==) NVIDIA(0): Backing store enabled
[   204.508] (==) NVIDIA(0): Silken mouse enabled
[   204.508] (**) NVIDIA(0): DPMS enabled
[   204.509] (II) Loading sub module "dri2"
[   204.509] (II) LoadModule: "dri2"
[   204.509] (II) Module "dri2" already built-in
[   204.509] (II) NVIDIA(0): [DRI2] Setup complete
[   204.509] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   204.509] (II) Initializing extension Generic Event Extension
[   204.509] (II) Initializing extension SHAPE
[   204.509] (II) Initializing extension MIT-SHM
[   204.509] (II) Initializing extension XInputExtension
[   204.509] (II) Initializing extension XTEST
[   204.509] (II) Initializing extension BIG-REQUESTS
[   204.510] (II) Initializing extension SYNC
[   204.510] (II) Initializing extension XKEYBOARD
[   204.510] (II) Initializing extension XC-MISC
[   204.510] (II) Initializing extension SECURITY
[   204.510] (II) Initializing extension XFIXES
[   204.510] (II) Initializing extension RENDER
[   204.510] (II) Initializing extension RANDR
[   204.511] (II) Initializing extension COMPOSITE
[   204.511] (II) Initializing extension DAMAGE
[   204.511] (II) Initializing extension MIT-SCREEN-SAVER
[   204.511] (II) Initializing extension DOUBLE-BUFFER
[   204.511] (II) Initializing extension RECORD
[   204.511] (II) Initializing extension DPMS
[   204.511] (II) Initializing extension Present
[   204.512] (II) Initializing extension DRI3
[   204.512] (II) Initializing extension X-Resource
[   204.512] (II) Initializing extension XVideo
[   204.512] (II) Initializing extension XVideo-MotionCompensation
[   204.512] (II) Initializing extension GLX
[   204.512] (II) Initializing extension GLX
[   204.512] (II) Indirect GLX disabled.
[   204.512] (II) Initializing extension XFree86-VidModeExtension
[   204.512] (II) Initializing extension XFree86-DGA
[   204.512] (II) Initializing extension XFree86-DRI
[   204.512] (II) Initializing extension DRI2
[   204.512] (II) Initializing extension NV-GLX
[   204.513] (II) Initializing extension NV-CONTROL
[   204.513] (II) Initializing extension XINERAMA
...
[   208.252] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   208.252] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   208.252] (--) NVIDIA(GPU-0): 
[   208.252] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   208.252] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   208.252] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   208.252] (--) NVIDIA(GPU-0): 
[   208.296] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): connected
[   208.296] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): Internal TMDS
[   208.296] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): 340.0 MHz maximum pixel clock
[   208.296] (--) NVIDIA(GPU-0): 
[   217.572] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   217.572] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   217.572] (--) NVIDIA(GPU-0): 
[   217.572] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   217.572] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   217.572] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   217.572] (--) NVIDIA(GPU-0): 
[   217.617] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): connected
[   217.617] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): Internal TMDS
[   217.617] (--) NVIDIA(GPU-0): Samsung LF22T35 (DFP-1): 340.0 MHz maximum pixel clock
[   217.617] (--) NVIDIA(GPU-0): 

output from "pacman -Q | grep -i -e nvidia -e libgl":

lib32-libglvnd-git 1.4.0.r22.g5e289fb-1
lib32-nvidia-470xx-utils 470.129.06-1
lib32-opencl-nvidia-470xx 470.129.06-1
libglvnd-git 1.4.0.r22.g5e289fb-1
nvidia-470xx-dkms 470.129.06-1
nvidia-470xx-settings 470.129.06-1
nvidia-470xx-utils 470.129.06-1
opencl-nvidia-470xx 470.129.06-1

"sudo journalctl -b" shows this, I think the problem is related to this but I'm really stuck right now:

NVRM: loading NVIDIA UNIX x86_64 Kernel Module  470.129.06  Thu May 12 22:52:02 UTC 202
...
NVRM: API mismatch: the client has the version 515.43.04, but
NVRM: this kernel module has the version 470.129.06.  Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.

and I think the output from "pacman -Qkk nvidia-utils" is also related to this (sorry it's in spanish):

advertencia: nvidia-470xx-utils: /usr/lib/libEGL_nvidia.so.0 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libEGL_nvidia.so.0 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libGLESv2_nvidia.so.2 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libGLESv2_nvidia.so.2 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libGLX_nvidia.so.0 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libGLX_nvidia.so.0 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libcuda.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libcuda.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvcuvid.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvcuvid.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-allocator.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-allocator.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-cfg.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-cfg.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-encode.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-encode.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-fbc.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-fbc.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-ml.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-ml.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-ngx.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-ngx.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-opticalflow.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-opticalflow.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 (la fecha de modificación no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvoptix.so.1 (la ruta del enlace simbólico no concuerda)
advertencia: nvidia-470xx-utils: /usr/lib/libnvoptix.so.1 (la fecha de modificación no concuerda)
nvidia-470xx-utils: 204 archivos totales, 15 archivos alterados

(all warnings said either "the path of the symbolic link doesn't match" or "the modification date doesn't match")

I already tried deleting Xorg.conf, disabling lightDM, running mkintcpio, uninstalling and reinstalling again, and it didn't work.
Indirect GLX makes it work, but I understand it's not really a sollution.

What should I do now?

Last edited by Torbernight (2022-07-20 13:51:04)

Offline

#2 2022-07-20 06:47:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,808

Re: [SOLVED] OpenGL not working after reinstalling nvidia-470xx from repo

stat /usr/lib/libGLX_nvidia.so.0

will reveal that this is a symbolic link to the 515.43.04 version of the library.
Re-install nvidia-470xx-utils, pay attention to the output and use --overwrite to fix those files.

"LC_ALL=C pacman -Qkk nvidia-utils" will btw. get you english warnings.

Offline

#3 2022-07-20 13:49:22

Torbernight
Member
Registered: 2022-06-30
Posts: 2

Re: [SOLVED] OpenGL not working after reinstalling nvidia-470xx from repo

Thank you, that solved it right away!

Offline

Board footer

Powered by FluxBB