batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

Xenia setup break #10710

Open edouardlicn123 opened 9 months ago

edouardlicn123 commented 9 months ago

Batocera build version

v38

Your architecture

PC

Your Graphic Processor Unit (GPU)

Dedicated (e.g. GTX 1050; Radeon R9 380)

Graphical brand

Nvidia

Issue description

When I run the Xenia setup in file manager it shows the Xenia window then quit.And when I run it in terminal it shows logs as below.

Expected result

No response

Reproduction steps

Run and quit quicky.

Logs and data

2023-12-30 07:45:47,412 DEBUG (emulatorlauncher:124):start_rom Running system: xbox360 2023-12-30 07:45:47,418 INFO (Emulator.py:85):game_settings_name game settings name: config 2023-12-30 07:45:47,418 DEBUG (unixSettings.py:21):init Creating parser for /userdata/system/batocera.conf 2023-12-30 07:45:47,421 DEBUG (unixSettings.py:69):loadAll Looking for global. in /userdata/system/batocera.conf 2023-12-30 07:45:47,423 DEBUG (unixSettings.py:69):loadAll Looking for controllers. in /userdata/system/batocera.conf 2023-12-30 07:45:47,424 DEBUG (unixSettings.py:69):loadAll Looking for xbox360. in /userdata/system/batocera.conf 2023-12-30 07:45:47,426 DEBUG (unixSettings.py:69):loadAll Looking for xbox360.folder[""]. in /userdata/system/batocera.conf 2023-12-30 07:45:47,428 DEBUG (unixSettings.py:69):loadAll Looking for xbox360["config"]. in /userdata/system/batocera.conf 2023-12-30 07:45:47,430 DEBUG (unixSettings.py:69):loadAll Looking for display. in /userdata/system/batocera.conf 2023-12-30 07:45:47,432 DEBUG (Emulator.py:46):init uimode: Full 2023-12-30 07:45:47,432 DEBUG (unixSettings.py:69):loadAll Looking for xbox360-renderer. in /userdata/system/batocera.conf 2023-12-30 07:45:47,434 DEBUG (unixSettings.py:69):loadAll Looking for xbox360["config"]-renderer. in /userdata/system/batocera.conf 2023-12-30 07:45:47,436 DEBUG (emulatorlauncher:136):start_rom Settings: {'emulator': 'xenia', 'core': 'xenia', 'hud_support': False, 'videomode': 'default', 'ratio': 'auto', 'video_threaded': False, 'smooth': True, 'shaderset': 'sharp-bilinear-simple', 'rewind': False, 'bezel': 'consoles', 'forceNoBezel': False, 'gamemode_enable': False, 'video_frame_delay_auto': True, 'controllers.bluetooth.enabled': '1', 'controllers.ps3.enabled': '1', 'controllers.ps3.driver': 'bluez', 'controllers.xarcade.enabled': '1', 'controllers.gpio.enabled': '0', 'controllers.gpio.args': 'map=1,2', 'controllers.db9.enabled': '0', 'controllers.db9.args': 'map=1', 'controllers.gamecon.enabled': '0', 'controllers.gamecon.args': 'map=1', 'netplay': '0', 'netplay.port': '55435', 'showFPS': 'false', 'uimode': 'Full', 'emulator-forced': False, 'core-forced': False} 2023-12-30 07:45:47,436 DEBUG (emulatorlauncher:138):start_rom emulator: xenia, core: xenia 2023-12-30 07:45:47,436 INFO (emulatorlauncher:154):start_rom guns disabled. 2023-12-30 07:45:47,436 INFO (emulatorlauncher:167):start_rom wheels disabled. 2023-12-30 07:45:47,488 DEBUG (emulatorlauncher:184):start_rom minTomaxResolution 2023-12-30 07:45:47,488 DEBUG (emulatorlauncher:185):start_rom video mode before minmax: 1440x900.59.90 2023-12-30 07:45:47,633 DEBUG (emulatorlauncher:191):start_rom current video mode: 1440x900.59.90 2023-12-30 07:45:47,633 DEBUG (emulatorlauncher:192):start_rom wanted video mode: default 2023-12-30 07:45:47,680 DEBUG (emulatorlauncher:204):start_rom resolution: 1440x900 2023-12-30 07:45:47,680 DEBUG (videoMode.py:74):changeMouse changeMouseMode(True) 2023-12-30 07:45:47,686 DEBUG (emulatorlauncher:479):callExternalScripts calling external script: ['/usr/share/batocera/configgen/scripts/powermode_launch_hooks.sh', 'gameStart', 'xbox360', 'xenia', 'xenia', 'config'] 2023-12-30 07:45:47,704 DEBUG (emulatorlauncher:479):callExternalScripts calling external script: ['/usr/share/batocera/configgen/scripts/rotation_fix.sh', 'gameStart', 'xbox360', 'xenia', 'xenia', 'config'] 2023-12-30 07:45:47,707 DEBUG (Evmapy.py:43):__prepare evmapy on /usr/share/evmapy/xbox360.xenia.keys /var/run/evmapy/ready OPEN 2023-12-30 07:45:48,542 DEBUG (emulatorlauncher:538):runCommand command: WINEPREFIX=/userdata/saves/xenia-bottle LD_LIBRARY_PATH=/usr/lib:/lib32:/usr/wine/proton/lib/wine LIBGL_DRIVERS_PATH=/usr/lib/dri WINEESYNC=1 SDL_GAMECONTROLLERCONFIG= SDL_JOYSTICK_HIDAPI=0 SPA_PLUGIN_DIR=/usr/lib/spa-0.2:/lib32/spa-0.2 PIPEWIRE_MODULE_DIR=/usr/lib/pipewire-0.3:/lib32/pipewire-0.3 SHELL=/bin/sh WINDOWID=16777228 RUNLEVEL=S XDG_CONFIG_DIRS=/etc/xdg XDG_MENU_PREFIX=batocera- XTERM_VERSION=XTerm(388) LANGUAGE= XTERM_SHELL=/bin/bash PWD=/userdata LOGNAME=root WINDOWPATH=2 HOME=/userdata/system LANG=zh_CN.UTF-8 XTERM_LOCALE=C XDG_CACHE_HOME=/tmp/xdg_cache TERM=xterm label=BATOCERA INIT_VERSION=sysvinit- DISPLAY=:0 SHLVL=2 BOOT_IMAGE=/boot/linux XDG_RUNTIME_DIR=/var/run LC_ALL=zh_CN.UTF-8 CONSOLE=/dev/console PATH=/sbin:/usr/sbin:/bin:/usr/bin PREVLEVEL=N DBUS_SESSION_BUSADDRESS=unix:path=/tmp/dbus-K43aRICCco,guid=5f06d7a4ae11b4be0b4bfef8658edfd2 OLDPWD=/ =/usr/bin/emulatorlauncher SDL_RENDER_VSYNC=1 /usr/wine/proton/bin/wine64 /userdata/saves/xenia-bottle/xenia/xenia.exe 2023-12-30 07:45:48,542 DEBUG (emulatorlauncher:539):runCommand command: ['/usr/wine/proton/bin/wine64', '/userdata/saves/xenia-bottle/xenia/xenia.exe'] 2023-12-30 07:45:48,542 DEBUG (emulatorlauncher:540):runCommand env: {'WINEPREFIX': '/userdata/saves/xenia-bottle', 'LD_LIBRARY_PATH': '/usr/lib:/lib32:/usr/wine/proton/lib/wine', 'LIBGL_DRIVERS_PATH': '/usr/lib/dri', 'WINEESYNC': '1', 'SDL_GAMECONTROLLERCONFIG': '', 'SDL_JOYSTICK_HIDAPI': '0', 'SPA_PLUGIN_DIR': '/usr/lib/spa-0.2:/lib32/spa-0.2', 'PIPEWIRE_MODULE_DIR': '/usr/lib/pipewire-0.3:/lib32/pipewire-0.3', 'SHELL': '/bin/sh', 'WINDOWID': '16777228', 'RUNLEVEL': 'S', 'XDG_CONFIG_DIRS': '/etc/xdg', 'XDG_MENU_PREFIX': 'batocera-', 'XTERM_VERSION': 'XTerm(388)', 'LANGUAGE': '', 'XTERM_SHELL': '/bin/bash', 'PWD': '/userdata', 'LOGNAME': 'root', 'WINDOWPATH': '2', 'HOME': '/userdata/system', 'LANG': 'zh_CN.UTF-8', 'XTERM_LOCALE': 'C', 'XDG_CACHE_HOME': '/tmp/xdg_cache', 'TERM': 'xterm', 'label': 'BATOCERA', 'INIT_VERSION': 'sysvinit-', 'DISPLAY': ':0', 'SHLVL': '2', 'BOOT_IMAGE': '/boot/linux', 'XDG_RUNTIME_DIR': '/var/run', 'LC_ALL': 'zh_CN.UTF-8', 'CONSOLE': '/dev/console', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PREVLEVEL': 'N', 'DBUS_SESSION_BUSADDRESS': 'unix:path=/tmp/dbus-K43aRICCco,guid=5f06d7a4ae11b4be0b4bfef8658edfd2', 'OLDPWD': '/', '': '/usr/bin/emulatorlauncher', 'SDL_RENDER_VSYNC': '1'} 2023-12-30 07:45:52,083 DEBUG (emulatorlauncher:549):runCommand i> 00000024 Build: master@f6b5424a9 on Sep 14 2023 i> 00000024 Storage root: Z:\userdata\saves\xenia-bottle\xenia i> 00000024 Loaded config: Z:\userdata\saves\xenia-bottle\xenia\xenia.config.toml i> 00000024 Content root: Z:\userdata\saves\xenia-bottle\xenia\content i> 00000024 Cache root: Z:\userdata\saves\xenia-bottle\xenia\cache w> 00000024 Unable to load Japanese font; JP characters will be boxes i> 0000013C DXGI adapter: NVIDIA GeForce GTX 470 (vendor 0x10DE, device 0x06CD) i> 0000013C Direct3D 12 device and OS features:

2023-12-30 07:45:52,088 DEBUG (emulatorlauncher:479):callExternalScripts calling external script: ['/usr/share/batocera/configgen/scripts/powermode_launch_hooks.sh', 'gameStop', 'xbox360', 'xenia', 'xenia', 'config'] 2023-12-30 07:45:52,099 DEBUG (emulatorlauncher:479):callExternalScripts calling external script: ['/usr/share/batocera/configgen/scripts/rotation_fix.sh', 'gameStop', 'xbox360', 'xenia', 'xenia', 'config'] 2023-12-30 07:45:52,102 DEBUG (videoMode.py:74):changeMouse changeMouseMode(False) 2023-12-30 07:45:53,107 DEBUG (emulatorlauncher:612): Exiting configgen with status 1

dmanlfc commented 8 months ago

There are multiple problems with this issue report.

  1. You don't provide any details of your system correctly. Can it handle the xbox360?
  2. You don't explain the reproduction steps properly.
  3. Attach logs, don't spam the issue report
  4. You didn't attach the error log
  5. You didn't explain anything you have tried.
  6. You don't appear to be launching a rom...

Next steps:

  1. Remove the wine bottle xenia-bottle in your saves folder.
  2. Then update to v39 beta
  3. Finally try xbox360 again with a valid rom on the compatibility list.
  4. Be patient & let the wine bottle get created
edouardlicn123 commented 8 months ago

I have a i5 6500 cpu,Nvidia 1650 graphics card.16 g ram. And now running the 39 beta.

I tried things you mentioned but I can't locate the xenia log.

The problem is,I don't have even run a game,I just try to run the setup xenia in the file browser and it breaks.

How can I found the logs?

hobapli commented 4 months ago

Same issue here, can't solve it.