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

Raspberry 4 using a X-Server #68

Open
GODinHELL opened this issue Jul 13, 2022 · 1 comment
Open

Raspberry 4 using a X-Server #68

GODinHELL opened this issue Jul 13, 2022 · 1 comment

Comments

@GODinHELL
Copy link

Hello,

not sure if this a issue or a config problem / missing installed package.

Due to problems with the HDMI ports of my Raspi board I tried to get the emulator working in vnc and X-Server enviroment.
I was able to get an output on my installed X-Server (VcXsrv on Windows 10). after starting the emulator on my raspi via putty with X11 configuration over ssh I have the gui and I'm able to load a config. But after starting the "machine" I only get a black screen. uae4arm is still running, F12 brings up the gui again.

Am I missing something here?

output in my terminal:

pi@retropie:~ $ ./startUAE.sh
Launching ...
./uae4arm
Uae4arm v1.0 by Chips
Based on uae version: 3.5.0
Git revision: 177c2f0
Will use keycode from x11 mapping.
Joystick 0 : SPEEDLINK COMPETITION PRO Game Controller for Android
Axis : 6
Hats/DPads: 1
Buttons : 15
DispmanX: Host resolution: 1280 x 1080 32 bpp
starting sound thread..
DispmanX: Emulation resolution: Width 640 Height: 540
DispmanX: Emulation resolution: Width 640 Height: 540

Any suggestions?

@Chips-fr
Copy link
Owner

dispmanx doesn't works over vnc. dispmanx layers are not blit in the framebuffer hence you only see black area in vnc.
i remember that there are some vnc server using dispmanx api, and with one of thoses vnc server i was able to see uae4arm screen over vnc.
The simplest solution it to switch to another rendering layer in uae4arm. SDL is available and works over vnc (but is slower due to software rendering). for opengles i don't remember.
Look in makefile and replace "HAVE_DISPMANX = 1" with either "HAVE_SDL_DISPLAY = 1" or "HAVE_GLES_DISPLAY = 1" then recompile.

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