I searched for a long time so I share the solution for XPS 15 l521x with Ubuntu 12.10 :
Don't install Bumblebee otherwise uninstall it.
If the file /etc/X11/xorg.conf doesn't exist, create it and copy/paste :
Code:
Section "Device"
Identifier "Device0"
Driver "intel"
BusID "PCI:00:02:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
BusID "PCI:01:00:0"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 30-94
VertRefresh 48-85
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
Option "TwinView" "true"
Option "MetaModes" "1280x1024, 1280x1024; 1024x768, 1024x768"
Option "SecondMonitorHorizSync" "30-83"
Option "SecondMonitorVertRefresh" "56-75"
Option "TwinViewOrientation" "RightOf"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
Option "Clone" "on"
EndSection
Section "ServerFlags"
Option "Xinerama" "1"
EndSection
Do CTRL + ALT + F1 then enter :
Code:
sudo service lightdm restart
Warning : if an error is made in the / etc/X11/xorg.conf file -> startup = crash !
But on mine, it works
Bookmarks