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

main: Could not initialize canvas #182

Open
LukeleeTT opened this issue Aug 10, 2022 · 3 comments
Open

main: Could not initialize canvas #182

LukeleeTT opened this issue Aug 10, 2022 · 3 comments

Comments

@LukeleeTT
Copy link

When i use glmark2 on phoronix-test-suite, the error is "could not initialize canvas". And run "glmark2 -d", the error is "couldn't get GL visual config".
When i use glxinfo, the error is "couldn't find RGB GLX visual or fbconfig".
When i run "ps -Af | grep Xorg", print " root 808 783 0 10:23 pts/0 00:00:00 grep Xrog".

What should i do, please.

@Soietre
Copy link

Soietre commented Aug 15, 2022

maybe you should excute "export DISPLAY=:0.0",

@LukeleeTT
Copy link
Author

maybe you should excute "export DISPLAY=:0.0",

I try it , but the result also prints " Could not initialize canvas".

@afrantzis
Copy link
Contributor

afrantzis commented Sep 9, 2022

When i run "ps -Af | grep Xorg", print " root 808 783 0 10:23 pts/0 00:00:00 grep Xrog".

This indicates that Xorg isn't running (you get just your own grep command in the process list), or is the grep output incomplete? Are you running a Wayland compositor with xwayland perhaps: ps -Af | grep Xwayland?

If you are using a Wayland compositor you can also try glmark2-wayland.

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

3 participants