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

not work in opendingux? #104

Closed
Ninoh-FOX opened this issue Jun 13, 2021 · 5 comments
Closed

not work in opendingux? #104

Ninoh-FOX opened this issue Jun 13, 2021 · 5 comments
Assignees
Milestone

Comments

@Ninoh-FOX
Copy link

Ninoh-FOX commented Jun 13, 2021

I have this error when finally I am build the system with sdl12-compat

RG280V:/media/data/local/home # gmenu2x
INFO: sdl12-compat, built on Jun 12 2021 at 15:32:17, talking to SDL2 2.0.12
---- GMenu2X starting ----
INFO: FIXME: support SDL_INIT_EVENTTHREAD where it makes sense? (SDL_InitSubSystem:1594)
INFO: FIXME: there is never a parachute in SDL2, should we catch segfaults ourselves? (SDL_Init:1622)
The path /dev/dri/ cannot be opened or is not available
The path /dev/dri/ cannot be opened or is not available
INFO: FIXME: Should we offer scaling for windowed modes, too? (SDL_SetVideoMode:3819)
INFO: FIXME: currently ignores SDL_WINDOWID, which we could use with SDL_CreateWindowFrom ...? (SDL_SetVideoMode:3836)
INFO: FIXME: handle SDL_ANYFORMAT (SDL_SetVideoMode:3850)
INFO: FIXME: There's an environment variable to choose a display (SDL_SetVideoMode:3857)
INFO: FIXME: This should only save the dst rect in use (SaveDestAlpha:4152)
INFO: FIXME: this could be SIMD'd (SaveDestAlpha:4173)
INFO: FIXME: this could be SIMD'd (RestoreDestAlpha:4214)
RG280V:/media/data/local/home # 
RG280V:/media/data/local/home # retroarch
INFO: sdl12-compat, built on Jun 12 2021 at 15:32:17, talking to SDL2 2.0.12
[INFO] RetroArch 1.9.3 (Git 3187c87)
[INFO] === Build =======================================
[INFO] Capabilities: 
[INFO] Built: May 15 2021
[INFO] Version: 1.9.3
[INFO] Git: 3187c87
[INFO] =================================================
[INFO] [Input]: Found input driver: "sdl_dingux".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ 320x240
INFO: FIXME: there is never a parachute in SDL2, should we catch segfaults ourselves? (SDL_Init:1622)
INFO: FIXME: support SDL_INIT_EVENTTHREAD where it makes sense? (SDL_InitSubSystem:1594)
The path /dev/dri/ cannot be opened or is not available
The path /dev/dri/ cannot be opened or is not available
INFO: FIXME: Should we offer scaling for windowed modes, too? (SDL_SetVideoMode:3819)
INFO: FIXME: currently ignores SDL_WINDOWID, which we could use with SDL_CreateWindowFrom ...? (SDL_SetVideoMode:3836)
INFO: FIXME: handle SDL_ANYFORMAT (SDL_SetVideoMode:3850)
INFO: FIXME: There's an environment variable to choose a display (SDL_SetVideoMode:3857)
INFO: FIXME: bgr instead of rgb? (SDL_SetVideoMode:3876)
INFO: FIXME: don't do anything if the window's dimensions, etc haven't changed. (SDL_SetVideoMode:3884)
INFO: FIXME: we need to preserve VideoSurface12 (but not its pixels), I think... (SDL_SetVideoMode:3885)
fbdev_display succesful
Kernel: Vivante GPL kernel driver 4.6.6.1381

maybe I need edit the code programs too?

@icculus
Copy link
Collaborator

icculus commented Jun 13, 2021

Did it crash in some way? sdl12-compat currently logs a lot of FIXME lines but should still generally work.

@Ninoh-FOX
Copy link
Author

I am testing it in some programs, the menu does not see an image (the application launcher), and in the emulators, the screen does not send a correct image at all.

everything else fine, sound and controls, but the image is the problem.

@icculus
Copy link
Collaborator

icculus commented Jun 19, 2021

Sounds like the same problem as #110

@Ninoh-FOX
Copy link
Author

Ninoh-FOX commented Jun 19, 2021

Well, some grafics works, and sound not has problems.

Anyway, I have the sdl 2.0.12 with mods for works in OD, maybe this is the problem. I don't know.

This is my config:

https://github.com/Ninoh-FOX/toolchain/tree/master/package/sdl_compat

@icculus
Copy link
Collaborator

icculus commented Sep 1, 2022

I believe I just fixed this issue, but I do not have an environment to test this.

If the latest sdl12-compat (and possibly SDL 2.24.0) doesn't fix your issue, please let me know and I'll reopen this bug. Thanks!

@icculus icculus self-assigned this Sep 1, 2022
@icculus icculus added this to the 1.2.54 milestone Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants