Seg fault starting X with GeForce RTX 3060

Just got an ASUS - TUF DASH 15.6 with the 3060. Installed the latest Linux Mint (20.x). Wanted the proper video drivers so I went about installing them. That and the desktop reminds you every time you log in that you are not using hardware acceleration.

First used the “Driver Manager” app. After rebooting though, I still got a message that hardware acceleration was not being used. Tried a game, and verified that the gpu isn’t being used (it was dog slow). I also noticed the “Driver Manager” app was installing a slightly older version, I believe it was 460.35.

After noticing the latest release, 460.56 has a fix for the 3060 I manually installed that. On reboot, X would not start. I figured I didn’t clean up correctly from the first install.

I then reinstalled Mint, then immediately installed 460.56. Still X would not start. Took a look at the logs and found this:

24.370] (EE) Backtrace:
[ 24.370] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x13c) [0x55ec4d3c252c]
[ 24.370] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x60) [0x7f71b47a241f]
[ 24.370] (EE) 2: /usr/lib/xorg/modules/drivers/nvidia_drv.so (nvidiaUnlock+0x3f4135) [0x7f71b3ed125a]
[ 24.370] (EE)
[ 24.370] (EE) Segmentation fault at address 0x28
[ 24.370] (EE)
Fatal server error:
[ 24.370] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 24.370] (EE)
[ 24.370] (EE)

Uploaded the full log for more info.
Xorg.0.log (26.2 KB)

Anyone have any suggestions on a path forward?

You have a hybrid graphics notebook with intel iris xe which your current kernel doesn’t support. Please upgrade the hwe to get to kernel 5.8:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

1 Like

Thanks, that fixed the issue.

Upgraded the kernel to 5.8 using “Update Manager”. The kernels are listed in “view” menu.

After that I rebooted, and Update Manager discovered an update for HWE, to 20.04.

Once HWE was updated, I executed “ubuntu-drivers list” and got:
nvidia-driver-460, (kernel modules provided by linux-modules-nvidia-460-generic-hwe-20.04)

Then I installed the modules, as per instructions from the link you provided:
sudo apt install --install-recommends linux-modules-nvidia-460-generic-hwe-20.04

After rebooting again (not sure if necessary), then I installed the drivers:
sudo apt install nvidia-driver-460

Final reboot after installing the drivers and the issue was resolved.