Nvidia Tegra drivers have different numbering sequence than desktop drivers
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
platform-rel | --- | + |
People
(Reporter: jens.moller.andreasen, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: gfx-noted [platform-rel-nVidia])
Attachments
(1 file)
20.73 KB,
text/plain
|
Details |
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Reporter | ||
Comment 4•9 years ago
|
||
Comment 6•9 years ago
|
||
Comment 8•9 years ago
|
||
Reporter | ||
Comment 11•9 years ago
|
||
Reporter | ||
Comment 12•9 years ago
|
||
Reporter | ||
Comment 13•9 years ago
|
||
Updated•9 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•2 years ago
|
Comment 14•8 months ago
|
||
Still an issue making firefox unusable on tegra devices (at least pre-orin which use different driver version)
Comment 15•8 months ago
|
||
I have tested spoofing the driver version MOZ_GFX_SPOOF_GL_VERSION="OpenGL ES 3.2 NVIDIA 480.0.0"
to get around all checks for now and do not notice any of the issues previously reported in firefox for nvidia gpu desktop drivers
This is with using 32.3.1 drivers on Nvidia Tegra X1, so I request that all driver version based feature disabling be removed for tegra at least for this minimum driver version.
Updated•8 months ago
|
Comment 16•7 months ago
|
||
Can you share the correct error you see in about:support
?
I see quite a lot in https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/widget/gtk/GfxInfo.cpp#834-1146
Comment 17•7 months ago
|
||
Please open about:support, click on "Copy text to clipboard" and paste it here. Thanks!
Comment 18•7 months ago
|
||
(In reply to :gerard-majax from comment #16)
Can you share the correct error you see in
about:support
?
I see quite a lot in https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/widget/gtk/GfxInfo.cpp#834-1146
FEATURE_FAILURE_OLD_NVIDIA
and FEATURE_FAILURE_WEBRENDER_OLD_NVIDIA
and FEATURE_ROLLOUT_X11_EGL_NVIDIA_BINARY
that is why I use the spoof to 480 to avoid all 3.
Comment 19•7 months ago
|
||
Comment 20•7 months ago
|
||
so:
- https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/widget/gtk/GfxInfo.cpp#853-859
- https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/widget/gtk/GfxInfo.cpp#894-900
- https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/widget/gtk/GfxInfo.cpp#1008-1013
Someone from gfx more familiar should know better than me how to fix that
Comment 21•7 months ago
|
||
Martin, would you know how this is supposed to be properly fixed, or who we should ask for help?
Comment 22•7 months ago
|
||
dofficialgman please run Firefox on terminal with MOZ_GFX_DEBUG=1 env variable and attach the output here.
Thanks.
Comment 23•7 months ago
|
||
We map device ID to vendor around this code:
https://searchfox.org/mozilla-central/rev/56dd89bcf4d3b85f66621e89eac6e2936ad382d9/widget/gtk/GfxInfo.cpp#432
so we may update it to cover this case.
Updated•7 months ago
|
Comment 24•7 months ago
|
||
GFX detection code itself is here:
https://searchfox.org/mozilla-central/source/toolkit/xre/glxtest/glxtest.cpp
We may also update ID to driver name mapping in gfx code if it's needed.
Comment 25•7 months ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #22)
dofficialgman please run Firefox on terminal with MOZ_GFX_DEBUG=1 env variable and attach the output here.
Thanks.
MOZ_GFX_DEBUG=1 firefox
GLX_TEST: childgltest start
GLX_TEST: get_pci_status start
GLX_TEST: get_pci_status finished
GLX_TEST: x11_egltest start
GLX_TEST: get_egl_status start
GLX_TEST: get_egl_gl_status start
GLX_TEST: get_egl_gl_status finished
GLX_TEST: get_egl_status finished with return: 1
GLX_TEST: get_xrandr_info start
GLX_TEST: get_xrandr_info finished
GLX_TEST: x11_egltest finished
VENDOR
NVIDIA Corporation
RENDERER
NVIDIA Tegra X1 (nvgpu)/integrated
VERSION
OpenGL ES 3.2 NVIDIA 32.3.1
TFP
TRUE
WARNING
drmGetDevices2 failed
DDX_DRIVER
NVIDIA-0;
TEST_TYPE
EGL
GLX_TEST: childgltest finished
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: drmGetDevices2 failed (t=2.10558) [GFX1-]: glxtest: drmGetDevices2 failed
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: drmGetDevices2 failed (t=2.10558) |[1][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=7.37165) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
Updated•7 months ago
|
Comment 26•7 months ago
|
||
Martin. Is there anything else you need from me to help move this forward? It has been a couple of weeks and I see you flagged yourself as needinfo.
Comment 27•6 months ago
|
||
(In reply to dofficialgman from comment #26)
Martin. Is there anything else you need from me to help move this forward? It has been a couple of weeks and I see you flagged yourself as needinfo.
It's still on my TODO list, no info needed.
Description
•