Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen and freezes at some titles #11

Open
gandalfthewhite19890404 opened this issue Jun 26, 2018 · 6 comments
Open

Black screen and freezes at some titles #11

gandalfthewhite19890404 opened this issue Jun 26, 2018 · 6 comments

Comments

@gandalfthewhite19890404
Copy link

gandalfthewhite19890404 commented Jun 26, 2018

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
Copy link
Contributor

dracc commented Jun 26, 2018

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

@gandalfthewhite19890404 gandalfthewhite19890404 changed the title Black screen at some titles Black screen and freezes at some titles Jul 4, 2018
@JayFoxRox
Copy link
Member

JayFoxRox commented Jul 12, 2018

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
Copy link
Author

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
Copy link
Member

JayFoxRox commented Oct 23, 2019

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants