You are not logged in.
Hello,
I've just installed Arch on my new machine yesterday, which has Optimus on it. I installed everything the wiki said I needed, including the nvidia drivers and libraries, the intel drivers and libraries, and everything I needed for xorg to work, yet when I try to use startx, it freezes.
I've had troubles with it, and it said no screen found, and after scrounging around the web, I found that a working solution is to change my .xinitrc and xorg.conf. I tried doing that (will post my files later in this message), and then when I tried running startx again, the screen just froze after loading xorg.conf.d. When trying ctrl+alt+F2, it came back to the default Arch log in screen, again with no xorg, so I think it does run, just doesn't show anything. If anyone can help, please do.
My .xinit file:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrander --setprovideroutputsource modesetting NVIDIA-0
xrander --setprovideroutputsource 0x45 0x2b0
xrander --autoMy xorg.conf file:
[# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 352.21 (buildmeister@swio-display-x64-rhel04-13) Tue Jun 9 22:44:03 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "nvidia"
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 "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "sna"
#Option "TearFree" "True"
#Option "Tiling" "True"
#Option "SwapbuffersWait" "True"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSectionThanks ahead!
Offline
What steps in the Wiki have you followed? Have you looked at:
https://wiki.archlinux.org/index.php/Bumblebee
and/or
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
depending on whether you actually want to use both the Intel and nVidia setup (Bumblebee) or just use the nVidia card (Optimus)?
Matt
"It is very difficult to educate the educated."
Offline
Also, read the Xinitrc page on the wiki: you aren't starting anything...
Offline
What steps in the Wiki have you followed? Have you looked at:
https://wiki.archlinux.org/index.php/Bumblebee
and/or
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
depending on whether you actually want to use both the Intel and nVidia setup (Bumblebee) or just use the nVidia card (Optimus)?
I actually did follow the way described on the Optimus setup page. Tried putting those lines both at the beginning and ending of the xinit file, but it didn't help.
Also, read the Xinitrc page on the wiki: you aren't starting anything...
Um... I'd be happy if you can elaborate. ^ ^" I have the line 'exec cinnamon-session', and I even tried replacing it with 'exec cinnamon-session-cinnamon2d', so it /should/ start Cinnamon. And I did install Cinnamon...
Offline