-
Notifications
You must be signed in to change notification settings - Fork 402
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
[🐧] GNU+Linux compatibility progress #1430
Comments
Issues with EmuHawkStartup issues:
Misc. issues:
CoresIssues with Mupen
Issues with TI83Hawk
Building and packagingDependencies are being recorded (so build scripts can be made) in the GitLab mirror's snippets. On multi-arch distros, target x86_64/amd64. For the record I've mostly focused on Manjaro (which I use), Nix/NixOS, Linux Mint, and Ubuntu. --yoshi
Don't know where else to leave these:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
EmuHawk: SharpCompress implementation for Mono - TASEmulators#1430
…licks 'open firmware folder'. This mitigates the 'Folder open dialog crash' referenced in TASEmulators#1430
This comment has been minimized.
This comment has been minimized.
That seems very odd, it's for some reason failing here. This is also somehow after it works here, so ??? Could you try doing |
That worked! |
That's odd, that's indicating that EGL seems to be initially succeeding but failing when trying to use it for a second window. Best guess perhaps is SDL not cleaning up the window surface of the initial test window somehow interfering with this. Could you try replacing the libSDL2.so in the dll folder with this build and see if it works (without the export)? libSDL2.zip |
Replacing the lib with the one you linked gave me the same error (and as expected, it works if I override the SDL_VIDEO_X11_FORCE_EGL env variable):
|
Looking at BizHawk's code, I could perhaps actually be mislead by the issue, since the context creation might also fail in the static ctor, but it wouldn't be reported. This might be more a bug in BizHawk's fallback code, since it doesn't explicitly unload the library? I've changed the code in the latest commit, see if a dev build here changes things? |
I can confirm you it works now! |
Something broke very recently (using the build from https://nightly.link/TASEmulators/BizHawk/workflows/ci/master/BizHawk-dev-linux.zip): console``` ./EmuHawkMono.sh 20:40:26 Unknown distro, assuming system-wide libraries are in /usr/lib... (capturing output in /home/me/bizhawk/EmuHawkMono_last*.txt)=================================================================
|
To be clear, does this also happen with 2.10? |
I can't reproduce (Ubuntu 24.04.1). What linux version/distro are you using? Does this crash happen immediately when opening BizHawk, or only after a certain action? |
You guys are right, 2.10 doesn't work either anymore, crashing with the same output. to recap: NVIDIA+i3 = doesn't work. |
sdl2-compat doesn't matter as BizHawk uses its own vendored SDL2 (for good reason, we cannot rely on system packages being up to date enough for some rather bleeding edge "features" (or more bugfixes) being used). I would suspect this is just a driver bug here regardless. Something to possibly try is pass the env var |
|
Yeah, BizHawk will try to use EGL first with SDL before falling back on GLX with SDL if that does not work. In this case, sounds like EGL driver code is bugged for pure X11 somehow and ends up crashing (instead of doing something sane like fail gracefully allowing for an automatic fallback) |
This doesn't fix the issue for me, instead it produces an exciting new error:
ninja edit because i forgot: I'm running Nobara (Fedora) 41, KDE, Wayland, on an Nvidia GPU. |
This is a known issue, and is specifically what using EGL is supposed to fix (because another driver bug making GLX not work for whatever reason) To be clear, you're running Wayland here (or more XWayland in this case), which reportedly didn't have this issue. So you have the above issue now with Wayland??? |
Apparently so, unfortunately. Is there any diagnostics I could do that might provide more information? |
You could pass |
For the issues with the Nvidia driver on Wayland it might be worth setting |
Is there a solution for getting custom fonts to work on Ubuntu (24.04)? I have it installed to Edit: using 2.10 release |
It seems to have mysteriously fixed itself |
Nevermind my previous comment, it fixed itself after applying this argument, even though something in the script complains |
|
@champred CNR on Ubuntu 22.04. Do you mean the font is rendering incorrectly (expected due to aliasing, window scale, and A.R. correction) or not at all? |
Here's a picture of what it looks like. Apologies for the poor quality, as this is running on Steam Deck (using distrobox). It seems to be using some default fallback font. Although if it's just an aliasing issue it's possible there's a setting I could change? |
I mean it resembles Franklin Gothic. You can check by passing a nonexistent font and observing the difference. I believe even the rewrite doesn't support anti-aliasing, sorry. |
gui.drawText still just uses GDI+ which on Linux is just still whatever shoddy half-baked implementation libgdiplus provides. |
Is there a reason why the N64 ares core in bizhawk is significantly slower than ares-emu's own N64 core? I assumed perfs would be identical since the core is the same. |
parallel-rdp, which upstream ares uses, is swapped out with angrylion. parallel-rdp uses the GPU to render while angrylion does everything on the CPU. For technical reasons (mainly to do with waterboxing) this swap is "required" so far. |
jump to known bugs
Overview:
DllNotFoundException
:libbizhash
when opening any rom on Linux AArch64 #3687. Contributions welcome.Dist/BuildRelease.sh
.output/EmuHawkMono.sh
.EmuHawkMono.sh
are passed through as expected. The single exception is if you pass--mono-no-redirect
as the first flag, which disables redirecting stdout/stderr toEmuHawkMono_last*.txt
(the default behaviour is to write to disk instead of the terminal).EmuHawkMono_last*.txt
, some appear in dialog boxes, some both. Most of these error dialogs will either have a "Copy" button, or will allow Ctrl+C.As of 2.10, the following systems can be emulated:
The text was updated successfully, but these errors were encountered: