Solved failure to login/show graphics after installing Nvidia drivers

Forum Forums General Hardware Solved failure to login/show graphics after installing Nvidia drivers

  • This topic has 0 replies, 1 voice, and was last updated Jun 19-11:54 pm by rad.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #84872
    Member
    rad

      While this solution may seem obvious to the people who’ve dealt with X before, I know it’s frustrating to those who haven’t, and ideally prevention is needed. Also, it might be useful to add this to the nvidia driver install recovery wiki page, which amounts to ‘clear the config, then just give up’.

      Issue: on my fresh live-usb, I used persistence to install Nvidia drivers (either via the Control Center button or ‘sudo apt install nvidia-driver’, same outcome). Next boot, the init with the circles stalled on the last step, starting X.
      Using Alt+F1 to drop into text mode, it asks for the username/password, and running ‘startx’ gives an error about not finding any screens. I also noticed that resolution was low (where on original boot it recognized the 1920×1080 screen).

      Solution: The solution was to go into the X config (‘sudo nano /etc/X11/xorg.conf’). Mine showed the driver as being ‘vesa’, so I changed it to ‘nvidia’, saved and started the GUI with ‘startx’, although maybe a persist&reboot is more appropriate once that is confirmed to work.

      I’m using antix-21_x64, with a somewhat recent nvidia card (installing driver version 460->).

      • This topic was modified 10 months, 3 weeks ago by rad.
      • This topic was modified 10 months, 3 weeks ago by rad.
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.