• Nvidia Driver Installed and Working Sometimes ...


    I am using a GTX 1080 in a Razor Core external thunderbolt enclosure. Every time I boot the system (Reboots as well), the desktop loads with the Gallium LLVMPIPE (Software extentions) for rendering. If I log out and back in the rendering loads using the NVIDIA driver extensions.

    My xorg.conf file has nvidia specified, but it doesn’t seem to get used at boot. My xorg.conf is listed below:

    Section "ServerLayout"
        Identifier "Main Layout"
        Screen     0 "Screen0" 0 0
    EndSection
    
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "SAMSUNG"
        ModelName      "SAMSUNG"
        HorizSync       15.0 - 135.0
        VertRefresh     24.0 - 75.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 1080"
        BusID          "PCI:6:0:0"
        Option         "TripleBuffer" "True"
        Option         "RegistryDwords" "PerfLevelSrc=0x2222"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "metamodes" "3840x2160 +0+0 { ForceFullCompositionPipeline = On }"
        Option         "BaseMosaic" "off"
        Option         "AllowIndirectGLXProtocol" "Off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    

    At the time of writing I am running on the GTX 1080 with nvidia render extensions:

    [[email protected] ~]$ glxinfo |egrep  -w 'rendering|renderer'
    direct rendering: Yes
    OpenGL renderer string: GeForce GTX 1080/PCIe/SSE2
    

    After initial boot up, but before logging out of the DE and back in the OpenGL renderer string shows: Gallium LLVMPIPE and not GeForce GTX 1080/PCIe/SSE2.

    I’m including the xorg.0.log which loaded after logout / login below and using the Nvidia renderer:

    X.Org X Server 1.19.3
    Release Date: 2017-03-15
    [    38.790] X Protocol Version 11, Revision 0
    [    38.790] Build Operating System: Linux 4.12.5-1-ARCH x86_64 
    [    38.790] Current Operating System: Linux Arizona 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64
    [    38.790] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c56621f7-bed7-46fa-b29e-74bcbed8f72c rw enable_guc_loading=1 enable_guc_submission=1 quiet resume=UUID=68e79763-813d-4c1a-9a4d-4e8845e12ebd
    [    38.790] Build Date: 13 August 2017  09:37:50PM
    [    38.790]  
    [    38.790] Current version of pixman: 0.34.0
    [    38.790] 	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    [    38.790] Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [    38.790] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 28 11:11:22 2017
    [    38.790] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [    38.790] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [    38.790] (==) ServerLayout "Main Layout"
    [    38.790] (**) |-->Screen "Screen0" (0)
    [    38.790] (**) |   |-->Monitor "Monitor0"
    [    38.790] (**) |   |-->Device "Device0"
    [    38.790] (**) Option "DontZap" "false"
    [    38.790] (==) Automatically adding devices
    [    38.790] (==) Automatically enabling devices
    [    38.790] (==) Automatically adding GPU devices
    [    38.790] (==) Automatically binding GPU devices
    [    38.790] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [    38.790] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [    38.790] 	Entry deleted from font path.
    [    38.790] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [    38.790] 	Entry deleted from font path.
    [    38.790] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [    38.790] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [    38.790] 	Entry deleted from font path.
    [    38.790] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [    38.790] (==) FontPath set to:
    	/usr/share/fonts/misc/,
    	/usr/share/fonts/TTF/,
    	/usr/share/fonts/OTF/
    [    38.790] (==) ModulePath set to "/usr/lib/xorg/modules"
    [    38.790] (II) The server relies on udev to provide the list of input devices.
    	If no devices become available, reconfigure udev or disable AutoAddDevices.
    [    38.790] (II) Loader magic: 0x55936869dd40
    [    38.790] (II) Module ABI versions:
    [    38.790] 	X.Org ANSI C Emulation: 0.4
    [    38.790] 	X.Org Video Driver: 23.0
    [    38.790] 	X.Org XInput driver : 24.1
    [    38.790] 	X.Org Server Extension : 10.0
    [    38.791] (++) using VT number 1
    
    [    38.791] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [    38.791] (II) xfree86: Adding drm device (/dev/dri/card0)
    [    38.804] (II) xfree86: Adding drm device (/dev/dri/card1)
    [    38.805] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
    [    38.805] (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
    [    38.806] (--) PCI: (0:0:2:0) 8086:5926:1028:075b rev 6, Mem @ 0xdb000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
    [    38.806] (--) PCI:*(0:6:0:0) 10de:1b80:3842:5182 rev 161, Mem @ 0xc4000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
    [    38.806] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [    38.806] (II) LoadModule: "glx"
    [    38.807] (II) Loading /usr/lib/nvidia/xorg/libglx.so
    [    38.833] (II) Module glx: vendor="NVIDIA Corporation"
    [    38.833] 	compiled for 4.0.2, module version = 1.0.0
    [    38.833] 	Module class: X.Org Server Extension
    [    38.834] (II) NVIDIA GLX Module  384.69  Wed Aug 16 19:34:06 PDT 2017
    [    38.834] (II) LoadModule: "nvidia"
    [    38.834] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [    38.835] (II) Module nvidia: vendor="NVIDIA Corporation"
    [    38.835] 	compiled for 4.0.2, module version = 1.0.0
    [    38.835] 	Module class: X.Org Video Driver
    [    38.835] (II) NVIDIA dlloader X Driver  384.69  Wed Aug 16 19:07:09 PDT 2017
    [    38.835] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [    38.835] (II) Loading sub module "fb"
    [    38.835] (II) LoadModule: "fb"
    [    38.835] (II) Loading /usr/lib/xorg/modules/libfb.so
    [    38.835] (II) Module fb: vendor="X.Org Foundation"
    [    38.835] 	compiled for 1.19.3, module version = 1.0.0
    [    38.835] 	ABI class: X.Org ANSI C Emulation, version 0.4
    [    38.835] (II) Loading sub module "wfb"
    [    38.835] (II) LoadModule: "wfb"
    [    38.835] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [    38.835] (II) Module wfb: vendor="X.Org Foundation"
    [    38.835] 	compiled for 1.19.3, module version = 1.0.0
    [    38.835] 	ABI class: X.Org ANSI C Emulation, version 0.4
    [    38.835] (II) Loading sub module "ramdac"
    [    38.835] (II) LoadModule: "ramdac"
    [    38.835] (II) Module "ramdac" already built-in
    [    38.835] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [    38.835] (==) NVIDIA(0): RGB weight 888
    [    38.835] (==) NVIDIA(0): Default visual is TrueColor
    [    38.835] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [    38.835] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
    [    38.835] (**) NVIDIA(0): Option "TripleBuffer" "True"
    [    38.835] (**) NVIDIA(0): Option "AllowIndirectGLXProtocol" "Off"
    [    38.835] (**) NVIDIA(0): Option "BaseMosaic" "off"
    [    38.835] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
    [    38.835] (**) NVIDIA(0): Option "MetaModes" "3840x2160 +0+0 { ForceFullCompositionPipeline = On }"
    [    38.835] (**) NVIDIA(0): Option "RegistryDwords" "PerfLevelSrc=0x2222"
    [    38.835] (**) NVIDIA(0): Enabling 2D acceleration
    [    39.996] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:6:0:0
    [    39.996] (--) NVIDIA(0):     DFP-0
    [    39.996] (--) NVIDIA(0):     DFP-1 (boot)
    [    39.996] (--) NVIDIA(0):     DFP-2
    [    39.996] (--) NVIDIA(0):     DFP-3
    [    39.996] (--) NVIDIA(0):     DFP-4
    [    39.996] (--) NVIDIA(0):     DFP-5
    [    39.996] (--) NVIDIA(0):     DFP-6
    [    39.996] (--) NVIDIA(0):     DFP-7
    [    40.001] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1080 (GP104-A) at PCI:6:0:0 (GPU-0)
    [    40.001] (--) NVIDIA(0): Memory: 8388608 kBytes
    [    40.001] (--) NVIDIA(0): VideoBIOS: 86.04.17.00.80
    [    40.001] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [    40.001] (--) NVIDIA(GPU-0): DFP-0: disconnected
    [    40.001] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
    [    40.001] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
    [    40.001] (--) NVIDIA(GPU-0): 
    [    40.033] (--) NVIDIA(GPU-0): SAMSUNG (DFP-1): connected
    [    40.033] (--) NVIDIA(GPU-0): SAMSUNG (DFP-1): Internal TMDS
    [    40.033] (--) NVIDIA(GPU-0): SAMSUNG (DFP-1): 600.0 MHz maximum pixel clock
    [    40.033] (--) NVIDIA(GPU-0): 
    [    40.033] (--) NVIDIA(GPU-0): DFP-2: disconnected
    [    40.033] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
    [    40.033] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
    [    40.033] (--) NVIDIA(GPU-0): 
    [    40.033] (--) NVIDIA(GPU-0): DFP-3: disconnected
    [    40.033] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
    [    40.033] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
    [    40.033] (--) NVIDIA(GPU-0): 
    [    40.033] (--) NVIDIA(GPU-0): DFP-4: disconnected
    [    40.033] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
    [    40.033] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
    [    40.033] (--) NVIDIA(GPU-0): 
    [    40.033] (--) NVIDIA(GPU-0): DFP-5: disconnected
    [    40.033] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
    [    40.033] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
    [    40.033] (--) NVIDIA(GPU-0): 
    [    40.033] (--) NVIDIA(GPU-0): DFP-6: disconnected
    [    40.033] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
    [    40.033] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
    [    40.033] (--) NVIDIA(GPU-0): 
    [    40.034] (--) NVIDIA(GPU-0): DFP-7: disconnected
    [    40.034] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
    [    40.034] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
    [    40.034] (--) NVIDIA(GPU-0): 
    [    40.055] (II) NVIDIA(0): Validated MetaModes:
    [    40.055] (II) NVIDIA(0):     "3840x2160+0+0{ForceFullCompositionPipeline=On}"
    [    40.055] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 2160
    [    40.078] (--) NVIDIA(0): DPI set to (109, 109); computed from "UseEdidDpi" X config
    [    40.078] (--) NVIDIA(0):     option
    [    40.078] (--) Depth 24 pixmap format is 32 bpp
    [    40.088] (II) NVIDIA: Using 49152.00 MB of virtual memory for indirect memory
    [    40.088] (II) NVIDIA:     access.
    [    40.099] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [    40.099] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
    [    40.099] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
    [    40.099] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
    [    40.099] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
    [    40.099] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
    [    40.099] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
    [    40.099] (II) NVIDIA(0):     Config Options in the README.
    [    40.127] (II) NVIDIA(0): Setting mode "3840x2160+0+0{ForceFullCompositionPipeline=On}"
    [    40.195] (==) NVIDIA(0): Disabling shared memory pixmaps
    [    40.195] (==) NVIDIA(0): Backing store enabled
    [    40.195] (==) NVIDIA(0): Silken mouse enabled
    [    40.195] (**) NVIDIA(0): DPMS enabled
    [    40.196] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
    [    40.196] (II) Loading sub module "dri2"
    [    40.196] (II) LoadModule: "dri2"
    [    40.196] (II) Module "dri2" already built-in
    [    40.196] (II) NVIDIA(0): [DRI2] Setup complete
    [    40.196] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
    [    40.301] (--) RandR disabled
    [    40.303] (II) Initializing extension GLX
    [    40.303] (II) Indirect GLX disabled.
    

    Here is the Xorg.0.log.old which contains the failure to load the nvidia GLX extensions:

    X.Org X Server 1.19.3
    Release Date: 2017-03-15
    [     5.680] X Protocol Version 11, Revision 0
    [     5.680] Build Operating System: Linux 4.12.5-1-ARCH x86_64 
    [     5.680] Current Operating System: Linux Arizona 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64
    [     5.680] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c56621f7-bed7-46fa-b29e-74bcbed8f72c rw enable_guc_loading=1 enable_guc_submission=1 quiet resume=UUID=68e79763-813d-4c1a-9a4d-4e8845e12ebd
    [     5.680] Build Date: 13 August 2017  09:37:50PM
    [     5.680]  
    [     5.680] Current version of pixman: 0.34.0
    [     5.680] 	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    [     5.680] Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [     5.680] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 28 11:10:49 2017
    [     5.680] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [     5.680] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [     5.680] (==) ServerLayout "Main Layout"
    [     5.680] (**) |-->Screen "Screen0" (0)
    [     5.680] (**) |   |-->Monitor "Monitor0"
    [     5.680] (**) |   |-->Device "Device0"
    [     5.680] (**) Option "DontZap" "false"
    [     5.680] (==) Automatically adding devices
    [     5.680] (==) Automatically enabling devices
    [     5.680] (==) Automatically adding GPU devices
    [     5.680] (==) Automatically binding GPU devices
    [     5.680] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [     5.680] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [     5.680] 	Entry deleted from font path.
    [     5.680] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [     5.680] 	Entry deleted from font path.
    [     5.680] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [     5.680] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [     5.680] 	Entry deleted from font path.
    [     5.680] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [     5.680] (==) FontPath set to:
    	/usr/share/fonts/misc/,
    	/usr/share/fonts/TTF/,
    	/usr/share/fonts/OTF/
    [     5.680] (==) ModulePath set to "/usr/lib/xorg/modules"
    [     5.680] (II) The server relies on udev to provide the list of input devices.
    	If no devices become available, reconfigure udev or disable AutoAddDevices.
    [     5.680] (II) Loader magic: 0x55cf44badd40
    [     5.680] (II) Module ABI versions:
    [     5.680] 	X.Org ANSI C Emulation: 0.4
    [     5.680] 	X.Org Video Driver: 23.0
    [     5.680] 	X.Org XInput driver : 24.1
    [     5.680] 	X.Org Server Extension : 10.0
    [     5.681] (++) using VT number 1
    
    [     5.681] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [     5.681] (II) xfree86: Adding drm device (/dev/dri/card0)
    [     5.697] (--) PCI:*(0:0:2:0) 8086:5926:1028:075b rev 6, Mem @ 0xdb000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
    [     5.697] (--) PCI: (0:6:0:0) 10de:1b80:3842:5182 rev 161, Mem @ 0xc4000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
    [     5.697] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [     5.697] (II) LoadModule: "glx"
    [     5.697] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [     5.698] (II) Module glx: vendor="X.Org Foundation"
    [     5.698] 	compiled for 1.19.3, module version = 1.0.0
    [     5.698] 	ABI class: X.Org Server Extension, version 10.0
    [     5.698] (II) LoadModule: "nvidia"
    [     5.698] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [     5.698] (II) Module nvidia: vendor="NVIDIA Corporation"
    [     5.698] 	compiled for 4.0.2, module version = 1.0.0
    [     5.698] 	Module class: X.Org Video Driver
    [     5.698] (II) NVIDIA dlloader X Driver  384.69  Wed Aug 16 19:07:09 PDT 2017
    [     5.698] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [     5.698] (II) Loading sub module "fb"
    [     5.698] (II) LoadModule: "fb"
    [     5.699] (II) Loading /usr/lib/xorg/modules/libfb.so
    [     5.700] (II) Module fb: vendor="X.Org Foundation"
    [     5.700] 	compiled for 1.19.3, module version = 1.0.0
    [     5.700] 	ABI class: X.Org ANSI C Emulation, version 0.4
    [     5.700] (II) Loading sub module "wfb"
    [     5.700] (II) LoadModule: "wfb"
    [     5.700] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [     5.701] (II) Module wfb: vendor="X.Org Foundation"
    [     5.701] 	compiled for 1.19.3, module version = 1.0.0
    [     5.701] 	ABI class: X.Org ANSI C Emulation, version 0.4
    [     5.701] (II) Loading sub module "ramdac"
    [     5.701] (II) LoadModule: "ramdac"
    [     5.701] (II) Module "ramdac" already built-in
    [     5.795] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [     5.795] (==) NVIDIA(0): RGB weight 888
    [     5.795] (==) NVIDIA(0): Default visual is TrueColor
    [     5.795] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [     5.796] (**) NVIDIA(0): Option "TripleBuffer" "True"
    [     5.796] (**) NVIDIA(0): Option "AllowIndirectGLXProtocol" "Off"
    [     5.796] (**) NVIDIA(0): Option "BaseMosaic" "off"
    [     5.796] (**) NVIDIA(0): Option "MetaModes" "3840x2160 +0+0 { ForceFullCompositionPipeline = On }"
    [     5.796] (**) NVIDIA(0): Option "RegistryDwords" "PerfLevelSrc=0x2222"
    [     5.796] (**) NVIDIA(0): Enabling 2D acceleration
    [     5.796] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
    [     5.796] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
    [     5.796] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
    [     5.796] (EE) NVIDIA(0):     you continue to encounter problems, Please try
    [     5.796] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
    [     7.355] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:6:0:0
    [     7.355] (--) NVIDIA(0):     DFP-0
    [     7.355] (--) NVIDIA(0):     DFP-1 (boot)
    [     7.355] (--) NVIDIA(0):     DFP-2
    [     7.355] (--) NVIDIA(0):     DFP-3
    [     7.355] (--) NVIDIA(0):     DFP-4
    [     7.355] (--) NVIDIA(0):     DFP-5
    [     7.355] (--) NVIDIA(0):     DFP-6
    [     7.355] (--) NVIDIA(0):     DFP-7
    [     7.360] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1080 (GP104-A) at PCI:6:0:0 (GPU-0)
    [     7.360] (--) NVIDIA(0): Memory: 8388608 kBytes
    [     7.360] (--) NVIDIA(0): VideoBIOS: 86.04.17.00.80
    [     7.360] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [     7.360] (--) NVIDIA(GPU-0): DFP-0: disconnected
    [     7.360] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
    [     7.360] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
    [     7.360] (--) NVIDIA(GPU-0): 
    [     7.393] (--) NVIDIA(GPU-0): SAMSUNG (DFP-1): connected
    [     7.393] (--) NVIDIA(GPU-0): SAMSUNG (DFP-1): Internal TMDS
    [     7.393] (--) NVIDIA(GPU-0): SAMSUNG (DFP-1): 600.0 MHz maximum pixel clock
    [     7.393] (--) NVIDIA(GPU-0): 
    [     7.393] (--) NVIDIA(GPU-0): DFP-2: disconnected
    [     7.393] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
    [     7.393] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
    [     7.393] (--) NVIDIA(GPU-0): 
    [     7.393] (--) NVIDIA(GPU-0): DFP-3: disconnected
    [     7.393] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
    [     7.393] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
    [     7.393] (--) NVIDIA(GPU-0): 
    [     7.393] (--) NVIDIA(GPU-0): DFP-4: disconnected
    [     7.393] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
    [     7.393] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
    [     7.393] (--) NVIDIA(GPU-0): 
    [     7.393] (--) NVIDIA(GPU-0): DFP-5: disconnected
    [     7.393] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
    [     7.393] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
    [     7.393] (--) NVIDIA(GPU-0): 
    [     7.393] (--) NVIDIA(GPU-0): DFP-6: disconnected
    [     7.393] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
    [     7.393] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
    [     7.393] (--) NVIDIA(GPU-0): 
    [     7.394] (--) NVIDIA(GPU-0): DFP-7: disconnected
    [     7.394] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
    [     7.394] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
    [     7.394] (--) NVIDIA(GPU-0): 
    [     7.416] (II) NVIDIA(0): Validated MetaModes:
    [     7.416] (II) NVIDIA(0):     "3840x2160+0+0{ForceFullCompositionPipeline=On}"
    [     7.416] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 2160
    [     7.446] (--) NVIDIA(0): DPI set to (109, 109); computed from "UseEdidDpi" X config
    [     7.446] (--) NVIDIA(0):     option
    [     7.446] (--) Depth 24 pixmap format is 32 bpp
    [     7.449] (II) NVIDIA: Using 49152.00 MB of virtual memory for indirect memory
    [     7.449] (II) NVIDIA:     access.
    [     7.460] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [     7.460] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
    [     7.460] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
    [     7.460] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
    [     7.460] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
    [     7.460] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
    [     7.460] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
    [     7.460] (II) NVIDIA(0):     Config Options in the README.
    [     7.492] (II) NVIDIA(0): Setting mode "3840x2160+0+0{ForceFullCompositionPipeline=On}"
    [     7.559] (==) NVIDIA(0): Disabling shared memory pixmaps
    [     7.559] (==) NVIDIA(0): Backing store enabled
    [     7.559] (==) NVIDIA(0): Silken mouse enabled
    [     7.560] (**) NVIDIA(0): DPMS enabled
    [     7.560] (II) Loading sub module "dri2"
    [     7.560] (II) LoadModule: "dri2"
    [     7.560] (II) Module "dri2" already built-in
    [     7.560] (II) NVIDIA(0): [DRI2] Setup complete
    [     7.560] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
    [     7.669] (--) RandR disabled
    [     7.671] (II) AIGLX: Screen 0 is not DRI2 capable
    [     7.671] (EE) AIGLX: reverting to software rendering
    [     7.794] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
    [     7.796] (II) IGLX: Loaded and initialized swrast
    [     7.796] (II) GLX: Initialized DRISWRAST GL provider for screen 0
    [     7.827] (II) config/udev: Adding input device Power Button (/dev/input/event7)
    [     7.827] (**) Power Button: Applying InputClass "libinput keyboard catchall"
    [     7.827] (**) Power Button: Applying InputClass "system-keyboard"
    [     7.827] (**) Power Button: Applying InputClass "Keyboard Defaults"
    [     7.827] (II) LoadModule: "libinput"
    

    It appears that the GLX extensions are not loading on first boot and are failing with the message:

    [ 5.796] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
    [ 5.796] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
    [ 5.796] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
    [ 5.796] (EE) NVIDIA(0): you continue to encounter problems, Please try
    [ 5.796] (EE) NVIDIA(0): reinstalling the NVIDIA driver.

    Up until today’s kernel/gfx driver update, logging out and back in was a valid workaround. Today a new kernel version and Nvidia driver no longer load the GLX extensions properly even after logout / login.

    Currently running Kernel and Nvidia driver versions which is working with the logout/login workaround:
    linux-4.12.13-1
    nvidia-384.69-2

    Failing to load GLX extensions with Kernel and Nvidia driver versions even with workaround:
    linux-4.13.3-1
    nvidia-384.90-1

    Any help to get the system to consistently load the Nvidia GLX extensions properly at all times or at the very least get the workaround operating on current kernel/gfx drivers would be MUCH appreciated!

  • I just realized I opened this in the wrong section. Can someone move this to the “Kernel and Hardware” section instead of “Multimedia and Gaming” please? :)

  • @XipherZero said in Nvidia Driver Installed and Working Sometimes ...:

    “Multimedia and Gaming”

    done!

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • @XipherZero said in Nvidia Driver Installed and Working Sometimes ...:

    Gallium LLVMPIPE

    Do you have both drivers installed then? nvidia + nouveau ???
    Or simple get only software rendering with the nvidia driver sometimes?

    I do not fully get what your problem is here…

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • @XipherZero said in Nvidia Driver Installed and Working Sometimes ...:

    xorg.0.log

    I would try to blacklist nouveau on bootup may something causing a confusion…

    modprobe.blacklist=nouveau nvidia
    

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • The only video drivers installed on the system are:

    xf86-video-intel
    xf86-video-vesa
    nvidia-384.69-2
    

    Nouveau was removed when I installed the system 6 months ago. Basically the issue is that on boot the system fails to load the Nvidia GLX renderer.

    (EE) NVIDIA(0): Failed to initialize the GLX module)
    

    but a logout and login of the DE (Reset of X11) loads it correctly and I have full access to the Nvidia card.

    This has been true for the last several kernel / nvidia driver versions, but on the latest kernel / nvidia driver release the GLX module is unable to be loaded at all and the workaround of logging out and back in (X11 reset) no longer gets it to load anymore. The system is falling back to the Gallium llvmpipe software renderer which has horrible performance.

    As a side note this is one of the strangest issues I’ve ever ran into… :/

    I am adding the blacklist of the nouveau driver to my kernel line in grub, but wont be able to reboot until tomorrow when some software finishes building overnight. (Must reboot to test).

  • what gives you: lspci -vnn | grep '\''[030[02]]'

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • [[email protected] ~]$ lspci -vnn | grep '\''[030[02]]'
    00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5926] (rev 06) (prog-if 00 [VGA controller])
    06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1) (prog-if 00 [VGA controller])
    

    The onboard Intel GPU (PCI 00:02.0) and the external GTX 1080 (PCI 06:00.0)

  • i was wondering if this acts like a bumblebee/optimus combination then…

    [updates once a week] = [90% less problems]
    http://gofccyourself.com
    my-blog#k
    how to add system logs
    i3 GNOME

  • I may try using prime-select (Would need to install), and see if treating this like a hybrid setup addresses the issue. Definitely something to think about!

  • Unfortunately, my attempts to use prime-select faired about as well as all my other attempts to resolve this issue. I am back to square 1, with a semi functional setup which requires reset of X11 after initial boot to get Nvidia GLX rendering to load properly.

    I have locked the kernel and nvidia driver version to working versions and am unable to upgrade to latest stable at this time. Thanks for the help so far. Any other ideas would be greatly appreciated.

sometimes4 nvidia112 driver43 Posts 11Views 522
Log in to reply