Thank you for your reply. I tried to start 0ad by adding the SDL_DEVEODRIVE variable, but it still doesn't seem to have changed as before. Below is the startup log:
yushun@MiWiFi-RD03-srv:~$ SDL_VIDEODRIVER=wayland /usr/bin/0ad
TIMER| InitVfs: 359.264 us
FILES| Main log written to '/home/yushun/.config/0ad/logs/mainlog.html'
FILES| Interesting log written to '/home/yushun/.config/0ad/logs/interestinglog.html'
TIMER| CONFIG_Init: 4.18419 ms
Sound: AlcInit success, using OpenAL Soft
FILES| UserReport written to '/home/yushun/.config/0ad/logs/userreport_hwdetect.txt'
TIMER| RunHardwareDetection: 2.74501 ms
FILES| Hardware details written to '/home/yushun/.config/0ad/logs/system_info.txt'
TIMER| write_sys_info: 16.2195 ms
TIMER| InitRenderer: 2.70123 ms
TIMER| ps_console: 11.3407 ms
TIMER| ps_lang_hotkeys: 1.25768 ms
TIMER| common/modern/setup.xml: 121.536 us
TIMER| common/modern/styles.xml: 87.064 us
TIMER| common/modern/sprites.xml: 789.562 us
TIMER| common/global.xml: 235.866 us
TIMER| common/setup.xml: 134.072 us
TIMER| common/sprites.xml: 262.626 us
TIMER| common/styles.xml: 39.994 us
TIMER| pregame/backgrounds/: 88.39 us
TIMER| pregame/sprites.xml: 79.002 us
TIMER| pregame/styles.xml: 13.495 us
TIMER| pregame/mainmenu.xml: 17.082 ms
I noticed that in the userreportaw_wdetect.txt log, the sdl backend is already Wayland.
Thank you again for your reply,and @Stan`, Thank you.
mainlog.html
system_info.txt
userreport_hwdetect.txt
Hello everyone, after I switched the GNOME desktop to Wayland, 0 A.D. can no longer start properly: the interface doesn't load, but there is sound.
Does anyone know what's going on? Everything was OK, when using Xorg.
The IS is fedora40, Display interface: Nvidia GTX1660SUPPER.
Appreciate any help.