Distro is Arch x64 with testing repo (xrandr 1.4.0-1, xorg-server 1.14.1-1, kernel 3.9.2).
Driver installed from repo, tried from .run file too, but got errors with loading kernel module and no screen found.
Notebook is Dell XPS 15 L502x with Intel HD3000 and GF 540m (screen connected to Intel).
xorg.conf in attached log file created using instructions from http://us.download.nvidia.com/XFree86/Linux-x86/319.17/README/randr14.html and I don’t see any errors in Xorg.0.log but screen is black with backlight working. Tried to use intel driver instead of modesetting but nothing changes. Problem is that to fix it I should use xrandr commands
@sgrec if you want to use Optimus, you need to install kernel 3.9, xrandr 1.4 and xorg 1.4 - function that is used in new driver is available from that version.
in there. Btw, in Ubuntu .xinitrc does not work, thats why I suggested .xsessionrc instead, do not know how archlinux behaves. No need to set it executable or use a shebang …
So maybe it’s .xinitrc related - I had this code all the time (started with this). So I’ll log in Arch (now on Windows) and try manually insert code.
Edit. Nothing changed. Code copied to .xsessionrc, tried DISPLAY :0 - used code in shell (x autostarted so changed to empty terminal):
xrandr -d :0 --setprovideroutputsource modesetting NVIDIA-0 #tried from user and from root)
And error was “No protocol specified” on first line and standard “can’t open display” on second.
Tried to startx and on user it crashes, on root crashed after xrandr command (parameter -d :1).
@Agalin
No idea. Your X-Server version has the correct patches? There was a patch set from 1.4 to 14.1 from redhat which broke stuff and had to be fixed by another patch from Aaron, eventually you have to rebuild X-Server.
I got the same error with same error messages in xorg.log as Agalin.
@pogopuschel
I downgraded the x-server from 1.14.1-1 to 1.14.0-2 because i think you meant that with your previous post. But there was no success in removing the error by doing this.
Where’s the point? KDE starting correctly, I can clone display to the external HDMI monitor BUT i can not set anymore a large desktop on two screens :/ My external Monitor on HDMI has a black screen, and turn off.