I posted this on the nvidia forum several weeks ago without any responses... maybe someone here can help.
The Dell XPS 17 has a Sandybridge i7 processor and 555M nvidia GPU, and I have Optimus working as follows:
Xorg log: http://pastebin.com/bGCTbqiR
Xorg.conf: http://pastebin.com/pKf8t0id
:0 GDM init default script:
1. The nvidia card doesn't recognize any other connected monitor except the DFP-0 which maps to HDMI-0 (HDMI out on back of laptop). I had to dump the EDID and manually specify it just to get the card to connect properly.
2. The X server thinks there are two monitors connected: LVDS-1-0 and HDMI-0. Because of this, the desktop is set to 3840x2160 with the HDMI out as primary. This means that when I boot the laptop, the GDM login screen requires a monitor be connected to HDMI-0 if I want to visually login; otherwise, I have to blindly press enter, blindly type the password to the first user, and then let Gnome reconfigure the display so only one screen is active and the desktop drops back to a single 1920x1080 and is usable.
Anyone off-hand know what I can do? You can see I have already attempted to modify the behavior in the GDM init script, but it simply doesn't work. I have also tried to manually set the screen in Xorg.conf but to no avail. Is this just how Optimus support is suppose to be?
The Dell XPS 17 has a Sandybridge i7 processor and 555M nvidia GPU, and I have Optimus working as follows:
Xorg log: http://pastebin.com/bGCTbqiR
Code:
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32 (==) NVIDIA(0): RGB weight 888 (==) NVIDIA(0): Default visual is TrueColor (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" (**) NVIDIA(0): Option "ConnectedMonitor" "DFP-0" (**) NVIDIA(0): Option "CustomEDID" "DFP-0:/etc/X11/dfp0.bin.edid" (**) NVIDIA(0): Enabling 2D acceleration (**) NVIDIA(0): ConnectedMonitor string: "DFP-0" (II) NVIDIA(0): Using ConnectedMonitor string "DFP-0". (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102) (II) NVIDIA(0): NVIDIA GPU GeForce GT 555M (GF106) at PCI:1:0:0 (GPU-0) (--) NVIDIA(0): Memory: 3145728 kBytes (--) NVIDIA(0): VideoBIOS: 70.06.32.00.02 (II) NVIDIA(0): Detected PCI Express Link width: 16X (--) NVIDIA(0): Valid display device(s) on GeForce GT 555M at PCI:1:0:0 (--) NVIDIA(0): Chi Mei Optoelectronics corp. (DFP-0) (connected) (--) NVIDIA(0): Chi Mei Optoelectronics corp. (DFP-0): Internal TMDS (--) NVIDIA(GPU-0): Chi Mei Optoelectronics corp. (DFP-0): 165.0 MHz maximum pixel clock (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display (**) NVIDIA(0): device Chi Mei Optoelectronics corp. (DFP-0) (Using EDID (**) NVIDIA(0): frequencies has been enabled on all display devices.) (II) NVIDIA(0): Validated MetaModes: (II) NVIDIA(0): "DFP-0:nvidia-auto-select" (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080 (--) NVIDIA(0): DPI set to (128, 130); computed from "UseEdidDpi" X config
Code:
Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "intel" Driver "modesetting" BusID "PCI:00:02:0" EndSection Section "Screen" Identifier "intel" Device "intel" EndSection Section "Device" Option "ConnectedMonitor" "DFP-0" Option "CustomEDID" "DFP-0:/etc/X11/dfp0.bin.edid" Identifier "nvidia" Driver "nvidia" BusID "PCI:01:00:0" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" SubSection "Display" Modes "nvidia-auto-select" EndSubSection EndSection
Code:
xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --output HDMI-0 --off --output LVDS-1-0 #xrandr --screen 0 --size 1920x1080 --fb 1920x1080 --output LVDS-1-0 --preferred --mode 1920x1080 xrandr --output LVDS-1-0 --preferred --mode 1920x1080
2. The X server thinks there are two monitors connected: LVDS-1-0 and HDMI-0. Because of this, the desktop is set to 3840x2160 with the HDMI out as primary. This means that when I boot the laptop, the GDM login screen requires a monitor be connected to HDMI-0 if I want to visually login; otherwise, I have to blindly press enter, blindly type the password to the first user, and then let Gnome reconfigure the display so only one screen is active and the desktop drops back to a single 1920x1080 and is usable.
Anyone off-hand know what I can do? You can see I have already attempted to modify the behavior in the GDM init script, but it simply doesn't work. I have also tried to manually set the screen in Xorg.conf but to no avail. Is this just how Optimus support is suppose to be?