OBS Studio error: Failed to initialized video. Your GPU may not be supported, or your graphics drivers may need to be updated

System info:

[jr@fm ~]$ inxi -Fxxx
System:    Host: fm Kernel: 5.4.105-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 
           wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: TUF B450M-PLUS GAMING v: Rev X.0x serial: <superuser required> 
           UEFI: American Megatrends v: 1002 date: 03/07/2019 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M315/M235 serial: 4009-26-6d-cc-a7 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ rev: 2 cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118202 
           Speed: 2195 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2195 2: 2195 3: 2195 4: 2196 5: 2169 
           6: 4331 7: 2171 8: 2170 9: 2195 10: 2193 11: 2171 12: 4339 13: 2170 14: 2170 15: 2195 16: 2195 
Graphics:  Device-1: NVIDIA TU104 [GeForce RTX 2080] vendor: ASUSTeK driver: nvidia v: 460.56 bus-ID: 07:00.0 
           chip-ID: 10de:1e82 class-ID: 0300 
           Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-1:2 chip-ID: 046d:0825 
           class-ID: 0102 serial: 8D1EA6E0 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: nvidia resolution: 1: 1920x1080~60Hz 
           2: 1920x1080~60Hz s-dpi: 94 
           OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:     Device-1: NVIDIA TU104 HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 07:00.1 chip-ID: 10de:10f8 
           class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus-ID: 09:00.3 chip-ID: 1022:1457 class-ID: 0403 
           Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-1:2 chip-ID: 046d:0825 
           class-ID: 0102 serial: 8D1EA6E0 
           Sound Server-1: ALSA v: k5.4.105-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.24 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: f000 
           bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 40:b0:76:5c:8c:4c 
           Device-2: Realtek RTL88x2bu [AC1200 Techkey] type: USB driver: rtl88x2bu bus-ID: 5-2:2 chip-ID: 0bda:b812 
           class-ID: 0000 serial: 123456 
           IF: wlp8s0f3u2 state: dormant mac: 56:3d:b8:21:9c:38 
           IF-ID-1: enp2s0f0u3 state: unknown speed: N/A duplex: N/A mac: c2:b8:65:92:4d:2d 
Bluetooth: Device-1: OPPO OPPO Find X2 Lite type: USB driver: rndis_host v: kernel bus-ID: 1-3:17 chip-ID: 22d9:276a 
           class-ID: 0a00 serial: 22e215dd 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Drives:    Local Storage: total: 465.76 GiB used: 55.36 GiB (11.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 500GB size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 
           rotation: SSD serial: S4EVNG0M116780W rev: 1B2QEXM7 scheme: GPT 
Partition: ID-1: / size: 109.37 GiB used: 55.34 GiB (50.6%) fs: ext4 dev: /dev/nvme0n1p3 
           ID-2: /boot/efi size: 299.4 MiB used: 25.5 MiB (8.5%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: file size: 256 MiB used: 0 KiB (0.0%) priority: 50 file: /var/lib/systemd-swap/swapfc/1 
Sensors:   System Temperatures: cpu: 46.9 C mobo: 0 C gpu: nvidia temp: 27 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 20% 
Info:      Processes: 382 Uptime: 7d 12h 08m wakeups: 385 Memory: 62.81 GiB used: 28.5 GiB (45.4%) Init: systemd v: 247 
           Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1477 Shell: Bash v: 5.1.0 running-in: konsole inxi: 3.3.04 
[jr@fm ~]$ 

It was working just yesterday, but now it isn’t, and I did an update yesterday. How can I check and update the graphics driver, nvidia, v: 460.56?

I’ll run yay nvidia and update for each kernel that I have installed for that version. (Currently I’m running the 5.4 LTS kernel.) Already installed:

25 extra/linux54-nvidia 460.67-3 (25.3 MiB 25.3 MiB) [linux54-extramodules] (Installed)
19 extra/linux510-nvidia 460.67-3 (25.3 MiB 25.3 MiB) [linux510-extramodules] (Installed)
10 extra/linux419-nvidia 460.67-3 (25.3 MiB 25.3 MiB) [linux419-extramodules] (Installed)

Also when I try to install kernel 5.11 I get this error:

The following packages will be installed:

linux511

linux511-rtl8723bu

linux511-nvidia

linux511-headers

Starting

resolving dependencies...

looking for conflicting packages...

Packages (4) linux511-5.11.10-1 linux511-headers-5.11.10-1 linux511-nvidia-460.67-4 linux511-rtl8723bu-20210324-2

Total Installed Size: 243.20 MiB

:: Proceed with installation? [Y/n]

checking keyring...

checking package integrity...

loading package files...

checking for file conflicts...

linux511-rtl8723bu: /etc/modprobe.d/blacklist-rtl8xxxu.conf exists in filesystem (owned by linux54-rtl8723bu)

Errors occurred, no packages were upgraded.

error: failed to commit transaction (conflicting files)

Done ...

I restarted into kernel 5.10 and OBS Studio then worked.

Hey there!

In terms of giving your graphics drivers an update, have you tried running this:

sudo pacman -S install nvidia

If that doesn’t work, go to the Hardware Configuration menu from Manjaro Settings Manager and make sure the category for your gpu (your’s probably has "GeForce RTX 2080" in the title, mine has "GeForce RTX 2060 Mobile") has the driver named video-nvidia installed. If there is a driver right above video-nvidia that is installed and has the word hybrid in the name, that might be a problem, as it looks like it is trying to use your webcam’s driver as a GPU. Personally, I don’t think webcams work like that, and honestly if that is the case, I have no idea how to fix it.


As for your problem with installing Kernel 5.11, it seems that there is already a file that relates to Kernel 5.11 in your system that is causing a problem. I would recommend going to the Kernels menu from the Manjaro Settings Manager and attempting to install the Kernel from there.

If that doesn’t work, there is one final thing I can think of, but I wouldn’t recommend. You could remove the conflicting file using this command:

sudo rm /etc/modprobe.d/blacklist-rtl8xxxu.conf

But personally I don’t know what this would do, and don’t blame me if anything gets messed up. If you do choose to run this command, just attempt the Kernel install again and it should run smoothly if all goes well. Just make sure to start from the correct Kernel in the grub bootloader once it’s done.


Anyways, I hope at least part of this helped!
-Aiden

[jr@fm ~]$ sudo pacman -S nvidia
warning: linux414-nvidia-460.67-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux414-nvidia-460.67-2

Total Installed Size:  25.30 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] ^C
Interrupt signal received

[jr@fm ~]$ 

If that doesn’t work, go to the Hardware Configuration menu from Manjaro Settings Manager and make sure the category for your gpu (your’s probably has "GeForce RTX 2080" in the title, mine has "GeForce RTX 2060 Mobile") has the driver named video-nvidia installed. If there is a driver right above video-nvidia that is installed and has the word hybrid in the name, that might be a problem, as it looks like it is trying to use your webcam’s driver as a GPU. Personally, I don’t think webcams work like that, and honestly if that is the case, I have no idea how to fix it.

video-nvidia is at the top of the list in Hardware Configuration, and is installed under TU104 [Geforce RTX 2080)

Actually that was what I had tried.

Given that I don’t really need to use 5.11, as I can use 5.10 or 5.4, etc, I will pass on running that command.

You didn’t give the Konsole confirmation to continue installing. Run the command again but when this message comes up, press y on your keyboard then press Enter on your keyboard


As for your Kernel, if you want to give it a try installing the new one from Konsole itself, you can run this command:

sudo mhwd-kernel -i linux511

I’ve used this command before to install Kernels, so there shouldn’t be a risk of running it, and even if something does go wrong, this command will not delete the old Kernel, meaning you can switch between the two from the Grub bootloader.

Hope this helps!