You are not logged in.
No. He has issues w/ his GL installation. Because he's using manjaro.
Please don't hijack threads for solicitation - both is in violation of the forum standards.
Offline
Guys, if you have issues in Chromium, start using Firefox, hardware acceleration is working good there.
But font rendering of web pages is awful
Offline
Guys, if you have issues in Chromium, start using Firefox, hardware acceleration is working good there.
But font rendering of web pages is awful
Looks like recent versions of Firefox not only ignore system settings but also any "font_rendering" tweaks in about:config.
Last edited by DAC324 (2020-12-27 12:10:16)
Offline
[ 4.277] (II) LoadModule: "glx" [ 4.278] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 4.289] (II) Module glx: vendor="X.Org Foundation" … [ 4.305] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X [ 4.305] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X [ 4.305] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If [ 4.305] (EE) NVIDIA(0): you continue to encounter problems, Please try [ 4.305] (EE) NVIDIA(0): reinstalling the NVIDIA driver. … [ 4.773] (II) GLX: Initialized DRISWRAST GL provider for screen 0
Indeed - that was the problem. For some very weird reason, these lines
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
were both entirely missing from /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf and hence, X did not recognize the Nvidia libglx.so
So it looks like you're right again:
You do have
local/nvidia-390xx-utils 390.138-1
NVIDIA drivers utilitiesso the problem is that the module path isn't extende what would be done by /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf provide by that package - if this was archlinux.
=> Manjaro problem. Completely unrelated to chromium. Ask the Manjaro boards. Nobody here can possibly help you and it would violate board rules anyway.
Thank you once again and apologies for any inconvenience. - And also thanks a bunch for the detailed debugging instructions for X problems. That surely will help me a lot going forward.
Kind regards and a relaxing holiday season,
DAC324
Last edited by DAC324 (2020-12-27 12:49:37)
Offline
When I enable Vulkan in chrome://flags in Chromium 88, all the hardware-accelerated videos are blank and only the sound plays (I have nvidia). But when I use the '--use-vulkan' option in command line instead of that flag, the videos play just fine.
I'm not sure if that option fixes the issue, or it just doesn't enable Vulkan at all. It's kind of weird. The 'gpu' page says that Vulkan is enabled, but how can you make sure if it actually is?
Last edited by TheWeirdDev (2021-01-21 19:35:11)
Offline
Eh, seems that Chromium 88 broke everything again. Hardware decoding isn't working for me on 88.
Never mind, 88 was innocent. The thing is that --use-gl=desktop was required again. IIRC for version 86, I was able to get video acceleration on ANGLE just fine, so no --use-gl=desktop.
Anyone could explain why this is the case? Much thanks.
Last edited by xuanrui (2021-01-21 23:22:04)
Offline
When I enable Vulkan in chrome://flags in Chromium 88, all the hardware-accelerated videos are blank and only the sound plays (I have nvidia). But when I use the '--use-vulkan' option in command line instead of that flag, the videos play just fine.
I'm not sure if that option fixes the issue, or it just doesn't enable Vulkan at all. It's kind of weird. The 'gpu' page says that Vulkan is enabled, but how can you make sure if it actually is?
Same here. With chrome://flags or '--enable-features=Vulkan' the video went blank -- tracked here.
But as you mentioned, with latest version '--use-vulkan' now reports vulkan enabled in gpu status
Offline
When I enable Vulkan in chrome://flags in Chromium 88, all the hardware-accelerated videos are blank and only the sound plays (I have nvidia). [...]
But as you mentioned, with latest version '--use-vulkan' now reports vulkan enabled in gpu status
Looks like Vulkan is enabled on the latest Nvidia drivers only. If you happen to use version 390, Vulkan remains off in chrome://gpu despite of any flags set.
Offline
Is there any way to get this working with the quadro 770M?
Using nouveau:
If you download the nvidia decoder firmware and put it in /lib/firmware it decodes H264 but is as slow as CPU and drops frames.
Unfortunately nouveau appears to have poor power management and other issues, it's still terrible.
Using nvidia-340-dkms:
Chrome 84: detects with --use-gl=egl but no video formats are shown
Chrome 87: run with no flag, using angle, formats detect but MojoVideoDecoder falls back to ffmpeg with VDA4 error.
Using --use-gl=desktop causes gpu to not be detected at all.
So I tried firefox, so far only on nvidia-340
VA-API FFmpeg is disabled by platform
I get there was some issue with chrome looking for VAProfile None and the vdpau wrapper not providing it? Is there some patch? Maybe a specific version of chrome to try?
Offline
Just an FYI, i had to enable all 3 of these flags to get video acceleration to work on nvidia 1660ti and chromium from the official repos:
#Video Acceleration
--use-gl=desktop
--enable-accelerated-video-decode
--ignore-gpu-blacklist
Maybe the wiki should be updated because it seem --enable-accelerated-video-decode is required when using nvidia, the wiki says it's only need when using ANGLE.
Offline
Besides --use-gl all the other ones can be set inside chrome://flags
Offline
Besides --use-gl all the other ones can be set inside chrome://flags
There is also
~/.config/chromium-flags.conf
for chromium and
~/.config/chromium-dev-flags.conf
for chromium-dev.
Offline
However, you can watch h.264 videos with hardware acceleration with the existing VDPAU-VAAPI wrapper. About fullscreen, I haven't modified anything related to fullscreening in this patch but that may be an issue unrelated to VDPAU.
Sorry for the offtopic - but is there something similar as the patch discussed here required to get Firefox working with hardware accelerated video playback on VDPAU systems?
Thank you very much in advance for the clarification.
Offline