-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OGRE doesn't display meshes anymore with Intel GPU enabled #744
Comments
On another laptop, having an Intel GPU only, the meshes are displayed correctly. Here OpenGL (glxinfo) reports:
I conclude that the issue is related to Microsoft's D3D12 renderer. |
As a workaround, you can set the environment variable |
Can I provide any more information to resolve this issue? |
I have this happening with an Intel Iris XE graphics card, with the MESA drivers installed. setting LIBGL_ALWAYS_SOFTWARE=true does correctly render. So looking for a hardware accelerated fix. |
This looks like dup of #554. |
@hideyukn88, I don't think this is only related to Intel GPUs, but to |
@rhaschke, we did verification internally at our side, and it is working fine on NVIDIA GPU, while Intel Iris Xe renders black contents (but interestingly it works fine with Intel UHD 620 GPU). Would you please let us know your NVIDIA GPU model and driver version? And if you can take screenshot of app, it's helpful too, thanks! |
@rhaschke, please refer below for switching GPUs, and if it reproduces with NVIDIA, would you please share the driver version, thanks! https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10710 |
Switching the GPU via the env variable NVIDIA driver: 30.0.15.1236 Looks like my WSL wasn't updated for a while. However, Windows Update doesn't report any pending updates.
|
They changed the variable name from |
@jorolf |
I'm maintaining an OpenGL application, called rviz, that doesn't correctly display meshes since a few weeks: ros-visualization/rviz#1748
Simple geometries are correctly rendered. As the program runs fine on Linux natively and we didn't changed the rendering pipeline recently, I'm afraid this issue is related to some recent change in WSLg or Mesa.
Looks like WSLg forwards OpenGL via the Mesa driver to the NVIDIA card. I tried building against both, Ogre 1.9 (default) and Ogre 1.12 (which is the underlying rendering library). Both fail to display meshes. Using another application,
meshlab
, the meshes render correctly.Was there any change released recently that could explain this regression?
Environment
WSL logs following these instructions: WslLogs-2022-05-24_14-22-30.zip
I'm using a laptop with an integrated Intel UHD and an NVIDIA GeForce graphics card. I'm using default graphics settings (power saving using Intel UHD). However, OpenGL (glxinfo) lists the NVIDIA card being used by WSLg:
The text was updated successfully, but these errors were encountered: