0

I have a strange problem while using nvidia-prime comand. When I change the command prime-select like this

prime-select intel

and reboot the system, my laptop will display something like this and will result with endless loop with displaying information on screenshot below:

error

How to solve this problem?

velix
  • 476

1 Answers1

0

Got my same problem. You should switch to Xorg. I think is a 18.04 Wayland bug.

My gdm3 session was running in wayland. To check it:

 $ loginctl
 SESSION     UID  USER     SEAT     TTY             
       2    1000  velix    seat0    tty2            
      c2    1000  velix                                             
      c1     120  gdm      seat0    tty1

The command loginctl show-session <session-n> -p Type show the session type:

$ loginctl show-session c1 -p Type
Type=Wayland

To change it, edit the file /etc/gdm3/custom.conf and uncomment the line WaylandEnable=false.

After rebooting:

$ loginctl show-session c1 -p Type
Type=x11

See My question and answer for a little more details.

velix
  • 476