You are not logged in.

#1 2013-08-07 15:09:07

mlisicki
Member
Registered: 2013-08-06
Posts: 1

New nvidia driver freezes the screen with Optimus setup

Hello everybody,
I was just switching from nouveau drivers to nvidia yesterday and after few hours of trying to get it working I guess I need some help. I have Dell XPS L502X laptop with Optimus setup and it's the first time I'm trying to use the proprietary drivers, as I heard it's supposed to support it now. I managed to fix some problems on the way and I ended up having everything hanged on the sturtup terminal. The last message is about loading graphical environment. The other terminals work fine, but going back to tty7 just freezes the screen.
Here is my output of lspci | grep VGA:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)

Here is the .xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

DEFAULT_SESSION=startkde

case $1 in
kde)
	exec ck-launch-session dbus-launch startkde
	;;
lxde)
	exec dbus-launch startlxde
	;;
fluxbox)
	exec dbus-launch startfluxbox
	;;
*)
	exec $DEFAULT_SESSION
	;;
esac

Here is xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 325.15  (buildmeister@swio-display-x64-rhel04-03)  Wed Jul 31 19:04:27 PDT 2013


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

And probably most relevant xorg server log:

[   144.739] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select{}"
[   144.927] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
[   144.928] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   144.928] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[   144.928] (**) NVIDIA(0):     all display devices.)
[   144.935] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

I was getting "no screen found" errors for most of the time until I did what is describer in the last section here https://wiki.archlinux.org/index.php/NV … Intel_iGPU . I also found some solution to this EDID problem here http://ubuntuforums.org/showthread.php?t=1653850 , but I was too tired to switch back to intel drivers, search how to get this edid there and come back to nvidia. Besides I find it wierd that I would need to do that with originally attached laptop monitor.
I'm going to fight more with that today, but I thought maybe somebody would have some ideas on the way. I will also need to give up soon I guess and just go back to intel drivers as I need to do some other work.
Thank you all and let me know if you need some more information.

Offline

#2 2013-08-07 17:16:07

Yggdrasil
Member
Registered: 2009-07-21
Posts: 37

Re: New nvidia driver freezes the screen with Optimus setup

I'm running a bumblebee[1] setup with nvidia/intel drivers and it works good enough.  I wanted to try out the new optimus support in the proprietary driver too but still haven't done so. You seem to miss the xrandr configuration[2] which tells the nvidia gpu to give the rendered frame to the integrated gpu for scan out to the monitor (at least that's what i get from it).

[1] https://wiki.archlinux.org/index.php/Bumblebee
[2] http://us.download.nvidia.com/XFree86/L … ndr14.html

Offline

Board footer

Powered by FluxBB