-
Notifications
You must be signed in to change notification settings - Fork 16
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
Wayland support (Linux)? #6
Comments
i mean |
or cli arguments |
According to the arch wiki, the electron flags are
And the chromium flag (for chromium 97+) is
|
I tried running the client with these flags, and had no luck |
try clonning the repo, editing switches.ts to add your flags and then run the client |
I know how to clone the repo, and i figured out how to edit switches.ts, but I dunno how to run the client.
I have no programming experience. |
it is okay. there are instructions on how to build from source in the readme, but run |
@moonpiedumplings Make sure you have Node installed. npm comes with node. |
|
Ignore the previous comment
However, I get an error.
|
Ignore my comment above, I solved it, it was a stray parenthesis. I launched the program successfully, but everything is broken. First of all, xwayland is still being used. Secondly, I get a black screen with a crosshair, the the ping/fps measures in the top program are chaning values wildly. Unplayable. Appending |
try changing the ANGLE backend to different values in the settings.json file. the options are ['default', 'gl', 'd3d11', 'd3d9', 'd3d11on12', 'vulkan'] |
not sure if |
Yes |
Okay, so I had angle set to vulkan, and after setting it to gl, it works now. 300 fps average. Lag/ping is way better, but occasionally some players teleport. Annoying, but better than players always teleporting. No wayland though, and 300 fps is pitiful because I can get 700 fps when using the amd integrated gpu on the actual laptop screen, rather than on an external monitor. Is there any way I can run this program with the nvidia gpu? |
did you manage to solve this? or? |
i do not have linux installed but i do care about good linux support. If there is anything else i can do, please let me know |
This must be another Electron version related issue, native Wayland works on Electron 17 or above (its supposed to work on 12 or above but didn't work on my machine). |
So is mine, tried to do the above ("pnpm i", "npm run dist", and "npm run dev") but it doesn't work and it keeps saying things like this:
|
most likely an electron problem. also, |
try the wayland flags for electron? (ozone layer or something, not particularly sure) |
What you were suggesting didn't work at all, maybe it's because the electron version of the client is very old. What version of Electron is the Crankshaft client using? |
Yes it is because of old Electron. Crankshaft uses v10. |
after 2 years, i am now using linux with wayland. so if i run into any issues, i'll try to fix them. |
I am having this weird issue where whenever games are played on xwayland or on x11, ping increases a lot and players teleport everywhere.
More info --> https://www.reddit.com/r/archlinux/comments/vh42lx/how_do_i_set_up_reverse_prime_for_an_amd_igpu_and/
Is there any way to run this client natively on wayland, rather than on xwayland? I believe that that would solve my issues.
The text was updated successfully, but these errors were encountered: