Skip to content
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

MESA ERROR #1283

Open
1 of 2 tasks
Perdixky opened this issue Sep 7, 2024 · 10 comments
Open
1 of 2 tasks

MESA ERROR #1283

Perdixky opened this issue Sep 7, 2024 · 10 comments

Comments

@Perdixky
Copy link

Perdixky commented Sep 7, 2024

Windows Version

Microsoft Windows [version 10.0.26120.1542]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.36.6

Distro Version

Ubuntu 24.04

Other Software

No response

Repro Steps

When I use the GUI, I usually see error messages related to rendering, but they don't generally affect usage:

> gz sim
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
> emacs
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

However, recently when using gnome-font-viewer, I encountered the following:

libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
MESA: error: Failed to attach to x11 shm

It displays a transparent box, making it unusable.

Expected Behavior

I hope there is a solution to open gnome-font-viewer. In fact, I don't really understand graphic rendering and am not sure whether the problem lies with OPENGL, MESA, dzn, or Vulkan.

Actual Behavior

MESA: error: Failed to attach to x11 shm

Diagnostic Logs

No response

Copy link

github-actions bot commented Sep 7, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

@Perdixky
Copy link
Author

Perdixky commented Sep 8, 2024

Copy link

github-actions bot commented Sep 8, 2024

Diagnostic information
.wslconfig found
	Custom kernel found: 'C:\Windows\System32\lxss\tools\kernel'
Detected appx version: 2.2.4.0

@Perdixky
Copy link
Author

Perdixky commented Sep 8, 2024

Diagnostic information

.wslconfig found
	Custom kernel found: 'C:\Windows\System32\lxss\tools\kernel'
Detected appx version: 2.2.4.0

The kernel was compiled and installed by me using the kernel from https://github.com/microsoft/WSL2-Linux-Kernel. Detailed version information:

commit e458890574d4b6d635880180ef9e5d2b621ff577 (HEAD -> linux-msft-wsl-6.6.y, tag: linux-msft-wsl-6.6.36.6, origin/linux-msft-wsl-6.6.y, origin/HEAD)
Merge: 149cbd13f7c0 6cb123f853df
Author: Mitchell Levy <[email protected]>
Date:   Tue Sep 3 14:23:23 2024 -0700

    Merge tag 'rolling-lts/wsl/6.6.36.6' into linux-msft-wsl-6.6.y

    Linux rolling-lts/wsl/6.6.36.6

    Signed-off-by: Mitchell Levy <[email protected]>

@uureel
Copy link

uureel commented Sep 8, 2024

don't run wslg stuff as root

@Perdixky
Copy link
Author

Perdixky commented Sep 9, 2024

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

@uureel
Copy link

uureel commented Sep 9, 2024

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try
ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/0/
dbus-run-session gnome-font-viewer

@OneBlue OneBlue transferred this issue from microsoft/WSL Sep 10, 2024
@Perdixky
Copy link
Author

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/0/ dbus-run-session gnome-font-viewer

I have only one folder named 1002 under my /run/user directory, so I used the following command:

> noglob sudo ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/1002/
> dbus-run-session gnome-font-viewer

However, the following error was still thrown:

libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
dbus-daemon[1149]: [session uid=0 pid=1149] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=0 pid=1150 comm="gnome-font-viewer" label="kernel")
dbus-daemon[1149]: [session uid=0 pid=1149] Successfully activated service 'org.a11y.Bus'
MESA: error: Failed to attach to x11 shm
dbus-daemon[1183]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=1150 comm="gnome-font-viewer" label="kernel")
dbus-daemon[1183]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
MESA: error: Failed to attach to x11 shm

@ACGNnsj
Copy link

ACGNnsj commented Oct 14, 2024

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try ln -sf /mnt/wslg/runtime-dir/wayland* /run/user/0/ dbus-run-session gnome-font-viewer

Thanks. It seems to work for me.

@skemo12
Copy link

skemo12 commented Oct 23, 2024

Any updates on this ? I am getting this warning on python3 matlib plot.

WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070 Ti)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterizatio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants