I’ve been following this thread: hxxps://forums.developer.nvidia[.]com/t/nvidia-driver-is-not-loaded-ubuntu-18-10/70495/314 With no luck.
Summary: I’m on a dual-boot Ubuntu 22.04 with an RTX 3060 GPU, AMD CPU. I stream on OBS. Everything was fine until recently I attempted recording on OBS and my camera source crashed. Updated NVIDIA Driver on the Windows partition. Then updated straight from NVIDIA website in Ubuntu. Rebooted to one screen at resolution of 1024 and the other isn’t detected at all.
$xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768 default connected primary 1024x768+0+0 0mm x 0mm 1024x768 76.00*
First, following the linked forum, I purged nvidia, re-installed from Software & Updates, disabled Wayland, ensured nvidia wasn’t blacklisted, and rebooted. Screen was toxic-waste yellow.
Found online that disableing Wayland likely caused that so I set Wayland back to true. Rebooted and all appeared well.
In OBS, ffmpeg was still installed but I wasn’t able to set the encoder to ‘NVENC’. It appeared that it didn’t exist. I followed
hxxps://docs.nvidia[.]com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/ (won’t let me post multiple links) with no improvement.
This morning I attempted to purge and re-install nvidia driver. Updates and Software recommended
nvidia-driver-525-open so installed that. Rebooted and back to original problem with resolution and undetected monitor.
Following the other forum post, I did
sudo apt purge cuda* nvidia then followed these steps:
BUT DID NOT INSTALL CUDA and instead ran
apt install cuda-toolkit-12-1
Reboot = no change.
Following the forum some more I made sure it was booting from the same kernel (?).
/var/lib/dkms/nvidia$ ls 525.89.02 kernel-5.19.0-35-generic-x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic
At this point IDK what else to do, I’m already pretty lost as is about this stuff. Please let me know how I can fix this issue :( and thanks for your time.
P.S. Some other outputs which might help:
$dkms status nvidia/525.89.02, 5.19.0-35-generic, x86_64: installed virtualbox/6.1.38, 5.19.0-32-generic, x86_64: installed virtualbox/6.1.38, 5.19.0-35-generic, x86_64: installed
$nvidia-smi No devices were found
$prime-select query on-demand $ sudo prime-select nvidia Error: no integrated GPU detected.
nvidia-bug-report.log (1.8 MB)