You are not logged in.

#1 2017-06-13 21:35:13

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

nvidia-304xx doesnt work together with new libglvnd 0.2.999

When I install libglvnd 0.2.999+g4ba53457-2, KDE doesn't start at all, and I have this in my .xsession-errors:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

I have to downgrade libglvnd to 0.1.1.20161028-1 in order to be able to use KDE. Of course in the long term keeping it in the ignore list is no good solution, so please help me solve this.

pacman -Qs nvidia
local/lib32-libvdpau 1.1.1-2
    Nvidia VDPAU library
local/lib32-nvidia-304xx-utils 304.135-2
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/nvidia-304xx-dkms 304.135-5
    NVIDIA driver sources for linux, 304xx legacy branch
local/nvidia-304xx-utils 304.135-6
    NVIDIA drivers utilities and libraries, 304xx legacy branch

lspci | grep -e VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)

zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#2 2017-06-13 22:45:51

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Please post your systems xorg.log with libglvnd 0.2.999+g4ba53457-2 installed.
Also the output of ( glxgears is supplied by mesa-demos again with libglvnd 0.2.999+g4ba53457-2 installed  )

$ ldd /usr/bin/glxgears

Edit:
Added note the ldd should be run with when libglvnd 0.2.999+g4ba53457-2 installed.

Last edited by loqs (2017-06-14 09:28:03)

Offline

#3 2017-06-14 20:25:26

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Thanks for caring!

xorg log

[ 52176.816] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 52176.816] X Protocol Version 11, Revision 0
[ 52176.816] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[ 52176.817] Current Operating System: Linux HomeC 4.11.3-2-ck-core2 #1 SMP PREEMPT Fri May 26 15:03:59 EDT 2017 x86_64
[ 52176.817] Kernel command line: root=/dev/mapper/crypt_ssd1 cryptdevice=/dev/disk/by-id/ata-KINGSTON_SV200S364G_X1CA31TLKATK-part1:crypt_ssd1:allow-discards ro video=vesafb:ywrap,mtrr:3 vga=791 elevator=bfq rootflags=discard
[ 52176.817] Build Date: 07 April 2017  05:42:48PM
[ 52176.817]  
[ 52176.817] Current version of pixman: 0.34.0
[ 52176.817] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 52176.817] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 52176.817] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 14 22:13:17 2017
[ 52176.817] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 52176.817] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 52176.818] (==) No Layout section.  Using the first Screen section.
[ 52176.818] (==) No screen section available. Using defaults.
[ 52176.818] (**) |-->Screen "Default Screen Section" (0)
[ 52176.818] (**) |   |-->Monitor "<default monitor>"
[ 52176.818] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 52176.818] (**) |   |-->Device "Nvidia Card"
[ 52176.818] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 52176.818] (==) Automatically adding devices
[ 52176.818] (==) Automatically enabling devices
[ 52176.818] (==) Automatically adding GPU devices
[ 52176.818] (==) Automatically binding GPU devices
[ 52176.818] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 52176.818] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 52176.819] 	Entry deleted from font path.
[ 52176.819] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 52176.819] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 52176.819] 	Entry deleted from font path.
[ 52176.819] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 52176.819] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[ 52176.819] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 52176.819] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 52176.819] (II) Loader magic: 0x822d60
[ 52176.819] (II) Module ABI versions:
[ 52176.819] 	X.Org ANSI C Emulation: 0.4
[ 52176.819] 	X.Org Video Driver: 23.0
[ 52176.819] 	X.Org XInput driver : 24.1
[ 52176.819] 	X.Org Server Extension : 10.0
[ 52176.821] (++) using VT number 7

[ 52176.822] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 52176.822] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 52176.823] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 52176.823] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[ 52176.825] (--) PCI:*(0:1:0:0) 10de:0402:1043:8243 rev 161, Mem @ 0xdc000000/16777216, 0xc0000000/268435456, 0xda000000/33554432, I/O @ 0x0000cf00/128, BIOS @ 0x????????/131072
[ 52176.825] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 52176.825] (II) LoadModule: "glx"
[ 52176.825] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 52176.845] (II) Module glx: vendor="NVIDIA Corporation"
[ 52176.845] 	compiled for 4.0.2, module version = 1.0.0
[ 52176.845] 	Module class: X.Org Server Extension
[ 52176.845] (II) NVIDIA GLX Module  304.135  Tue Jan 17 15:46:50 PST 2017
[ 52176.845] (II) LoadModule: "nvidia"
[ 52176.846] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 52176.846] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 52176.846] 	compiled for 4.0.2, module version = 1.0.0
[ 52176.846] 	Module class: X.Org Video Driver
[ 52176.854] (II) NVIDIA dlloader X Driver  304.135  Tue Jan 17 15:28:00 PST 2017
[ 52176.854] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 52176.865] (II) Loading sub module "fb"
[ 52176.865] (II) LoadModule: "fb"
[ 52176.865] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 52176.866] (II) Module fb: vendor="X.Org Foundation"
[ 52176.866] 	compiled for 1.19.3, module version = 1.0.0
[ 52176.866] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 52176.866] (II) Loading sub module "wfb"
[ 52176.866] (II) LoadModule: "wfb"
[ 52176.866] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 52176.866] (II) Module wfb: vendor="X.Org Foundation"
[ 52176.866] 	compiled for 1.19.3, module version = 1.0.0
[ 52176.866] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 52176.866] (II) Loading sub module "ramdac"
[ 52176.866] (II) LoadModule: "ramdac"
[ 52176.866] (II) Module "ramdac" already built-in
[ 52176.866] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[ 52176.866] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 52176.866] (==) NVIDIA(0): RGB weight 888
[ 52176.866] (==) NVIDIA(0): Default visual is TrueColor
[ 52176.866] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 52176.866] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 52176.866] (**) NVIDIA(0): Option "NoLogo" "true"
[ 52176.867] (**) NVIDIA(0): Enabling 2D acceleration
[ 52177.363] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-0)) does not support NVIDIA
[ 52177.363] (II) NVIDIA(GPU-0):     3D Vision stereo.
[ 52177.367] (II) NVIDIA(0): NVIDIA GPU GeForce 8600 GT (G84) at PCI:1:0:0 (GPU-0)
[ 52177.367] (--) NVIDIA(0): Memory: 262144 kBytes
[ 52177.367] (--) NVIDIA(0): VideoBIOS: 60.84.35.00.11
[ 52177.367] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 52177.367] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 52177.372] (--) NVIDIA(0): Valid display device(s) on GeForce 8600 GT at PCI:1:0:0
[ 52177.372] (--) NVIDIA(0):     CRT-0
[ 52177.372] (--) NVIDIA(0):     CRT-1
[ 52177.372] (--) NVIDIA(0):     TV-0
[ 52177.372] (--) NVIDIA(0):     Samsung SyncMaster (DFP-0) (connected)
[ 52177.372] (--) NVIDIA(0):     DFP-1
[ 52177.372] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[ 52177.372] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[ 52177.372] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
[ 52177.372] (--) NVIDIA(0): TV encoder: Unknown
[ 52177.372] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[ 52177.372] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): Internal Dual Link TMDS
[ 52177.373] (--) NVIDIA(0): DFP-1: 330.0 MHz maximum pixel clock
[ 52177.373] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[ 52177.373] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 52177.373] (**) NVIDIA(0):     device Samsung SyncMaster (DFP-0) (Using EDID frequencies
[ 52177.373] (**) NVIDIA(0):     has been enabled on all display devices.)
[ 52177.376] (==) NVIDIA(0): 
[ 52177.376] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 52177.376] (==) NVIDIA(0):     will be used as the requested mode.
[ 52177.376] (==) NVIDIA(0): 
[ 52177.376] (II) NVIDIA(0): Validated MetaModes:
[ 52177.376] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[ 52177.376] (II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
[ 52177.410] (--) NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
[ 52177.410] (--) NVIDIA(0):     option
[ 52177.410] (--) Depth 24 pixmap format is 32 bpp
[ 52177.410] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 52177.415] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 52177.415] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[ 52177.416] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[ 52177.416] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[ 52177.416] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[ 52177.416] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[ 52177.416] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[ 52177.416] (II) NVIDIA(0):     Config Options in the README.
[ 52177.421] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[ 52177.472] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 52177.472] (==) NVIDIA(0): Backing store enabled
[ 52177.472] (==) NVIDIA(0): Silken mouse enabled
[ 52177.472] (==) NVIDIA(0): DPMS enabled
[ 52177.473] (WW) NVIDIA(0): Option "AllowEmptyInitialConfiguration" is not used
[ 52177.473] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[ 52177.473] (II) Loading sub module "dri2"
[ 52177.473] (II) LoadModule: "dri2"
[ 52177.473] (II) Module "dri2" already built-in
[ 52177.473] (II) NVIDIA(0): [DRI2] Setup complete
[ 52177.473] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 52177.473] (--) RandR disabled
[ 52177.479] (II) Initializing extension GLX
[ 52177.479] (II) Indirect GLX disabled.(II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 52177.566] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 52177.566] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 52177.566] (**) Power Button: Applying InputClass "system-keyboard"
[ 52177.566] (II) LoadModule: "libinput"
[ 52177.566] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 52177.568] (II) Module libinput: vendor="X.Org Foundation"
[ 52177.568] 	compiled for 1.19.3, module version = 0.25.1
[ 52177.568] 	Module class: X.Org XInput Driver
[ 52177.568] 	ABI class: X.Org XInput driver, version 24.1
[ 52177.568] (II) Using input driver 'libinput' for 'Power Button'
[ 52177.568] (**) Power Button: always reports core events
[ 52177.568] (**) Option "Device" "/dev/input/event3"
[ 52177.569] (**) Option "_source" "server/udev"
[ 52177.569] (II) event3  - (II) Power Button: (II) is tagged by udev as: Keyboard
[ 52177.569] (II) event3  - (II) Power Button: (II) device is a keyboard
[ 52177.569] (II) event3  - (II) Power Button: (II) device removed
[ 52177.590] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 52177.590] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 52177.590] (**) Option "xkb_layout" "hu"
[ 52177.621] (II) event3  - (II) Power Button: (II) is tagged by udev as: Keyboard
[ 52177.621] (II) event3  - (II) Power Button: (II) device is a keyboard
[ 52177.622] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 52177.622] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 52177.622] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 52177.622] (**) Power Button: Applying InputClass "system-keyboard"
[ 52177.622] (II) Using input driver 'libinput' for 'Power Button'
[ 52177.622] (**) Power Button: always reports core events
[ 52177.622] (**) Option "Device" "/dev/input/event2"
[ 52177.622] (**) Option "_source" "server/udev"
[ 52177.622] (II) event2  - (II) Power Button: (II) is tagged by udev as: Keyboard
[ 52177.622] (II) event2  - (II) Power Button: (II) device is a keyboard
[ 52177.622] (II) event2  - (II) Power Button: (II) device removed
[ 52177.650] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[ 52177.650] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 52177.650] (**) Option "xkb_layout" "hu"
[ 52177.650] (II) event2  - (II) Power Button: (II) is tagged by udev as: Keyboard
[ 52177.650] (II) event2  - (II) Power Button: (II) device is a keyboard
[ 52177.651] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event4)
[ 52177.651] (II) No input driver specified, ignoring this device.
[ 52177.651] (II) This device may have been added with another device file.
[ 52177.652] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event5)
[ 52177.652] (II) No input driver specified, ignoring this device.
[ 52177.652] (II) This device may have been added with another device file.
[ 52177.652] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event6)
[ 52177.652] (II) No input driver specified, ignoring this device.
[ 52177.652] (II) This device may have been added with another device file.
[ 52177.653] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event7)
[ 52177.653] (II) No input driver specified, ignoring this device.
[ 52177.653] (II) This device may have been added with another device file.
[ 52177.653] (II) config/udev: Adding input device HDA Intel Line Out (/dev/input/event8)
[ 52177.653] (II) No input driver specified, ignoring this device.
[ 52177.653] (II) This device may have been added with another device file.
[ 52177.654] (II) config/udev: Adding input device Microsoft Basic Optical Mouse (/dev/input/event1)
[ 52177.654] (**) Microsoft Basic Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 52177.654] (**) Microsoft Basic Optical Mouse: Applying InputClass "libinput pointer catchall"
[ 52177.654] (II) Using input driver 'libinput' for 'Microsoft Basic Optical Mouse'
[ 52177.654] (**) Microsoft Basic Optical Mouse: always reports core events
[ 52177.654] (**) Option "Device" "/dev/input/event1"
[ 52177.654] (**) Option "_source" "server/udev"
[ 52177.720] (II) event1  - (II) Microsoft Basic Optical Mouse: (II) is tagged by udev as: Mouse
[ 52177.720] (II) event1  - (II) Microsoft Basic Optical Mouse: (II) device is a pointer
[ 52177.720] (II) event1  - (II) Microsoft Basic Optical Mouse: (II) device removed
[ 52177.780] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:045E:0084.0001/input/input1/event1"
[ 52177.780] (II) XINPUT: Adding extended input device "Microsoft Basic Optical Mouse" (type: MOUSE, id 8)
[ 52177.780] (**) Option "AccelerationScheme" "none"
[ 52177.780] (**) Microsoft Basic Optical Mouse: (accel) selected scheme none/0
[ 52177.780] (**) Microsoft Basic Optical Mouse: (accel) acceleration factor: 2.000
[ 52177.780] (**) Microsoft Basic Optical Mouse: (accel) acceleration threshold: 4
[ 52177.850] (II) event1  - (II) Microsoft Basic Optical Mouse: (II) is tagged by udev as: Mouse
[ 52177.850] (II) event1  - (II) Microsoft Basic Optical Mouse: (II) device is a pointer
[ 52177.851] (II) config/udev: Adding input device Microsoft Basic Optical Mouse (/dev/input/mouse0)
[ 52177.851] (II) No input driver specified, ignoring this device.
[ 52177.851] (II) This device may have been added with another device file.
[ 52177.851] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 52177.851] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 52177.851] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 52177.851] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[ 52177.851] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 52177.851] (**) AT Translated Set 2 keyboard: always reports core events
[ 52177.851] (**) Option "Device" "/dev/input/event0"
[ 52177.851] (**) Option "_source" "server/udev"
[ 52177.852] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[ 52177.852] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[ 52177.852] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[ 52177.880] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 52177.880] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[ 52177.880] (**) Option "xkb_layout" "hu"
[ 52177.880] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[ 52177.880] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[ 52187.187] (II) event3  - (II) Power Button: (II) device removed
[ 52187.220] (II) event2  - (II) Power Button: (II) device removed
[ 52187.260] (II) event1  - (II) Microsoft Basic Optical Mouse: (II) device removed
[ 52187.321] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
ldd /usr/bin/glxgears
        linux-vdso.so.1 (0x00007ffef5ffd000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f7549f02000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f7549bf0000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f75498b1000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f754950c000)
        libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f75492da000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f75490c8000)
        libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f7548e12000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7548c0e000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f75489f0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f754a18d000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f75487c7000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f75485c3000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f75483bd000)
/

zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#4 2017-06-14 20:35:10

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

[ 52176.825] (II) LoadModule: "glx"
[ 52176.825] (II) Loading /usr/lib/nvidia/xorg/libglx.so

So X is using the nvidia glx correctly.

        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f7549f02000)

That is libGL as provided by libglvnd which is probably the issue see https://bbs.archlinux.org/viewtopic.php … 6#p1707966

Offline

#5 2017-06-14 20:50:04

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

To be honest, from that linked thread I don't see what my problem is. Should I also remove the /usr/lib lines from /etc/ld.so.conf.d/ffmpeg2.8.conf?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#6 2017-06-14 20:58:22

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

You could try adding /usr/lib/nvidia/ before the line /usr/lib if that fails then yes try removing line /usr/lib and see if that fixed the issue.
The problem is the libGl.so.1 being used is the one is /usr/lib provided by libglvnd not the one in /usr/lib/nvidia provided by nvidia-utils-304xx.
Why /usr/lib is being used in preference was never fully understood in the other thread.

Offline

#7 2017-06-14 21:07:10

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Sadly none of those options worked here. However I didn't reboot after the changes in /etc/ld.so.conf.d/ffmpeg0.10.conf could that be a problem?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#8 2017-06-14 21:11:42

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Check `ldd /usr/bin/glxgears` if the result has not changed there might be another file in /etc/ld.so.conf.d/ which contains /usr/lib/
Would not have expected a reboot to be needed but I can see no harm in it.

Offline

#9 2017-06-14 21:28:27

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Still doesn't work even after reboot. Do I actually need libglvnd at all? Maybe I could --force remove it? (UPDATE - tried it big_smile)

find /etc/ld.so.conf.d/ -type f -print -execdir cat '{}' \;
/etc/ld.so.conf.d/00-nvidia.conf
/usr/lib/nvidia/
/etc/ld.so.conf.d/gnustep.conf
/opt/GNUstep/System/Library/Libraries
/usr/lib/GNUstep/Libraries
/etc/ld.so.conf.d/lib32-glibc.conf
/usr/lib32
/etc/ld.so.conf.d/fakeroot.conf
/usr/lib/libfakeroot
/etc/ld.so.conf.d/00-lib32-nvidia.conf
/usr/lib32/nvidia/
/etc/ld.so.conf.d/ffmpeg2.8.conf
/usr/lib/ffmpeg2.8/
/etc/ld.so.conf.d/opencollada.conf
/usr/lib/opencollada
/etc/ld.so.conf.d/tupi.conf
/usr/lib/tupi

Last edited by SanskritFritz (2017-06-14 21:34:49)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#10 2017-06-14 21:40:18

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

No you do not need it as nvidia-304xx and nvidia-340xx are not compatible with libglvnd so /etc/ld.so.conf.d/00-nvidia.conf is supposed to use the libs in /usr/lib/nvidia/ to bypass libglvnd.

Offline

#11 2017-06-14 21:43:56

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Sadly removing it made things worse, even lightdm didn't start then.

Last edited by SanskritFritz (2017-06-14 21:44:36)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#12 2017-06-14 22:06:00

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

That was unexpected unless mesa was removed with libglvnd.  Would suggest reporting this thread and asking a moderator to move it to the hardware forum see if others have more ideas.

Offline

#13 2017-06-15 07:43:04

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

I did a pacman -Rdd libglvnd so mesa stayed intact.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#14 2017-06-15 09:45:06

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Mod note: moving to Kernel and Hardware


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#15 2017-06-15 20:01:16

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

There are two questions now I don't know the answer to:
1. Why can't I just remove the libglvnd package when I still have nvidia-304xx-utils?
2. Why doesnt /etc/ld.so.conf.d/00-nvidia.conf take precedence over other files?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#16 2017-06-15 22:52:30

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

There's a file /etc/ld.so.conf:

#
# /etc/ld.so.conf
#

include /etc/ld.so.conf.d/*.conf

# End of file

I guess you could change it to the following to make sure 00-nvidia.conf sorts in front of anything else:

include /etc/ld.so.conf.d/00-nvidia.conf
include /etc/ld.so.conf.d/*.conf

The output you see with "ldconfig -p" I think comes out of a cache file named "/etc/ld.so.cache". Maybe after editing stuff, you have to recreate it? That should happen when you run this:

$ sudo ldconfig

When I run this here, the date of the /etc/ld.so.cache file gets updated. I can also delete the file and running that "sudo ldconfig" makes a new one show up.

Another idea I had in the other thread about this problem was to make a copy of 00-nvidia.conf named "zzz-nvidia.conf" and see if that makes its line show up in front of other stuff.

Last edited by Ropid (2017-06-15 22:53:15)

Offline

#17 2017-06-16 09:15:30

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

I tried your advice, but even this way /usr/lib takes precedence:

/etc/ld.so.conf:
include /etc/ld.so.conf.d/00-nvidia.conf
include /etc/ld.so.conf.d/*.conf

root@HomeC ~# ldconfig               
root@HomeC ~# ldd /usr/bin/glxgears                                                                                                                  
        ...
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f6ca6e16000)            

Crazy.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#18 2017-06-16 15:39:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

SanskritFritz wrote:

There are two questions now I don't know the answer to:
1. Why can't I just remove the libglvnd package when I still have nvidia-304xx-utils?

mesa is built with glvnd support and many things require mesa, like gtk3 .
You could try the AUR mesa-noglvnd package.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#19 2017-06-16 20:18:00

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Well, so far I found one solution: I simply deleted the file

/usr/lib/nvidia/libGL.so.1

The file is owned by libglvnd.
Looks like this way the system is working now with libglvnd 0.2.999+g4ba53457-2.
How should I proceed now? Is this a packaging problem, or a bug?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#20 2017-06-16 20:19:10

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: nvidia-304xx doesnt work together with new libglvnd 0.2.999

Lone_Wolf wrote:
SanskritFritz wrote:

There are two questions now I don't know the answer to:
1. Why can't I just remove the libglvnd package when I still have nvidia-304xx-utils?

mesa is built with glvnd support and many things require mesa, like gtk3 .
You could try the AUR mesa-noglvnd package.

Ah, thanks, I'll certainly try that.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB