LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) (https://www.linuxquestions.org/questions/slackware-14/x-loading-extension-glx-no-screens-found-fatal-server-error-w-nvidia-driver-4175529299/)

Geremia 12-26-2014 08:41 PM

X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver)
 
After installing the recent Nvidia drivers (described in this docs.slackware.com tutorial), I get the following issues:

Xorg.0.log:
Code:

[  677.886]
X.Org X Server 1.15.2
Release Date: 2014-06-27
[  677.890] X Protocol Version 11, Revision 0
[  677.891] Build Operating System: Slackware 14.2 Slackware Linux Project
[  677.892] Current Operating System: Linux steve 3.14.27 #2 SMP Sun Dec 21 13:28:11 CST 2014 x86_64
[  677.892] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-huge-3.14.27 root=/dev/sda1 ro
[  677.895] Build Date: 17 December 2014  10:31:28PM
[  677.896] 
[  677.897] Current version of pixman: 0.32.6
[  677.899]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  677.899] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  677.904] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 26 19:31:14 2014
[  677.905] (==) Using config file: "/etc/X11/xorg.conf"
[  677.906] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  677.907] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  677.908] (==) ServerLayout "X.org Configured"
[  677.908] (**) |-->Screen "Screen0" (0)
[  677.908] (**) |  |-->Monitor "Monitor0"
[  677.908] (**) |  |-->Device "Card0"
[  677.908] (**) |-->Input Device "Mouse0"
[  677.908] (**) |-->Input Device "Keyboard0"
[  677.908] (==) Automatically adding devices
[  677.908] (==) Automatically enabling devices
[  677.908] (==) Automatically adding GPU devices
[  677.908] (WW) The directory "/usr/share/fonts/local" does not exist.
[  677.908]        Entry deleted from font path.
[  677.908] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  677.908]        Entry deleted from font path.
[  677.908] (WW) The directory "/usr/share/fonts/local" does not exist.
[  677.908]        Entry deleted from font path.
[  677.908] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  677.908]        Entry deleted from font path.
[  677.908] (**) FontPath set to:
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/misc,
        /usr/share/fonts/75dpi/:unscaled,
        /usr/share/fonts/100dpi/:unscaled,
        /usr/share/fonts/75dpi,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/cyrillic,
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/misc,
        /usr/share/fonts/75dpi/:unscaled,
        /usr/share/fonts/100dpi/:unscaled,
        /usr/share/fonts/75dpi,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/cyrillic
[  677.908] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  677.908] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  677.908] (WW) Disabling Mouse0
[  677.908] (WW) Disabling Keyboard0
[  677.908] (II) Loader magic: 0x801700
[  677.908] (II) Module ABI versions:
[  677.908]        X.Org ANSI C Emulation: 0.4
[  677.908]        X.Org Video Driver: 15.0
[  677.908]        X.Org XInput driver : 20.0
[  677.908]        X.Org Server Extension : 8.0
[  677.908] (II) xfree86: Adding drm device (/dev/dri/card1)
[  677.908] (II) xfree86: Adding drm device (/dev/dri/card0)
[  677.910] (--) PCI:*(0:0:2:0) 8086:0166:1462:10d8 rev 9, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[  677.910] (--) PCI: (0:1:0:0) 10de:0fd4:1462:10d8 rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  677.910] (II) Open ACPI successful (/var/run/acpid.socket)
[  677.911] Initializing built-in extension Generic Event Extension
[  677.912] Initializing built-in extension SHAPE
[  677.913] Initializing built-in extension MIT-SHM
[  677.914] Initializing built-in extension XInputExtension
[  677.915] Initializing built-in extension XTEST
[  677.916] Initializing built-in extension BIG-REQUESTS
[  677.917] Initializing built-in extension SYNC
[  677.918] Initializing built-in extension XKEYBOARD
[  677.919] Initializing built-in extension XC-MISC
[  677.920] Initializing built-in extension XINERAMA
[  677.921] Initializing built-in extension XFIXES
[  677.922] Initializing built-in extension RENDER
[  677.923] Initializing built-in extension RANDR
[  677.924] Initializing built-in extension COMPOSITE
[  677.925] Initializing built-in extension DAMAGE
[  677.926] Initializing built-in extension MIT-SCREEN-SAVER
[  677.927] Initializing built-in extension DOUBLE-BUFFER
[  677.928] Initializing built-in extension RECORD
[  677.929] Initializing built-in extension DPMS
[  677.930] Initializing built-in extension Present
[  677.931] Initializing built-in extension DRI3
[  677.932] Initializing built-in extension X-Resource
[  677.933] Initializing built-in extension XVideo
[  677.934] Initializing built-in extension XVideo-MotionCompensation
[  677.935] Initializing built-in extension XFree86-VidModeExtension
[  677.936] Initializing built-in extension XFree86-DGA
[  677.937] Initializing built-in extension XFree86-DRI
[  677.938] Initializing built-in extension DRI2
[  677.938] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  677.938] (II) LoadModule: "glx"
[  677.938] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  677.941] (II) Module glx: vendor="NVIDIA Corporation"
[  677.941]        compiled for 4.0.2, module version = 1.0.0
[  677.941]        Module class: X.Org Server Extension
[  677.941] (II) NVIDIA GLX Module  343.36  Mon Dec  1 15:50:02 PST 2014
[  677.942] Loading extension GLX
[  677.942] (II) LoadModule: "nvidia"
[  677.942] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  677.942] (II) Module nvidia: vendor="NVIDIA Corporation"
[  677.942]        compiled for 4.0.2, module version = 1.0.0
[  677.942]        Module class: X.Org Video Driver
[  677.942] (II) NVIDIA dlloader X Driver  343.36  Mon Dec  1 15:28:39 PST 2014
[  677.942] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  677.942] (--) using VT number 7

[  677.948] (EE) No devices detected.
[  677.948] (EE)
Fatal server error:
[  677.948] (EE) no screens found(EE)
[  677.948] (EE)
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[  677.948] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  677.948] (EE)

xorg.conf
Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 343.36  (buildmeister@swio-display-x86-rhel47-09)  Mon Dec  1 16:47:14 PST 2014


Section "ServerLayout"
    Identifier    "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/CID"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
    Load          "glx"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "InputDevice"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "SWcursor" "yes"                  # [<bool>]
        #Option    "kmsdev"                    # <str>
        #Option    "ShadowFB" "yes"                  # [<bool>]
 #  Option          "IgnoreEDID"        "1"
    Identifier    "Card0"
    Driver        "nvidia"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection    "Display"
        Viewport    0 0
        Depth      1
    EndSubSection
    SubSection    "Display"
        Viewport    0 0
        Depth      4
    EndSubSection
    SubSection    "Display"
        Viewport    0 0
        Depth      8
    EndSubSection
    SubSection    "Display"
        Viewport    0 0
        Depth      15
    EndSubSection
    SubSection    "Display"
        Viewport    0 0
        Depth      16
    EndSubSection
    SubSection    "Display"
        Viewport    0 0
        Depth      24
    EndSubSection
EndSection

Why does X give these "loading extension glx" "no screens found" "fatal server error" errors?

Using the original xorg.conf files and changing the driver to "nvidia", startx loads, but the screen is blank, showing just an underscore ("_"). KDE etc. loads, but it seems it's displaying it on the wrong screen or something.

willysr 12-26-2014 09:20 PM

Have you reinstalled nvidia driver after upgrading to the latest xorg update?

Geremia 12-27-2014 12:41 PM

Quote:

Originally Posted by willysr (Post 5290924)
Have you reinstalled nvidia driver after upgrading to the latest xorg update?

yes

Here's what I wrote recently on another thread:
Quote:

Originally Posted by Geremia (Post 5291164)
I've since discovered that I'm using an Optimus laptop, which apparently changes things considerably. I've installed Bumblebee with Ryan McQuen's crazybee.sh script, described here, and I'm actually able to startx successfully now (because Bumblebee uses the on-board Intel graphics by default), but when I invoke optirun to run a program with the Nvidia card, I get:
Code:

[ERROR]Cannot access secondary GPU
Failed to initialize the NVIDIA kernel module

The "Turbo" light on the laptop, which indicates if the Nvidia card is on, turns on when I invoke optirun, which is good.

I've tried the solutions to this "Cannot access secondary GPU" problem on ArchWiki, but to no avail…

Also, my trackpad freezes upon logging into KDE, so I'm thinking this might involve an issue in xorg.conf.

I'm running slackware64-current with the 3.14.27 kernel.

There's a thread about the "failed to initialize kernel module" part of this issue here, but it's old, from 2004.


Geremia 12-27-2014 04:51 PM

[ERROR]Cannot access secondary GPU…Failed to initialize the NVIDIA kernel module
 
I've installed Bumblebee with Ryan McQuen's crazybee.sh script, described here, and I'm actually able to startx successfully now (because Bumblebee uses the on-board Intel graphics by default), but when I invoke optirun to run a program with the Nvidia card, I get:
Code:

[ERROR]Cannot access secondary GPU
Failed to initialize the NVIDIA kernel module

The "Turbo" light on the laptop, which indicates if the Nvidia card is on, turns on when I invoke optirun, which is good.

I've tried the solutions to this "Cannot access secondary GPU" problem on ArchWiki, but to no avail…

Also, my trackpad freezes upon logging into KDE, so I'm thinking this might involve an issue in xorg.conf.

I'm running slackware64-current with the 3.14.27 kernel.

There's a thread about the "failed to initialize kernel module" part of this issue here, but it's old, from 2004.

thanks

j_v 12-28-2014 11:16 AM

@Geremia: It looks to me that the other thread you started is a continuation of this one. If that is the case, then perhaps the title of this one can be altered to reflect it and the other thread absorbed by this one? I don't intend to be critical. My thought is that, if my deduction is correct, maintaining only one thread would be more conducive for a solution.

Geremia 12-28-2014 04:02 PM

Quote:

Originally Posted by j_v (Post 5291568)
@Geremia: It looks to me that the other thread you started is a continuation of this one. If that is the case, then perhaps the title of this one can be altered to reflect it and the other thread absorbed by this one? I don't intend to be critical. My thought is that, if my deduction is correct, maintaining only one thread would be more conducive for a solution.

Yes, please continue it there, not here.

Geremia 12-28-2014 08:19 PM

The issue was that the nvidia-kernel package of Bumblebee did not install, due to my lacking libvdpau.

ryanpcmcquen 12-29-2014 11:00 AM

Quote:

Originally Posted by Geremia (Post 5291760)
The issue was that the nvidia-kernel package of Bumblebee did not install, due to my lacking libvdpau.

@Geremia, can you mark this as solved?


All times are GMT -5. The time now is 03:56 PM.