Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dual-GPU laptop, xorg.conf settings [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Mon Oct 16, 2017 1:52 pm    Post subject: dual-GPU laptop, xorg.conf settings [SOLVED] Reply with quote

Hi Forum,

I have a 2-year-old laptop that uses an integrated Intel GPU and has an nVidia GeForce 940M dedicated GPU. My xorg.conf was just auto-configured using 'X -configure' and reads:

Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
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 "Monitor"
        Identifier   "Monitor1"
        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     "Accel"                     # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "CustomEDID"                # <str>
        #Option     "DRI"                       # <str>
        #Option     "Present"                   # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
       #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "HWRotation"                # [<bool>]
        #Option     "VSync"                     # [<bool>]
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "ReprobeOutputs"            # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "VirtualHeads"              # <i>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "nvidia"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        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

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        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




/etc/X11/xorg.conf.d/ contains the files 11-inputs.conf, 20opengl.conf, 20-opengl.conf, and 22-keyboard.conf. Both the opengl files have the same content:

Code:
Section "Files"
        ModulePath "/usr/lib64/opengl/nvidia"
        ModulePath "/usr/lib64/xorg/modules"
EndSection


When I start Enlightenment, I get an error about how no openGL-comaptible compositor was found. Apps that depend on GLX extensions (such as, apparently, MuPDF) fail to start, with an error about missing GLX extensions. glxgears also does not run (the error there is "couldn't get an RGB, double-buffered visual").

I assume that the tools I need to get GLX working in the nVidia Optimus wiki (here) should help (and I did use them to add some material to 20-opengl.conf), but I still get the errors about missing compositors, and opengl-dependent applications fail.

Is there something misconfigured here?

Cheers,

EE


Last edited by ExecutorElassus on Wed Oct 18, 2017 3:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 156

PostPosted: Tue Oct 17, 2017 9:13 pm    Post subject: Reply with quote

That xorg.conf is not anywhere useable.
See this how to configure PRIME output:
http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html
https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Display_Managers

In short, use a xorg.conf like this:
Code:

    Section "ServerLayout"
        Identifier     "layout"
        Screen      0  "nvidia" 0 0
        Inactive       "intel"
    EndSection

    Section "Monitor"
        Identifier     "Monitor0"
        Option         "enable" "true"
        Modeline "1280x720_60.00"  74.48  1280 1336 1472 1664  720 721 724 746  -HSync +Vsync
    EndSection

    Section "Device"
        Identifier     "intel"
        Driver         "modesetting"
        Option         "AccelMethod" "none"
        BusID          "PCI:0:2:0"
    EndSection

    Section "Device"
        Identifier     "nvidia"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BusID          "PCI:1:0:0"
        Option         "AllowEmptyInitialConfiguration"
    EndSection

    Section "Screen"
        Identifier     "nvidia"
        Device         "nvidia"
        Monitor        "Monitor0"
        SubSection     "Display"
            Virtual     1920 1080
        EndSubSection
    EndSection


and set your DE to run this on startup:
Code:

    xrandr --setprovideroutputsource modesetting NVIDIA-0
    xrandr --auto


Once this works, you'll notice tearing, to get rid of that, use kernel parameter
Code:

nvidia-drm.modeset=1
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Oct 18, 2017 2:15 pm    Post subject: Reply with quote

hi hhfeuer,

thanks for the advice. Now, when I try to boot, I get the following error:

Code:
[   174.347] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170403
[   174.348] (WW) Falling back to old probe method for modesetting
[   174.348] (EE) Screen 0 deleted because of no matching config section.
[   174.348] (II) UnloadModule: "nvidia"
[   174.348] (II) UnloadSubModule: "wfb"
[   174.348] (II) UnloadSubModule: "fb"
[   174.348] (EE) Device(s) detected, but none match those in the config file.
[   174.348] (EE)
Fatal server error:
[   174.348] (EE) no screens found(EE)
[   174.348] (EE)


So the xorg.conf file is missing some config information. Can you help me fill it in?

Cheers,

EE
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 156

PostPosted: Wed Oct 18, 2017 2:22 pm    Post subject: Reply with quote

Please post the full Xorg.0.log
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Oct 18, 2017 2:29 pm    Post subject: Reply with quote

here it is:

Code:
[   840.194]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[   840.194] X Protocol Version 11, Revision 0
[   840.194] Build Operating System: Linux 4.11.3-gentoo x86_64 Gentoo
[   840.194] Current Operating System: Linux choriac 4.12.5-gentoo #2 SMP Mon Oct 16 15:06:25 CEST 2017 x86_64
[   840.194] Kernel command line: BOOT_IMAGE=/vmlinuz-4.12.5-gentoo root=/dev/sdb4 ro i915.enable_psr=0,nvidia-drm.modeset=1
[   840.194] Build Date: 07 June 2017  08:52:05AM
[   840.194] 
[   840.194] Current version of pixman: 0.34.0
[   840.194]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   840.194] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   840.194] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 18 16:14:52 2017
[   840.194] (==) Using config file: "/etc/X11/xorg.conf"
[   840.194] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   840.194] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   840.195] (==) ServerLayout "layout"
[   840.195] (**) |-->Screen "nvidia" (0)
[   840.195] (**) |   |-->Monitor "Monitor0"
[   840.195] (**) |   |-->Device "nvidia"
[   840.195] (**) |   |-->GPUDevice "nvidia"
[   840.195] (**) |   |-->GPUDevice "Card0"
[   840.195] (**) |   |-->GPUDevice "intel"
[   840.195] (**) |   |-->GPUDevice "nvidia"
[   840.195] (**) |-->Inactive Device "intel"
[   840.195] (==) Automatically adding devices
[   840.195] (==) Automatically enabling devices
[   840.195] (==) Automatically adding GPU devices
[   840.195] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   840.195] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   840.195]    Entry deleted from font path.
[   840.195] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   840.195]    Entry deleted from font path.
[   840.195] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   840.195]    Entry deleted from font path.
[   840.195] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   840.195]    Entry deleted from font path.
[   840.195]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   840.195] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   840.195]    Entry deleted from font path.
[   840.195]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   840.195] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   840.195]    Entry deleted from font path.
[   840.195] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   840.195]    Entry deleted from font path.
[   840.195] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   840.195]    Entry deleted from font path.
[   840.195] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   840.195]    Entry deleted from font path.
[   840.195]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   840.195] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   840.195]    Entry deleted from font path.
[   840.195]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   840.195] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/misc/
[   840.195] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules"
[   840.195] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   840.195] (II) Loader magic: 0x812cc0
[   840.195] (II) Module ABI versions:
[   840.195]    X.Org ANSI C Emulation: 0.4
[   840.195]    X.Org Video Driver: 23.0
[   840.195]    X.Org XInput driver : 24.1
[   840.195]    X.Org Server Extension : 10.0
[   840.195] (II) xfree86: Adding drm device (/dev/dri/card1)
[   840.195] (II) xfree86: Adding drm device (/dev/dri/card0)
[   840.203] (--) PCI:*(0:0:2:0) 8086:0416:1462:114d rev 6, Mem @ 0xa1400000/4194304, 0xb0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   840.204] (--) PCI: (0:1:0:0) 10de:1347:1462:114d rev 162, Mem @ 0xa0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   840.204] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   840.204] (II) LoadModule: "glx"
[   840.204] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[   840.206] (II) Module glx: vendor="NVIDIA Corporation"
[   840.206]    compiled for 4.0.2, module version = 1.0.0
[   840.206]    Module class: X.Org Server Extension
[   840.206] (II) NVIDIA GLX Module  384.59  Wed Jul 19 23:41:15 PDT 2017
[   840.206] (II) LoadModule: "nvidia"
[   840.206] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   840.206] (II) Module nvidia: vendor="NVIDIA Corporation"
[   840.206]    compiled for 4.0.2, module version = 1.0.0
[   840.207]    Module class: X.Org Video Driver
[   840.207] (II) LoadModule: "intel"
[   840.207] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   840.207] (II) Module intel: vendor="X.Org Foundation"
[   840.207]    compiled for 1.19.3, module version = 2.99.917
[   840.207]    Module class: X.Org Video Driver
[   840.207]    ABI class: X.Org Video Driver, version 23.0
[   840.207] (II) LoadModule: "modesetting"
[   840.207] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   840.207] (II) Module modesetting: vendor="X.Org Foundation"
[   840.207]    compiled for 1.19.3, module version = 1.19.3
[   840.207]    Module class: X.Org Video Driver
[   840.207]    ABI class: X.Org Video Driver, version 23.0
[   840.207] (II) NVIDIA dlloader X Driver  384.59  Wed Jul 19 23:14:49 PDT 2017
[   840.207] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   840.207] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   840.207] (II) intel: Driver for Intel(R) HD Graphics
[   840.207] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   840.207] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   840.207] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   840.207] (++) using VT number 7

[   840.222] (II) Loading sub module "fb"
[   840.222] (II) LoadModule: "fb"
[   840.223] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   840.223] (II) Module fb: vendor="X.Org Foundation"
[   840.223]    compiled for 1.19.3, module version = 1.0.0
[   840.223]    ABI class: X.Org ANSI C Emulation, version 0.4
[   840.223] (II) Loading sub module "wfb"
[   840.223] (II) LoadModule: "wfb"
[   840.223] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   840.223] (II) Module wfb: vendor="X.Org Foundation"
[   840.223]    compiled for 1.19.3, module version = 1.0.0
[   840.223]    ABI class: X.Org ANSI C Emulation, version 0.4
[   840.223] (II) Loading sub module "ramdac"
[   840.223] (II) LoadModule: "ramdac"
[   840.223] (II) Module "ramdac" already built-in
[   840.223] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170403
[   840.223] (WW) Falling back to old probe method for modesetting
[   840.223] (EE) Screen 0 deleted because of no matching config section.
[   840.223] (II) UnloadModule: "nvidia"
[   840.223] (II) UnloadSubModule: "wfb"
[   840.223] (II) UnloadSubModule: "fb"
[   840.223] (EE) Device(s) detected, but none match those in the config file.
[   840.223] (EE)
Fatal server error:
[   840.223] (EE) no screens found(EE)
[   840.223] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   840.223] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   840.223] (EE)
[   840.239] (EE) Server terminated with error (1). Closing log file.


Here is my current xorg.conf:
Code:
Section "ServerLayout"
        Identifier     "layout"
        Screen      0  "nvidia" 0 0
        Inactive       "intel"
EndSection


Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
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"
        Option         "enable" "true"
        Modeline "1920x1080_60.00"  140.00  1920 1968 2000 2102  1080 1083 1088 1110 -hsync +vsync
EndSection


Section "Monitor"
        Identifier   "Monitor1"
        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     "Accel"                     # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "CustomEDID"                # <str>
        #Option     "DRI"                       # <str>
        #Option     "Present"                   # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "HWRotation"                # [<bool>]
        #Option     "VSync"                     # [<bool>]
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "ReprobeOutputs"            # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "VirtualHeads"              # <i>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
        Identifier     "intel"
        Driver         "modesetting"
        Option         "AccelMethod" "none"
        BusID          "PCI:0:2:0"
EndSection

Section "Device"
        Identifier     "nvidia"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BusID          "PCI:1:0:0"
        Option         "AllowEmptyInitialConfiguration"
EndSection


Section "Screen"
        Identifier     "nvidia"
        Device         "nvidia"
        Monitor        "Monitor0"
        SubSection     "Display"
            Virtual     1920 1080
        EndSubSection
EndSection


Section "Screen"
        Identifier "intel"
        Device     "intel"
EndSection


Cheers,

EE
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 156

PostPosted: Wed Oct 18, 2017 2:38 pm    Post subject: Reply with quote

You have several duplicate device sections in your xorg.conf. Use just the config I posted.
See if there are other config files containing device/load module/OutputClass sections in /etc/X11/xorg.conf.d directory.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Oct 18, 2017 2:59 pm    Post subject: Reply with quote

found a duplicate "Device" setting in /etc/X11/xorg.conf.d/22-opengl.conf. Deleted it, and now starting X got a bit further (but still failed). Here's the new Xorg.0.log:

Code:
[  3360.715] (**) Option "xkb_variant" "nodeadkeys"
[  3360.716] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[  3360.716] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  3360.716] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  3360.716] (**) Video Bus: Applying InputClass "Keyboard default"
[  3360.716] (II) Using input driver 'evdev' for 'Video Bus'
[  3360.716] (**) Video Bus: always reports core events
[  3360.716] (**) evdev: Video Bus: Device: "/dev/input/event5"
[  3360.716] (--) evdev: Video Bus: Vendor 0 Product 0x6
[  3360.716] (--) evdev: Video Bus: Found keys
[  3360.716] (II) evdev: Video Bus: Configuring as keyboard
[  3360.716] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input5/event5"
[  3360.716] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[  3360.716] (**) Option "xkb_rules" "evdev"
[  3360.716] (**) Option "xkb_model" "pc105"
[  3360.716] (**) Option "xkb_layout" "de"
[  3360.716] (**) Option "xkb_variant" "nodeadkeys"
[  3360.716] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[  3360.716] (II) No input driver specified, ignoring this device.
[  3360.716] (II) This device may have been added with another device file.
[  3360.716] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  3360.716] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  3360.716] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  3360.716] (**) Power Button: Applying InputClass "Keyboard default"
[  3360.716] (II) Using input driver 'evdev' for 'Power Button'
[  3360.716] (**) Power Button: always reports core events
[  3360.716] (**) evdev: Power Button: Device: "/dev/input/event2"
[  3360.716] (--) evdev: Power Button: Vendor 0 Product 0x1
[  3360.716] (--) evdev: Power Button: Found keys
[  3360.716] (II) evdev: Power Button: Configuring as keyboard
[  3360.716] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[  3360.716] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[  3360.716] (**) Option "xkb_rules" "evdev"
[  3360.716] (**) Option "xkb_model" "pc105"
[  3360.716] (**) Option "xkb_layout" "de"
[  3360.716] (**) Option "xkb_variant" "nodeadkeys"
[  3360.717] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[  3360.717] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  3360.717] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[  3360.717] (**) Sleep Button: Applying InputClass "Keyboard default"
[  3360.717] (II) Using input driver 'evdev' for 'Sleep Button'
[  3360.717] (**) Sleep Button: always reports core events
[  3360.717] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[  3360.717] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  3360.717] (--) evdev: Sleep Button: Found keys
[  3360.717] (II) evdev: Sleep Button: Configuring as keyboard
[  3360.717] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[  3360.717] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[  3360.717] (**) Option "xkb_rules" "evdev"
[  3360.717] (**) Option "xkb_model" "pc105"
[  3360.717] (**) Option "xkb_layout" "de"
[  3360.717] (**) Option "xkb_variant" "nodeadkeys"
[  3360.717] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event11)
[  3360.717] (II) No input driver specified, ignoring this device.
[  3360.717] (II) This device may have been added with another device file.
[  3360.717] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event12)
[  3360.717] (II) No input driver specified, ignoring this device.
[  3360.717] (II) This device may have been added with another device file.
[  3360.717] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event13)
[  3360.717] (II) No input driver specified, ignoring this device.
[  3360.717] (II) This device may have been added with another device file.
[  3360.717] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event14)
[  3360.717] (II) No input driver specified, ignoring this device.
[  3360.717] (II) This device may have been added with another device file.
[  3360.718] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event15)
[  3360.718] (II) No input driver specified, ignoring this device.
[  3360.718] (II) This device may have been added with another device file.
[  3360.718] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[  3360.718] (II) No input driver specified, ignoring this device.
[  3360.718] (II) This device may have been added with another device file.
[  3360.718] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
[  3360.718] (II) No input driver specified, ignoring this device.
[  3360.718] (II) This device may have been added with another device file.
[  3360.718] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event7)
[  3360.718] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  3360.718] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  3360.718] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard default"
[  3360.718] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  3360.718] (**) AT Translated Set 2 keyboard: always reports core events
[  3360.718] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event7"
[  3360.718] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  3360.718] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  3360.718] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  3360.718] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input6/event7"
[  3360.718] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[  3360.718] (**) Option "xkb_rules" "evdev"
[  3360.718] (**) Option "xkb_model" "pc105"
[  3360.718] (**) Option "xkb_layout" "de"
[  3360.718] (**) Option "xkb_variant" "nodeadkeys"
[  3360.718] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
[  3360.718] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[  3360.718] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[  3360.718] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[  3360.718] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[  3360.718] (II) LoadModule: "synaptics"
[  3360.718] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[  3360.719] (II) Module synaptics: vendor="X.Org Foundation"
[  3360.719]    compiled for 1.19.3, module version = 1.9.0
[  3360.719]    Module class: X.Org XInput Driver
[  3360.719]    ABI class: X.Org XInput driver, version 24.1
[  3360.719] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[  3360.719] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  3360.719] (**) Option "Device" "/dev/input/event8"
[  3360.756] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5706 (res 44)
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4800 (res 65)
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[  3360.756] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  3360.756] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  3360.792] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event8"
[  3360.792] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[  3360.792] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[  3360.792] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[  3360.792] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.037
[  3360.792] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  3360.792] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[  3360.792] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  3360.792] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  3360.792] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  3360.792] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  3360.792] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[  3360.792] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[  3360.792] (II) No input driver specified, ignoring this device.
[  3360.792] (II) This device may have been added with another device file.
[  3360.813] (EE) modeset(G0): failed to set mode: No space left on device
[  3361.066] (II) UnloadModule: "synaptics"
[  3361.066] (II) evdev: AT Translated Set 2 keyboard: Close
[  3361.066] (II) UnloadModule: "evdev"
[  3361.066] (II) evdev: Sleep Button: Close
[  3361.066] (II) UnloadModule: "evdev"
[  3361.066] (II) evdev: Power Button: Close
[  3361.066] (II) UnloadModule: "evdev"
[  3361.066] (II) evdev: Video Bus: Close
[  3361.066] (II) UnloadModule: "evdev"
[  3361.066] (II) evdev: Video Bus: Close
[  3361.066] (II) UnloadModule: "evdev"
[  3361.066] (II) evdev: Power Button: Close
[  3361.066] (II) UnloadModule: "evdev"
[  3361.085] (II) NVIDIA(GPU-0): Deleting GPU-0
[  3361.444] (II) Server terminated successfully (0). Closing log file.

"No space left on device"?

All right. Progress! What next?

Thanks,

EE
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 156

PostPosted: Wed Oct 18, 2017 3:02 pm    Post subject: Reply with quote

It's misleading. xorg-server has to be compiled with USE="glamor". Add it, re-emerge, try again.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Oct 18, 2017 3:08 pm    Post subject: Reply with quote

ZOMG

That was the fix. Now X starts, I can run glxears, and I get proper compositing (also I have suddenly grown 5cm, lost 10kg, and my mate of choice finds me at least 22% more romantic and physically appealing).

Thanks for the help. Editing to add [SOLVED].

Man, I wish setting this sort of thing up were easier. Thanks for walking me through it.

Cheers,

EE
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 156

PostPosted: Wed Oct 18, 2017 3:13 pm    Post subject: Reply with quote

Glad to hear.
An important warning:
xorg-server-1.19.4 has a bug leading to frozen display. It's fixed in 1.19.5, which is masked ~amd64. So be careful when updating.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13498

PostPosted: Thu Oct 19, 2017 1:28 am    Post subject: Reply with quote

hhfeuer: for the benefit of other readers, could you provide a citation for the display freeze issue?
Back to top
View user's profile Send private message
R0b0t1
Apprentice
Apprentice


Joined: 05 Jun 2008
Posts: 255

PostPosted: Thu Oct 19, 2017 3:59 am    Post subject: Reply with quote

Hello,

It is recommended to not use xorg.conf on new systems. It should just work if you use Bumblebee and X11.
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 156

PostPosted: Thu Oct 19, 2017 7:02 am    Post subject: Reply with quote

About xorg issue:
https://bugs.freedesktop.org/show_bug.cgi?id=103243

@R0b0t1: PRIME and Bumblebee are different approaches having different kinds of advantages.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum