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

The name of the pictureThe name of the pictureThe name of the pictureClash 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.









share

























    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.









    share























      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.









      share













      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





      share












      share










      share



      share










      asked 2 mins ago









      zjeffer

      12




      12

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)