5

I have Ubuntu 20.04 installed and working fine, but I tried Ubuntu 22.04 live version and I'm getting this error:

enter image description here

  Graphics card: NVIDIA GTX 1650
  Processor: Intel Core™ i3-10105F CPU @ 3.70GHz × 8
  Memory: 15,6 GB

1
  • Perhaps selecting the Try Ubuntu without installing (safe graphics) option after booting from your live medium would help. Apr 23, 2022 at 15:25

5 Answers 5

6

I had the same problem.

The origin of the problem I think was a dependency error that caused me to end up using the xorg drivers

this is the summary of commands that I executed:

sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get update
sudo apt-get -f install
sudo apt update && sudo apt upgrade -y
sudo dpkg --configure -a

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
apt search nvidia-driver | less
sudo apt install nvidia-driver-545
reboot

EDIT: Incredibly, I have this problem every couple of months, and I update the comment each time with the new driver that fixes it.

enter image description here ...NVIDIA

1
  • I allow myself to confirm this way that SolvedForHome's solution worked for me with a DELL inspiron 15 with a NVIDIA Graphics card. And it also means that standby works now, which does not work in windows...go ubuntu :) Aug 15, 2023 at 7:55
2

Your graphical issues may be related to the use of Wayland. By default, 22.04 is configured to use Wayland, after a fresh install and even after upgrading, and even on Nvidia cards, where Wayland support is very young.

You therefore may have better luck running on Xorg for the time being. To switch to Xorg, log out. Before entering the password, select the cog wheel in the bottom right corner and select "Ubuntu on Xorg".

enter image description here

If you later wish to try Wayland again, do the same but select "Ubuntu" instead.

3
  • 1
    The live session uses Xorg / X11. So this cannot be a Wayland issue. Apr 27, 2022 at 15:14
  • 1
    This has resolved an issue for me with multiple monitors on Ubuntu 22.04
    – gbro3n
    Jun 24, 2022 at 15:04
  • With Nvidia hardware and proprietary Nvidia drivers, the login default choices are 1)Ubuntu (meaning default is xorg), and 2)Ubuntu on Wayland.
    – ubfan1
    Aug 13, 2022 at 1:06
0

I have the same problem with the new live image. After the installation, the error no longer appeared under wayland either.

Graphics card: NVIDIA GTX 1650 Processor: AMD FX6300 CPU @ 3.60GHz × 6 Memory: 8 GB

1
  • maybe some drivers got installed during the installation process that helped? Did you select any relevant option in the installer? I guess this should be considered a bug and reported if it hasn't been already
    – Zanna
    Apr 22, 2022 at 12:42
0

The Ubuntu live session uses open-source drivers (i.e. nouveau for Nvidia GPUs). On newer hardware, this might cause issues.

The installer gives you the option to install proprietary drivers (i.e. nvidia) during the installation: enter image description here (from https://ubuntu.com/tutorials/install-ubuntu-desktop-1804#5-prepare-to-install-ubuntu)

Select the last point "Install third-party software for graphics ..." here. This will install the proprietary nvidia driver and prevent issues with nouveau.

2
  • Nope, that is not true. I selected the third option, still has the same trouble.
    – bim
    Oct 26, 2022 at 16:28
  • @BiMo What is not true? Does this option not install the proprietary nvidia drivers for you? Oct 27, 2022 at 19:20
0

Have you tried the following?

Install Nvidia Drivers via PPA Repository

  1. Run the following command to add the Nvidia drivers repository:

    sudo add-apt-repository ppa:graphics-drivers/ppa
    
  2. Run the following command to identify the NVidia GPU model you are using.

    ubuntu-drivers devices
    
  3. Either run the following command with your Nvidia GPU model to install the Nvidia driver on Ubuntu 22.04 LTS.

    sudo apt install [driver_model_name]
    

    Or run the following command to install the Nvidia driver automatically.

    sudo ubuntu-drivers autoinstall
    
  4. Reboot your Ubuntu after installing Nvidia driver:

    sudo reboot
    

Install Nvidia Drivers Via Command

  1. Run the following command to search Nvidia driver on Ubuntu 22.04 LTS.

    apt search nvidia-driver
    
  2. Run the following command to update so that you can get the latest driver.

    sudo apt update
    sudo apt upgrade
    
  3. Run the following command to install Nvidia driver on Ubuntu.

    sudo apt install [driver_model_name]
    
  4. Reboot your Ubuntu after installing Nvidia driver with the following command:

    sudo reboot
    

Install Nvidia Driver Using GUI

  1. Open Software and Updates From the App Menu and select the Software and Updates app.

  2. Click the Additional Drivers Tab. Wait for the app to download a list of additional drivers available for your GPU.

  3. From the list, select the latest Nvidia driver labeled proprietary, tested.

  4. Click Apply Changes.

  5. Restart your Ubuntu.

1
  • Tried this but nothing showed up when i ran "ubuntu-drivers devices"
    – Selah
    May 31, 2022 at 20:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .