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

games should work on ChromeOS's Debian Linux without setting MESA_GL_VERSION_OVERRIDE #3053

Open
1 of 11 tasks
hajimehoshi opened this issue Aug 3, 2024 · 2 comments
Open
1 of 11 tasks

Comments

@hajimehoshi
Copy link
Owner

Ebitengine Version

af6072c

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

Go Version (go version)

go version go1.22.5 linux/arm64

What steps will reproduce the problem?

Enable Linux (Debian) on ChromeOS and run an example like go run ./examples/blocks

What is the expected result?

The example runs

What happens instead?

The example failed to launch

2024/08/03 23:06:32 glfw: GLX: Failed to create context: GLXBadFBConfig: the requested API version is unavailable

Anything else you feel useful to add?

       _,met$$$$$gg.          hajimehoshi@penguin 
    ,g$$$$$$$$$$$$$$$P.       ------------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) on Chrome OS aarch64 
 ,$$P'              `$$$.     Kernel: 5.15.117-19680-g54e910f94133 
',$$P       ,ggs.     `$$b:   Uptime: 28 mins 
`d$$'     ,$P"'   .    $$$    Packages: 668 (dpkg) 
 $$P      d$'     ,    $$P    Shell: bash 5.1.4 
 $$:      $$.   -    ,d$$'    DE: Generic 
 $$;      Y$b._   _,d$P'      Theme: CrosAdapta [GTK2/3] 
 Y$$.    `.`"Y$$$$P"'         Icons: Adwaita [GTK2/3] 
 `$$b      "-.__              Terminal: ld-linux-aarch6 
  `Y$$                        CPU: (8) 
   `Y$$.                      Memory: 104MiB / 2783MiB 
     `$$b.
       `Y$$b.                                         
          `"Y$b._                                     
              `"""
@hajimehoshi hajimehoshi added the bug label Aug 3, 2024
@hajimehoshi hajimehoshi added this to the v2.8.0 milestone Aug 3, 2024
@hajimehoshi
Copy link
Owner Author

hajimehoshi commented Aug 3, 2024

MESA_GL_VERSION_OVERRIDE=3.2 go run ./examples/blocks/

worked. Probably this is an issue in the environment, not Ebitengine. See also https://forum.winehq.org/viewtopic.php?t=34889

@hajimehoshi hajimehoshi closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2024
@hajimehoshi hajimehoshi added wontfix and removed bug labels Aug 3, 2024
@hajimehoshi hajimehoshi removed this from the v2.8.0 milestone Aug 3, 2024
@hajimehoshi
Copy link
Owner Author

This should work even without setting MESA_GL_VERSION_OVERRIDE, maybe? Chrome actually works without setting anything.

@hajimehoshi hajimehoshi added this to the v2.8.0 milestone Aug 3, 2024
@hajimehoshi hajimehoshi added bug and removed feature labels Aug 3, 2024
@hajimehoshi hajimehoshi changed the title failed to launch on ChromeOS's Debian Linux games should work on ChromeOS's Debian Linux without setting MESA_GL_VERSION_OVERRIDE Aug 3, 2024
@hajimehoshi hajimehoshi reopened this Aug 3, 2024
@hajimehoshi hajimehoshi modified the milestones: v2.8.0, v2.9.0 Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant