Closed Steve-Tech closed 1 year ago
Can you run Firefox with this environment variable set: NVD_LOG=1
, and post the output here?
I thought I did that before, so I added NVD_LOG=1
to /etc/environment
and now there's no WARNING
s but the CPU usage is still really high and no Firefox in nvidia-smi
:
[GFX1-]: FireTestProcess failed: Failed to spawn child process “/usr/lib/firefox/glxtest” (No such file or directory)
[GFX1-]: glxtest: ManageChildProcess failed
[GFX1-]: No GPUs detected via PCI
Also here's vainfo
, so vaapi and NVD_LOG=1
are working:
libva info: VA-API version 1.17.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
687.728991567 [51653-51653] ../src/vabackend.c:1872 __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x55c8fcd91060 40
687.728998510 [51653-51653] ../src/vabackend.c:1894 __vaDriverInit_1_0 Now have 0 (0 max) instances
687.729002417 [51653-51653] ../src/vabackend.c:1919 __vaDriverInit_1_0 Selecting Direct backend
687.732183280 [51653-51653] ../src/direct/direct-export-buf.c: 94 direct_initExporter Found NVIDIA GPU 0 at /dev/dri/renderD128
687.732189221 [51653-51653] ../src/direct/nv-driver.c: 190 init_nvdriver Initing nvdriver...
687.732194361 [51653-51653] ../src/direct/nv-driver.c: 195 init_nvdriver Got dev info: 800 1 2 6
687.732269563 [51653-51653] ../src/direct/nv-driver.c: 256 init_nvdriver NVIDIA kernel driver version: 525.105.17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
<unknown profile> : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
687.794382368 [51653-51653] ../src/vabackend.c:1843 nvTerminate Terminating 0x55c8fcd91060
687.794446580 [51653-51653] ../src/vabackend.c:1857 nvTerminate Now have 0 (0 max) instances
I also checked if there's anything relevant in dmesg and syslog, and there didn't seem to be.
mpv also doesn't seem to work.
Edit: Sorry, just saw this line in the readme:
Currently this only works with a build of MPV from git master.
I thought I did that before
My apologies, you did. I was looking at it and didn't see any output from the driver so I just assumed you hadn't supplied it.
There does seem to be something wrong with that build of Firefox, as it's not even attempting to initalise VA-API. You could try running Firefox with this aswell MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5"
to see if that sheds some light on what's happening.
There does seem to be something wrong with that build of Firefox
Seems like it, I just did an apt upgrade
and it's fixed now haha.
Edit: Thanks for your support though!
Seems like it, I just did an
apt upgrade
and it's fixed now haha.Edit: Thanks for your support though!
What version firefox is it?
What version firefox is it?
I wouldn't know now, but whatever was in Debian testing 11 months ago.
I've also moved to Intel Arc now, so I can't say if it still works for me.
Hi,
I'm using Firefox 114.0 installed from the Mozilla PPA (not snap), nvidia-vaapi-driver was installed via apt, Nvidia driver: 525.105.17.
I've done the
about:config
stuff in the readme, and added this to/etc/environment
:I've also tried with
media.rdd-ffvpx.enabled
set to true and false, tried with both X11 and Wayland, and briefly tried driver 530 and attempted 510 but that got stuck booting.nvidia-drm.modeset=1
was also added to grub.But YouTube videos still use software decoding, here's the output when running
NVD_LOG=1 firefox
:Interestingly .mp4 files don't have the all the
WARNING
s and the CPU usage isn't as high as YouTube, but Firefox isn't showing up innvidia-smi
, and I'm pretty sure it was before (I did have it working earlier, at least on 22.10, I don't know when it broke).Thanks, Steve