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

Requires X11 on linux #1927

Closed
exalented opened this issue Nov 20, 2024 · 2 comments · Fixed by #1929
Closed

Requires X11 on linux #1927

exalented opened this issue Nov 20, 2024 · 2 comments · Fixed by #1929
Assignees
Labels
Internal The invisible stuff TR1

Comments

@exalented
Copy link

exalented commented Nov 20, 2024

The TRX 4.6 linux release requires X11.

Without env SDL_VIDEODRIVER=x11 ./TR1X (or unsetting it from wayland) I get:

$ ./TR1X
specific/s_shell.c 266 main Game directory: /TR/
specific/s_shell.c 169 S_Shell_ShowFatalError Cannot initialize SDL: wayland not available
$ env SDL_VIDEODRIVER=x11 ./TR1X
specific/s_shell.c 266 main Game directory: /TR/
libtrx/game/input/backends/controller.c 378 M_FindController 0 controllers
specific/s_shell.c 372 S_Shell_CreateWindow Trying GL backend 3.3
..
libtrx/gfx/context.c 136 GFX_Context_Attach OpenGL renderer string: Mesa Intel(R) Arc(tm) A750 Graphics (DG2)
..
game boots fine..

It would be nice to not need x11 moving forward.
I believe the ubuntu:latest image needs wayland.
https://github.com/LostArtefacts/TRX/tools/tr1/docker/game-linux/Dockerfile

@walkawayy walkawayy added the Internal The invisible stuff label Nov 20, 2024
@walkawayy walkawayy moved this to Backlog in TRX Dev tracker Nov 20, 2024
@rr-
Copy link
Collaborator

rr- commented Nov 20, 2024

Hey @exalented can you please check the dev snapshot in #1929?

@rr- rr- moved this from Backlog to In progress in TRX Dev tracker Nov 20, 2024
@rr- rr- self-assigned this Nov 20, 2024
@rr- rr- added the TR1 label Nov 20, 2024
@exalented
Copy link
Author

Only the bottom zip works. TY #1929 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal The invisible stuff TR1
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants