Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black Screen before Display Manager with Nvidia
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
mogorrail
n00b
n00b


Joined: 20 Jan 2014
Posts: 1

PostPosted: Mon Jan 20, 2014 7:16 am    Post subject: Black Screen before Display Manager with Nvidia Reply with quote

Hello,

I have a laptop with an Nvidia 780m, and I am trying to enable the video card in Gentoo. Currently, without an xorg.conf, it works fine with the expected limitations (HDMI ports connected to video card don't work, etc, as expected). When I added my xorg.conf, I started to get a black screen. I am able to run startx manually with success, though, if I switch to a terminal using Ctrl + Alt + <Fnkey>, and load to my XFCE desktop; the video card seems to work when I do this (xrandr outputs information about video card exclusive ports, whereas previously it would not). I suspect there is an issue notifying the display manager (currently using slim, although I emerged LightDM and it does not work either). Here are my logs and setups:

Xorg.conf
Quote:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "nvidia"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Inactive "intel"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection


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

Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
#Option "UseDisplayDevice" "none" #"DFP"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
#BusID "PCI:0:2:0"
EndSection

#Section "Extensions"
# Option "Composite" "Enable"
#EndSection


.xinitrc:

Quote:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --LVDS-0 --off
xrandr --auto
exec startxfce4


slim.conf:

Quote:
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp -br -deferglyphs 16 vt07

# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend

# Full path to the xauth binary
xauth_path /usr/bin/xauth

# Xauth file for server
authfile /var/run/slim.auth


# Activate numlock when slim starts. Valid values: on|off
numlock on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
# login_cmd exec /bin/bash -login ~/.xinitrc %session
login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
daemon yes

# Available sessions:
# The current chosen session name replaces %session in the login_cmd
# above, so your login command can handle different sessions.
# If no session is chosen (via F1), %session will be an empty string.
# see the xinitrc.sample file shipped with slim sources
#sessions xfce4,icewm-session,wmaker,blackbox
# Alternatively, read available sessions from a directory of scripts:
#sessiondir /etc/X11/Sessions
# Or, read available sessions from the xsessions desktop files --
# note that this may provide a full path to the session executable!
sessiondir /usr/share/xsessions

# Executed when pressing F11 (requires media-gfx/imagemagick for import)
# Alternative is media-gfx/scrot. See Gentoo bug 252241 for more info.
screenshot_cmd import -window root /slim.png
#screenshot_cmd scrot /root/slim.png

# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg Session:

# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no


# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme slim-gentoo-simple

# Lock file, /etc/init.d/xdm expects slim.pid
lockfile /run/slim.pid

# Log file
logfile /var/log/slim.log



xorg log:

Quote:
[ 17.553]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 17.553] X Protocol Version 11, Revision 0
[ 17.553] Build Operating System: Linux 3.10.7-gentoo-r1 x86_64 Gentoo
[ 17.553] Current Operating System: Linux localhost 3.10.25-gentoo #2 SMP Mon Jan 20 01:25:57 EST 2014 x86_64
[ 17.553] Kernel command line: root=/dev/sda1 ro rootfstype=ext4 raid=noautodetect
[ 17.553] Build Date: 12 October 2013 04:01:54PM
[ 17.553]
[ 17.553] Current version of pixman: 0.32.4
[ 17.553] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 17.553] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 17.553] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 20 01:51:16 2014
[ 17.583] (==) Using config file: "/etc/X11/xorg.conf"
[ 17.583] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 17.618] (==) ServerLayout "Layout0"
[ 17.618] (**) |-->Screen "nvidia" (0)
[ 17.618] (**) | |-->Monitor "<default monitor>"
[ 17.618] (**) | |-->Device "nvidia"
[ 17.618] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[ 17.618] (**) |-->Inactive Device "intel"
[ 17.618] (**) |-->Input Device "Keyboard0"
[ 17.618] (**) |-->Input Device "Mouse0"
[ 17.618] (==) Automatically adding devices
[ 17.618] (==) Automatically enabling devices
[ 17.618] (==) Automatically adding GPU devices
[ 17.641] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 17.641] Entry deleted from font path.
[ 17.641] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 17.641] Entry deleted from font path.
[ 17.641] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 17.641] Entry deleted from font path.
[ 17.641] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 17.641] Entry deleted from font path.
[ 17.641] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 17.641] Entry deleted from font path.
[ 17.641] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 17.641] Entry deleted from font path.
[ 17.641] (==) FontPath set to:

[ 17.641] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 17.641] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 17.641] (WW) Disabling Keyboard0
[ 17.641] (WW) Disabling Mouse0
[ 17.641] (II) Loader magic: 0x7fbbe0
[ 17.641] (II) Module ABI versions:
[ 17.641] X.Org ANSI C Emulation: 0.4
[ 17.641] X.Org Video Driver: 14.1
[ 17.641] X.Org XInput driver : 19.1
[ 17.641] X.Org Server Extension : 7.0
[ 17.641] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 17.641] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 17.643] (--) PCI:*(0:0:2:0) 8086:0416:1462:10ea rev 6, Mem @ 0xf7400000/4194304, 0xb0000000/268435456, I/O @ 0x0000f000/64
[ 17.643] (--) PCI: (0:1:0:0) 10de:119f:1462:10ea rev 161, Mem @ 0xf6000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 17.643] Initializing built-in extension Generic Event Extension
[ 17.643] Initializing built-in extension SHAPE
[ 17.643] Initializing built-in extension MIT-SHM
[ 17.643] Initializing built-in extension XInputExtension
[ 17.643] Initializing built-in extension XTEST
[ 17.643] Initializing built-in extension BIG-REQUESTS
[ 17.643] Initializing built-in extension SYNC
[ 17.643] Initializing built-in extension XKEYBOARD
[ 17.643] Initializing built-in extension XC-MISC
[ 17.643] Initializing built-in extension XINERAMA
[ 17.643] Initializing built-in extension XFIXES
[ 17.643] Initializing built-in extension RENDER
[ 17.643] Initializing built-in extension RANDR
[ 17.643] Initializing built-in extension COMPOSITE
[ 17.643] Initializing built-in extension DAMAGE
[ 17.643] Initializing built-in extension MIT-SCREEN-SAVER
[ 17.643] Initializing built-in extension DOUBLE-BUFFER
[ 17.643] Initializing built-in extension RECORD
[ 17.643] Initializing built-in extension DPMS
[ 17.643] Initializing built-in extension X-Resource
[ 17.643] Initializing built-in extension XVideo
[ 17.643] Initializing built-in extension XVideo-MotionCompensation
[ 17.643] Initializing built-in extension XFree86-VidModeExtension
[ 17.643] Initializing built-in extension XFree86-DGA
[ 17.643] Initializing built-in extension XFree86-DRI
[ 17.643] Initializing built-in extension DRI2
[ 17.643] (II) LoadModule: "glx"
[ 17.714] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 17.992] (II) Module glx: vendor="NVIDIA Corporation"
[ 17.992] compiled for 4.0.2, module version = 1.0.0
[ 17.992] Module class: X.Org Server Extension
[ 17.992] (II) NVIDIA GLX Module 331.38 Wed Jan 8 19:10:17 PST 2014
[ 18.007] Loading extension GLX
[ 18.007] (II) LoadModule: "nvidia"
[ 18.007] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 18.107] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 18.107] compiled for 4.0.2, module version = 1.0.0
[ 18.107] Module class: X.Org Video Driver
[ 18.118] (II) LoadModule: "modesetting"
[ 18.118] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 18.125] (II) Module modesetting: vendor="X.Org Foundation"
[ 18.125] compiled for 1.14.3, module version = 0.8.1
[ 18.125] Module class: X.Org Video Driver
[ 18.125] ABI class: X.Org Video Driver, version 14.1
[ 18.125] (II) NVIDIA dlloader X Driver 331.38 Wed Jan 8 18:51:00 PST 2014
[ 18.125] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 18.141] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 18.141] (++) using VT number 7

[ 18.145] (II) Loading sub module "fb"
[ 18.145] (II) LoadModule: "fb"
[ 18.145] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 18.193] (II) Module fb: vendor="X.Org Foundation"
[ 18.193] compiled for 1.14.3, module version = 1.0.0
[ 18.193] ABI class: X.Org ANSI C Emulation, version 0.4
[ 18.193] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 18.193] (II) Loading sub module "wfb"
[ 18.193] (II) LoadModule: "wfb"
[ 18.193] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 18.200] (II) Module wfb: vendor="X.Org Foundation"
[ 18.200] compiled for 1.14.3, module version = 1.0.0
[ 18.200] ABI class: X.Org ANSI C Emulation, version 0.4
[ 18.200] (II) Loading sub module "ramdac"
[ 18.200] (II) LoadModule: "ramdac"
[ 18.200] (II) Module "ramdac" already built-in
[ 18.202] (II) modesetting(1): using drv /dev/dri/card0
[ 18.202] (II) modesetting(G0): using drv /dev/dri/card0
[ 18.202] (EE) Screen 1 deleted because of no matching config section.
[ 18.202] (II) UnloadModule: "modesetting"
[ 18.202] (II) NVIDIA(0): Creating default Display subsection in Screen section
"nvidia" for depth/fbbpp 24/32
[ 18.202] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 18.202] (==) NVIDIA(0): RGB weight 888
[ 18.202] (==) NVIDIA(0): Default visual is TrueColor
[ 18.202] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 18.202] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 18.202] (**) NVIDIA(0): Enabling 2D acceleration
[ 18.446] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 18.447] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 780M (GK104) at PCI:1:0:0 (GPU-0)
[ 18.447] (--) NVIDIA(0): Memory: 4194304 kBytes
[ 18.447] (--) NVIDIA(0): VideoBIOS: 80.04.97.00.04
[ 18.447] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 18.451] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 780M at PCI:1:0:0
[ 18.451] (--) NVIDIA(0): DFP-0
[ 18.451] (--) NVIDIA(0): DFP-1
[ 18.451] (--) NVIDIA(0): DFP-2
[ 18.451] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 18.451] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 18.451] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[ 18.451] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[ 18.451] (--) NVIDIA(0): DFP-2: Internal DisplayPort
[ 18.451] (--) NVIDIA(0): DFP-2: 960.0 MHz maximum pixel clock
[ 18.451] (==) NVIDIA(0):
[ 18.451] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 18.451] (==) NVIDIA(0): will be used as the requested mode.
[ 18.451] (==) NVIDIA(0):
[ 18.451] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[ 18.451] (--) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 18.451] (II) NVIDIA(0): Validated MetaModes:
[ 18.451] (II) NVIDIA(0): "NULL"
[ 18.451] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 18.453] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 18.453] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 18.453] (==) modesetting(G0): Depth 24, (==) framebuffer bpp 32
[ 18.453] (==) modesetting(G0): RGB weight 888
[ 18.453] (==) modesetting(G0): Default visual is TrueColor
[ 18.453] (II) modesetting(G0): ShadowFB: preferred YES, enabled YES
[ 18.454] (II) modesetting(G0): Output eDP-1-0 has no monitor section
[ 18.455] (II) modesetting(G0): Output VGA-1-0 has no monitor section
[ 18.455] (II) modesetting(G0): EDID for output eDP-1-0
[ 18.455] (II) modesetting(G0): Manufacturer: CMO Model: 1720 Serial#: 0
[ 18.455] (II) modesetting(G0): Year: 2011 Week: 2
[ 18.455] (II) modesetting(G0): EDID Version: 1.3
[ 18.455] (II) modesetting(G0): Digital Display Input
[ 18.455] (II) modesetting(G0): Max Image Size [cm]: horiz.: 38 vert.: 21
[ 18.455] (II) modesetting(G0): Gamma: 2.20
[ 18.455] (II) modesetting(G0): No DPMS capabilities specified
[ 18.455] (II) modesetting(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 18.455] (II) modesetting(G0): First detailed timing is preferred mode
[ 18.455] (II) modesetting(G0): redX: 0.640 redY: 0.333 greenX: 0.303 greenY: 0.613
[ 18.455] (II) modesetting(G0): blueX: 0.154 blueY: 0.060 whiteX: 0.313 whiteY: 0.329
[ 18.455] (II) modesetting(G0): Manufacturer's mask: 0
[ 18.455] (II) modesetting(G0): Supported detailed timing:
[ 18.455] (II) modesetting(G0): clock: 138.7 MHz Image Size: 382 x 215 mm
[ 18.455] (II) modesetting(G0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 18.455] (II) modesetting(G0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 0
[ 18.455] (II) modesetting(G0): N173HGE-L11
[ 18.455] (II) modesetting(G0): CMO
[ 18.455] (II) modesetting(G0): N173HGE-L11
[ 18.455] (II) modesetting(G0): EDID (in hex):
[ 18.455] (II) modesetting(G0): 00ffffffffffff000daf201700000000
[ 18.455] (II) modesetting(G0): 02150103802615780ad895a3554d9d27
[ 18.455] (II) modesetting(G0): 0f505400000001010101010101010101
[ 18.455] (II) modesetting(G0): 0101010101012e3680a070381f403020
[ 18.455] (II) modesetting(G0): 35007ed710000018000000fe004e3137
[ 18.455] (II) modesetting(G0): 334847452d4c31310a20000000fe0043
[ 18.455] (II) modesetting(G0): 4d4f0a202020202020202020000000fe
[ 18.455] (II) modesetting(G0): 004e3137334847452d4c31310a20006e
[ 18.455] (II) modesetting(G0): Printing probed modes for output eDP-1-0
[ 18.455] (II) modesetting(G0): Modeline "1920x1080"x60.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)
[ 18.455] (II) modesetting(G0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 18.455] (II) modesetting(G0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 18.456] (II) modesetting(G0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 18.457] (II) modesetting(G0): EDID for output VGA-1-0
[ 18.457] (II) modesetting(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 18.457] (==) modesetting(G0): DPI set to (96, 96)
[ 18.457] (II) Loading sub module "fb"
[ 18.457] (II) LoadModule: "fb"
[ 18.457] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 18.457] (II) Module fb: vendor="X.Org Foundation"
[ 18.457] compiled for 1.14.3, module version = 1.0.0
[ 18.457] ABI class: X.Org ANSI C Emulation, version 0.4
[ 18.457] (II) Loading sub module "shadow"
[ 18.457] (II) LoadModule: "shadow"
[ 18.457] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[ 18.486] (II) Module shadow: vendor="X.Org Foundation"
[ 18.486] compiled for 1.14.3, module version = 1.1.0
[ 18.486] ABI class: X.Org ANSI C Emulation, version 0.4
[ 18.486] (--) Depth 24 pixmap format is 32 bpp
[ 18.518] (==) modesetting(G0): Backing store disabled
[ 18.518] (==) modesetting(G0): Silken mouse enabled
[ 18.518] (II) modesetting(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 18.518] (==) modesetting(G0): DPMS enabled
[ 18.518] (WW) modesetting(G0): Option "AllowEmptyInitialConfiguration" is not used
[ 19.510] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 19.510] (II) NVIDIA: access.
[ 19.543] (II) NVIDIA(0): Setting mode "NULL"
[ 19.566] (II) NVIDIA(0): Built-in logo is bigger than the screen.
[ 19.566] Loading extension NV-GLX
[ 19.571] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 19.571] (==) NVIDIA(0): Backing store disabled
[ 19.571] (==) NVIDIA(0): Silken mouse enabled
[ 19.571] (==) NVIDIA(0): DPMS enabled
[ 19.583] Loading extension NV-CONTROL
[ 19.583] (II) Loading sub module "dri2"
[ 19.583] (II) LoadModule: "dri2"
[ 19.583] (II) Module "dri2" already built-in
[ 19.583] (II) NVIDIA(0): [DRI2] Setup complete
[ 19.583] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 19.583] (--) RandR disabled
[ 19.606] (II) Initializing extension GLX
[ 19.607] (II) modesetting(G0): Damage tracking initialized
[ 20.037] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 20.037] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 20.037] (II) LoadModule: "evdev"
[ 20.037] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 20.075] (II) Module evdev: vendor="X.Org Foundation"
[ 20.075] compiled for 1.14.3, module version = 2.8.2
[ 20.075] Module class: X.Org XInput Driver
[ 20.075] ABI class: X.Org XInput driver, version 19.1
[ 20.075] (II) Using input driver 'evdev' for 'Power Button'
[ 20.075] (**) Power Button: always reports core events
[ 20.075] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 20.075] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 20.075] (--) evdev: Power Button: Found keys
[ 20.075] (II) evdev: Power Button: Configuring as keyboard
[ 20.075] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[ 20.075] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 20.075] (**) Option "xkb_rules" "evdev"
[ 20.075] (**) Option "xkb_model" "pc104"
[ 20.075] (**) Option "xkb_layout" "us"
[ 20.085] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 20.085] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 20.085] (II) Using input driver 'evdev' for 'Video Bus'
[ 20.085] (**) Video Bus: always reports core events
[ 20.085] (**) evdev: Video Bus: Device: "/dev/input/event4"
[ 20.086] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 20.086] (--) evdev: Video Bus: Found keys
[ 20.086] (II) evdev: Video Bus: Configuring as keyboard
[ 20.086] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input4/event4"
[ 20.086] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 20.086] (**) Option "xkb_rules" "evdev"
[ 20.086] (**) Option "xkb_model" "pc104"
[ 20.086] (**) Option "xkb_layout" "us"
[ 20.086] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 20.086] (II) No input driver specified, ignoring this device.
[ 20.086] (II) This device may have been added with another device file.
[ 20.086] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[ 20.086] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 20.086] (II) Using input driver 'evdev' for 'Video Bus'
[ 20.086] (**) Video Bus: always reports core events
[ 20.086] (**) evdev: Video Bus: Device: "/dev/input/event3"
[ 20.086] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 20.086] (--) evdev: Video Bus: Found keys
[ 20.086] (II) evdev: Video Bus: Configuring as keyboard
[ 20.086] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:48/LNXVIDEO:00/input/input3/event3"
[ 20.086] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 20.086] (**) Option "xkb_rules" "evdev"
[ 20.086] (**) Option "xkb_model" "pc104"
[ 20.086] (**) Option "xkb_layout" "us"
[ 20.086] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 20.086] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 20.086] (II) Using input driver 'evdev' for 'Power Button'
[ 20.086] (**) Power Button: always reports core events
[ 20.086] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 20.086] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 20.086] (--) evdev: Power Button: Found keys
[ 20.086] (II) evdev: Power Button: Configuring as keyboard
[ 20.086] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[ 20.086] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[ 20.086] (**) Option "xkb_rules" "evdev"
[ 20.086] (**) Option "xkb_model" "pc104"
[ 20.086] (**) Option "xkb_layout" "us"
[ 20.086] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 20.087] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 20.087] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event11)
[ 20.087] (**) BisonCam, NB Pro: Applying InputClass "evdev keyboard catchall"
[ 20.087] (II) Using input driver 'evdev' for 'BisonCam, NB Pro'
[ 20.087] (**) BisonCam, NB Pro: always reports core events
[ 20.087] (**) evdev: BisonCam, NB Pro: Device: "/dev/input/event11"
[ 20.087] (--) evdev: BisonCam, NB Pro: Vendor 0x5986 Product 0x14c
[ 20.087] (--) evdev: BisonCam, NB Pro: Found keys
[ 20.087] (II) evdev: BisonCam, NB Pro: Configuring as keyboard
[ 20.087] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/input/input11/event11"
[ 20.087] (II) XINPUT: Adding extended input device "BisonCam, NB Pro" (type: KEYBOARD, id 10)
[ 20.087] (**) Option "xkb_rules" "evdev"
[ 20.087] (**) Option "xkb_model" "pc104"
[ 20.087] (**) Option "xkb_layout" "us"
[ 20.087] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[ 20.087] (II) No input driver specified, ignoring this device.
[ 20.087] (II) This device may have been added with another device file.
[ 20.087] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event7)
[ 20.087] (II) No input driver specified, ignoring this device.
[ 20.087] (II) This device may have been added with another device file.
[ 20.087] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event8)
[ 20.087] (II) No input driver specified, ignoring this device.
[ 20.087] (II) This device may have been added with another device file.
[ 20.087] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event9)
[ 20.087] (II) No input driver specified, ignoring this device.
[ 20.087] (II) This device may have been added with another device file.
[ 20.087] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[ 20.087] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 20.087] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 20.087] (**) AT Translated Set 2 keyboard: always reports core events
[ 20.087] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event5"
[ 20.087] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 20.087] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 20.087] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 20.087] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[ 20.087] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[ 20.087] (**) Option "xkb_rules" "evdev"
[ 20.087] (**) Option "xkb_model" "pc104"
[ 20.087] (**) Option "xkb_layout" "us"
[ 20.088] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[ 20.088] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 20.088] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 20.088] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[ 20.088] (II) LoadModule: "synaptics"
[ 20.088] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[ 20.108] (II) Module synaptics: vendor="X.Org Foundation"
[ 20.108] compiled for 1.14.3, module version = 1.7.2
[ 20.108] Module class: X.Org XInput Driver
[ 20.108] ABI class: X.Org XInput driver, version 19.1
[ 20.108] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 20.108] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 20.108] (**) Option "Device" "/dev/input/event6"
[ 20.128] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5692 (res 66)
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4680 (res 102)
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 20.128] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 20.128] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 20.138] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[ 20.138] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[ 20.138] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 20.138] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[ 20.138] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.037
[ 20.138] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 20.138] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 20.138] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 20.138] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 20.138] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 20.138] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 20.138] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"


slim.log (while running)
Quote:

slim: waiting for X server to begin accepting connections.


Video cards:
Quote:
VIDEO_CARDS="nvidia intel modesetting"


Here is my kernel config:
http://pastebin.com/eN10jrVJ


I am using nvidia-drivers 331.38 and gentoo-sources 3.10.25. I have tried older versions of nvidia-drivers as well as the newest (and unstable) ones. I have also tried swapping display managers, trying to force my xinitrc to be ran before slim is launched (as early as directly sourcing it from the first line of the slim script...). I have also tried the nvidia-xconfig and the X --config generated files to no success ("No screens found"). This Xorg.conf resolves that problem, but causes the current issue. Also, prior to setting the Option "AllowEmptyInitialConfiguration" in the xorg.conf, it would hang with No Screens Found. Manually launching XDM (/etc/init.d/xdm [re]start) causes the same issue.

Has anyone else encountered this problem and/or have any advice?

Thanks!
Back to top
View user's profile Send private message
Slabity
n00b
n00b


Joined: 26 Dec 2013
Posts: 12

PostPosted: Sat Jan 25, 2014 12:20 am    Post subject: Reply with quote

The reason why you get a black screen is because the display manager (SLiM, XDM, GDM, etc) doesn't actually execute the xrandr commands until you log in.

In other words, the commands in your .xinitrc don't mean anything to the display manager until you actually log into your account.

I'm in the same boat as you are right now. All I can find are various questions that ask the same thing:

https://forums.gentoo.org/viewtopic-t-975876.html
http://tuxilero.blogspot.com/2013/09/how-to-official-nvidia-drivers.html
https://bbs.archlinux.org/viewtopic.php?id=166336

I also asked for some similar help on the Arch forums, but I haven't received a good answer yet. If I get an answer, I'll post it here.

But honestly, I'm starting to think Bumblebee might be the better option. The proprietary drivers don't support switching, there's constant tearing, and it only supports startx.
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Sat Jan 25, 2014 12:45 am    Post subject: Reply with quote

Not an expert on X but 2 basic pointers that might help you in the initial setup:

1: when spooling out debug from the xorg log just grep "EE"
2: I' m not sure what the "hot plug" capability is with x org, I think perhaps Ubuntu addresses this in a roundabout way.
3: I do know that in general if there is not a display plugged in at time of boot then the graphics card will as such not recognize it, at least in the case of non X environ, true for X environ I'm sure if not pre ambled?
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 211
Location: AU

PostPosted: Sun Jan 26, 2014 11:34 am    Post subject: Reply with quote

I created a wiki page (anyone who knows more please add to it) with a section
with hints on configuring the display managers that have a known way to
run the xrandr commands:

https://wiki.gentoo.org/wiki/NVIDIA_Driver_with_Optimus_Laptops
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