Nvidia Optimus laptop: startX and xinit don't work (Arch)

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I can't boot my pc because the Xserver doesn't start. What's weird is that when I use SDDM it boots just fine. I also tried to use Lightdm a few months ago but it didn't want to boot, I'm guessing because of this problem.
I've had this problem for like a year but it never really bothered me because I always used SDDM. I'd like to stop using it so that's why I need this fixed.
System Info
neofetch: https://i.imgur.com/7ckyCJM.png
I'm using the proprietary Nvidia driver. Not bumblebee or nouveau because of their performance hit.
uname -a : Linux ArchLinux 4.18.14-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018 x86_64 GNU/Linux
pacman -Q nvidia :
nvidia 410.57-6
I enabled KMS to eliminate screen tearing, but disabling it doesn't help. I don't have an xorg.conf file because when I do, even SDDM won't start. nvidia-xconfig has never worked for me.
Logs:
/var/log/Xorg.0.log:
These are both executed with SDDM disabled, so I just log in to the first tty:
when executing startx: https://hastebin.com/zadepawiwo
when executing xinit : https://hastebin.com/muredinume
(is hastebin the right place or should I upload them elsewhere?)
Any help is greatly appreciated.
xorg nvidia x-server startx optimus
add a comment |Â
up vote
0
down vote
favorite
I can't boot my pc because the Xserver doesn't start. What's weird is that when I use SDDM it boots just fine. I also tried to use Lightdm a few months ago but it didn't want to boot, I'm guessing because of this problem.
I've had this problem for like a year but it never really bothered me because I always used SDDM. I'd like to stop using it so that's why I need this fixed.
System Info
neofetch: https://i.imgur.com/7ckyCJM.png
I'm using the proprietary Nvidia driver. Not bumblebee or nouveau because of their performance hit.
uname -a : Linux ArchLinux 4.18.14-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018 x86_64 GNU/Linux
pacman -Q nvidia :
nvidia 410.57-6
I enabled KMS to eliminate screen tearing, but disabling it doesn't help. I don't have an xorg.conf file because when I do, even SDDM won't start. nvidia-xconfig has never worked for me.
Logs:
/var/log/Xorg.0.log:
These are both executed with SDDM disabled, so I just log in to the first tty:
when executing startx: https://hastebin.com/zadepawiwo
when executing xinit : https://hastebin.com/muredinume
(is hastebin the right place or should I upload them elsewhere?)
Any help is greatly appreciated.
xorg nvidia x-server startx optimus
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I can't boot my pc because the Xserver doesn't start. What's weird is that when I use SDDM it boots just fine. I also tried to use Lightdm a few months ago but it didn't want to boot, I'm guessing because of this problem.
I've had this problem for like a year but it never really bothered me because I always used SDDM. I'd like to stop using it so that's why I need this fixed.
System Info
neofetch: https://i.imgur.com/7ckyCJM.png
I'm using the proprietary Nvidia driver. Not bumblebee or nouveau because of their performance hit.
uname -a : Linux ArchLinux 4.18.14-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018 x86_64 GNU/Linux
pacman -Q nvidia :
nvidia 410.57-6
I enabled KMS to eliminate screen tearing, but disabling it doesn't help. I don't have an xorg.conf file because when I do, even SDDM won't start. nvidia-xconfig has never worked for me.
Logs:
/var/log/Xorg.0.log:
These are both executed with SDDM disabled, so I just log in to the first tty:
when executing startx: https://hastebin.com/zadepawiwo
when executing xinit : https://hastebin.com/muredinume
(is hastebin the right place or should I upload them elsewhere?)
Any help is greatly appreciated.
xorg nvidia x-server startx optimus
I can't boot my pc because the Xserver doesn't start. What's weird is that when I use SDDM it boots just fine. I also tried to use Lightdm a few months ago but it didn't want to boot, I'm guessing because of this problem.
I've had this problem for like a year but it never really bothered me because I always used SDDM. I'd like to stop using it so that's why I need this fixed.
System Info
neofetch: https://i.imgur.com/7ckyCJM.png
I'm using the proprietary Nvidia driver. Not bumblebee or nouveau because of their performance hit.
uname -a : Linux ArchLinux 4.18.14-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018 x86_64 GNU/Linux
pacman -Q nvidia :
nvidia 410.57-6
I enabled KMS to eliminate screen tearing, but disabling it doesn't help. I don't have an xorg.conf file because when I do, even SDDM won't start. nvidia-xconfig has never worked for me.
Logs:
/var/log/Xorg.0.log:
These are both executed with SDDM disabled, so I just log in to the first tty:
when executing startx: https://hastebin.com/zadepawiwo
when executing xinit : https://hastebin.com/muredinume
(is hastebin the right place or should I upload them elsewhere?)
Any help is greatly appreciated.
xorg nvidia x-server startx optimus
xorg nvidia x-server startx optimus
asked 2 mins ago
zjeffer
12
12
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476396%2fnvidia-optimus-laptop-startx-and-xinit-dont-work-arch%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password