Chips-fr / uae4arm-rpi

Port of uae4arm on Raspberry Pi and Libretro
73 stars 42 forks source link

Raspberry 4 using a X-Server #68

Open GODinHELL opened 2 years ago

GODinHELL commented 2 years ago

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 commented 2 years ago

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.