I updated my graphics drivers from nvidia 470 to nvidia 560 due to issues running certain games. It’s fixed my gaming issue but reintroduced the problem that kept me from updating for so long.

After setting my computer to “suspend,” it wakes up to this screen on all monitors. I am unable to scroll up or type further commands, my only option is to reboot the machine.

  • My graphics card is: NVIDIA Corporation GP104 [GeForce GTX 1070]
  • Nvidia driver version: 560.35.03
  • My desktop environment is Cinnamon X11. (This does not occur on Wayland, but there is no Cinnamon Wayland.)

I can’t make heads or tails of this error screen. The best I can understand is the “Fixing recursive fault but reboot is required!” line. How can I get more information? Does anyone have any ideas on how I can fix this? Thanks in advance.

Edit: It seems important to mention this is happening only on X11 (Pop default and Cinnamon), and not on Pop!_OS on Wayland.

  • riquisimo@lemmy.dbzer0.comOP
    link
    fedilink
    arrow-up
    1
    ·
    18 days ago

    Finally got around to this. I tried installing while logged in, then realized I should Ctrl+Alt+F2 (or something) and stop gdm before installing.

    I got an error message, there was an error while building kernel modules. Checking /var/log/nvidia-installer.log I think this is the culprit:

    warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

    Warning: Compiler version check failed:

    The major and minor number of the compiler used to compile the kernel:

    x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38

    does not match the compiler used here:

    cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright © 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is recommended to set the CC environment variable to the compiler that was used to compile the kernel.

    To skip the test and silence this warning message, set the IGNORE_CC_MISMATCH environment variable to “1”. However, mixing compiler versions between the kernel and kernel modules can result in subtle bugs that are difficult to diagnose.

    So I’m using 11.4.0 instead of 12.3.0? Not sure what that number is. Both kernels are based on Ubuntu 22.04. I’m starting to think if I really want cinnamon I should use a distro that was made for cinnamon, like Mint.

      • riquisimo@lemmy.dbzer0.comOP
        link
        fedilink
        arrow-up
        1
        ·
        13 days ago

        This is getting deep and complicated.

        So I tried using the command in the snippet, and made sure that CC was capitalized, but the error log still says “You are using: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0”

        Going to the post that talks about changing your version of GCC it looks like my gcc might be pointing to the “11.4.0 cc”?

        But when I run: sudo apt-get install gcc-4.3 gcc-4.4 g+±4.3 g+±4.4

        I can’t find those packages. And when I run:

        sudo update-alternatives --remove-all gcc sudo update-alternatives --remove-all g++

        I find no alternatives. Sheesh. When I go this many layers deep I get worried that I’m going to potentially break something that will make bugtesting for other future things harder.