Open JetA2 opened 4 days ago
When returning from mame, only the thumbnail of the selected game is drawn. When navigating the UI, the thumbnails are redrawn as the selection square passes over them.
You mean the other thumbnails are blank? Do you have image cache enabled in AM options? Can you share the console log when the issue happens?
Image cache size is zero in AM settings.
I made some screenshots:
Immediately after returning from mame:
After pressing "right" once (when navigating further, more thumbnails appear):
Here's the log, no errors that I can see:
Attract-Mode Plus v3.0.9 (Linux, SFML 2.6.0 +Xinerama +7z +Curl)
avcodec 61.3.100 / avformat 61.1.100 / swscale 8.1.100 / avutil 59.8.100 / swresample 5.1.100
Config: /home/icade/.attract/attract.cfg
*** Initializing display: 'mame'
- Loaded master romlist 'mame' in 42 ms (721 entries kept, 12997 discarded)
- Constructed 44 filters in 5 ms (31724 comparisons)
- Loaded layout: /home/icade/.attract/layouts/Arcadeflow-17.4/ (layout.nut)
- Working directory: /home/icade/.mame/
*** Running: /usr/bin/mame vaportra
Apart from this, everything works great and it's an awesome frontend!
Ok, I cannot check on my rig at the moment, but could you try to go in AF options, Performance and FX, and enable the raspberry Pi fix? That should force a reload of the layout and bypass the issue, until I find a way to fix it
The raspberry pi fix does bypass the issue.
Checked on my macBook and I see no issues, tomorrow I'll check with Ubuntu. Have you tried setting NonBLockingModeWait in the emulator .cfg file at a larger value?
NonBlockingModeWait does make the layout reload when returning, but it has some side effects. The first time mame is launched, it seems to be behind the frontend. All I see is the empty AF background but I can press escape to return to AF. AF is then in a window instead of full screen. I can launch mame normally after that but AF remains in a window.
This is an Arch related issue, I just tried with Ubuntu 24.04 and although it has tons of problems (like audio in Retroarch not working, fullscreen not being consistent and stupid popups when retroarch starts) there is no issue when coming back from a game. Are you on Groovy Arcade?
Ok, thanks for testing. I'm not using GroovyArcade, just a fresh Arch Linux install and the Arch mame package with AM+ compiled on the same machine.
I'm running sway as window manager (wayland). I can set mame to run with wayland, but attractplus still falls back to X11 using Xwayland. I'd like to test running everything with the wayland driver. Is there a way to specify the video driver with AM?
Otherwise it might be a graphics hardware driver issue. The i915 driver is the one in use on my machine.
Since the "Raspberry Pi Fix" fixes the issue, are there any undesired side effects with this fix?
When returning from mame, only the thumbnail of the selected game is drawn. When navigating the UI, the thumbnails are redrawn as the selection square passes over them.
Using X on Arch Linux, AM+ and AF 17.4
It sounds a lot like this old issue, but it doesn't happen in other layouts, only in AF: https://github.com/oomek/attractplus/issues/32