-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dolphin: updates to build and configuration #3868
Conversation
It might break the additions in #3785, but I'll update any of the PRs if a conflict comes up if either of them is merged. |
Maybe I should open this as a separate issue but using this new dolphin.sh I just tested with dolphin-gui on a Pi 5, this error message box appears, if I click ok it loops, if I ignore the screen becomes garbled as below. It's similar to the garbled image that was affecting SDL2 on ppsspp, cannonball etc, so perhaps it's a similar issue? This is the text from the bad_ps_OGL_0.txt file `#version 310 es #define FORCE_EARLY_Z layout(early_fragment_tests) in #define ATTRIBUTE_LOCATION(x) #define VARYING_LOCATION(x) #extension GL_OES_geometry_point_size : enable ` |
@retropieuser I'm not familiar with that error and I don't think is related to this PR. The |
I'll set it to draft to check the fullscreen settings again. |
Modified the module to update the dependencies and improve the initial configuration * Build changes: - build dependencies modified to include SDL2. Latest version (as of Jan 2024) enable SDL2 by default on Linux and use it for input auto-configuration. Gamepads detected using SDL's GameController API are automatically configred based on their mappings. - disable analytics and update support durign the build. Updates are handled by RetroPie-Setup and - unfortunately - analytics require a keyboard/mouse to get over the initial agreement pop-up that is presented to the user on the 1st run. * Configuration updates: - on KMS systems, start Dolphin via X11 by using the `XINIT-WM` launc prefix, which instructs `runcommand` to start a minimal desktop env. - change the location of the configuration folder, since now Dolphin follows the XDG specs and uses `$XDG_CONFIG_HOME` to store its settings. It will not affect existing installations, since we symlink-it to the configuration folder anyway and Dolphin will look in the previous location first. - pre-set a few initial configuration options in the main `Dolphin.ini` configuration file, upating existing options - add a new pre-set for the graphics backend configuration file in `GFX.ini` to switch to GLES3 on platforms where it is available. It should help the Pi5 but also other SBCs we support (i.e. OrangePi5 / RK3399) to startw the correct rendering backend. - set the '-gui' variant as default. Since the 'nogui' doesn't seem to read the configuration files correctly (i.e. no Fullscreen or Hotkeys are working), use the main program started with '--batch' to run a game
I've fixed that garbled screen error btw, turning off panic handlers in dolphin.ini Interface works for me:- [Display] It boots into the WM window itself with the border, but it's working with hotkey exit etc, so it's still better than dolphin-emu-nogui |
thank you. |
Modified the module to update the dependencies and improve the initial configuration
Build changes:
Configuration updates:
XINIT-WM
launc prefix, which instructsruncommand
to start a minimal desktop env.$XDG_CONFIG_HOME
to store its settings. It will not affect existing installations, since we symlink-it to the configuration folder anyway and Dolphin will look in the previous location first.Dolphin.ini
configuration file, upating existing optionsGFX.ini
to switch to GLES3 on platforms where it is available. It should help the Pi5 but also other SBCs we support (i.e. OrangePi5 / RK3399) to startw the correct rendering backend.