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

karel
  • 122,695
  • 134
  • 305
  • 337
Michael Mendes
  • 51
  • 1
  • 1
  • 2

5 Answers5

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-555 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

user60108
  • 327
  • 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 :) – MoritzMoreira Aug 15 '23 at 07: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.

vanadium
  • 98,427
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

  • 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 '22 at 12:42
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.

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.