xqemu / xqemu-manager

Simple graphical user interface to manage XQEMU
http://xqemu.com
GNU General Public License v2.0
34 stars 10 forks source link

Black screen and freezes at some titles #11

Open gandalfthewhite19890404 opened 6 years ago

gandalfthewhite19890404 commented 6 years ago

Tested and confirmed in Grand Theft Auto San Andreas - with xqemu-manager it stucks (black screen - BS) after copyright screen just before Press Start. With bat-file it boots and after pressing Start button assertion error (its not xqemu-manager bug, already reported to xqemu's issue-tracker). Tested on 5d4058d6. Bat-file: xqemu.exe -cpu pentium3 -machine xbox,short_animation,bootrom=mcpx.bin -bios bios.bin -m 64 -drive index=0,media=disk,file=hdd.qcow2,locked -drive index=1,media=cdrom,file=gtasa.iso -usb -device usb-xbox-gamepad

Titles (tested on xqemu-manager): Grand Theft Auto San Andreas - BS after "Press Start" screen Lord of the Rings: Third age - freezes (maybe its working, but I am not sure) at main menu, input is not response. Also it has some graphic glitches - yellow garbage. Mortal Kombat Deception - BS after credits screen, just before FMVs.

dracc commented 6 years ago

What version (commit number) of xqemu are you running?

JayFoxRox commented 6 years ago

Comparison of provided CLI and what XQEMU-Manager would do:

CLI:

xqemu.exe
-cpu pentium3
-machine xbox,short_animation,bootrom=mcpx.bin
-bios bios.bin
-m 64
-drive index=0,media=disk,file=hdd.qcow2,locked
-drive index=1,media=cdrom,file=gtasa.iso
-usb -device usb-xbox-gamepad

XQEMU-Manager:

# xqemu_path,
# '-cpu','pentium3',
# '-machine','xbox,bootrom=%(mcpx_path)s%(short_anim_arg)s' % locals(),
# '-m','64',
# '-bios', '%(flash_path)s' % locals(),
+ '-net','nic,model=nvnet',
+ '-net','user',
# '-drive','file=%(hdd_path)s,index=0,media=disk%(hdd_lock_arg)s' % locals(),
# '-drive','index=1,media=cdrom%(dvd_path_arg)s' % locals(),
+ '-qmp','tcp:localhost:4444,server,nowait']
- (usb gamepad)

Except for a small difference in order, the major differences are QMP (which shouldn't affect emulation at all) and the nic.

Can you confirm that GTA: SA also works from CLI when using the nic? We had similar issus in Halo: CE. Alternatively, try removing the nic from XQEMU-Manager temporarily. Also re-run games a couple of times - XQEMU still has various timing issues and does not behave the same way every time, so you could have gotten unlucky when running through XQEMU-Manager.

gandalfthewhite19890404 commented 6 years ago

It doesn't helps in GTA SA - still black screen just before Press Start, checked twice. Bat-file content: xqemu.exe -cpu pentium3 -machine xbox,short_animation,bootrom=D:\xb\xqemu2.0\mcpx.bin -bios D:\xb\xqemu2.0\bios.bin -m 64 -drive index=0,media=disk,file=D:\xb\xqemu2.0\hdd.qcow2,locked -drive index=1,media=cdrom,file=D:\xb\xqemu2.0\gtasa.iso -usb -device usb-xbox-gamepad,port=3 -net nic,model=nvnet -net user -qmp tcp:localhost:4444,server,nowait

JayFoxRox commented 4 years ago

We have changed how we run XQEMU in #48.

Does this problem still exist?

You can also compare the command line you manually use, and the command line generated by XQEMU-Manager (added in #25)

dominikhaid commented 3 years ago

i have the same issue. gta sa freezes after the title screen.

system is debian 11 graphicard is a gtx 970

./i386-softmmu/qemu-system-i386 \ -cpu pentium3 \ -machine xbox,bootrom=/media/dominik/data-ext/games/roms/xbox/bios/mcpx_1.0.bin \ -m 64 \ -bios /media/dominik/data-ext/games/roms/xbox/bios/bios_retail_4627.bin \ -drive index=0,media=disk,file=/media/dominik/data-ext/games/roms/xbox/bios/xbox_hdd.qcow2,locked \ -drive index=1,media=cdrom,file=/media/dominik/data-ext/games/roms/xbox/gta-sa/gta-sa.iso \ -usb -device usb-xbox-gamepad

console shows: dsp_init dsp_init gloffscreen: GLX_VERSION = 1.4 gloffscreen: GLX_VENDOR = NVIDIA Corporation ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active ac97: invalid bm_index(3) in voice_set_active

dominikhaid commented 3 years ago

Ninja Gaiden also crashes after i hit new game, didnt try an other games jet.