xemu icon indicating copy to clipboard operation
xemu copied to clipboard

Almost Black Screen on Mac M1/Steam Deck (rdna2) and Intel iGPU - Burnout3

Open lehrbua opened this issue 3 years ago • 30 comments

Title

https://xemu.app/titles/4541005b/#Burnout-3-Takedown

Bug Description

Only Race is visible and car select screen without hud Whole Menu + Intro is black.

Expected Behavior

Game is visible.

xemu Version

0.7.67

System Information

OS Platform: macOS OS Version: Version 12.4 (Build 21F79) Manufacturer: Apple GPU Model: Apple M1 Max Driver: 4.1 Metal - 76.3 Shader: 4.10

Additional Context

No response

lehrbua avatar Aug 05 '22 21:08 lehrbua

Please have a title

Triticum0 avatar Aug 05 '22 21:08 Triticum0

Note: this only affects M1 mac, played this game on Nvidia GPU works fine

Triticum0 avatar Aug 05 '22 21:08 Triticum0

Note: this only affects M1 mac, played this game on Nvidia GPU works fine

This also affects Steamdecks (I asked some steamdeck users to test in emudeck discord) and intel HD graphics to my knowledge. Also, they need a proper title for the issue as no one will know what this is or is a mistake message.

Referenced issue of similar issue. https://github.com/mborgerson/xemu/issues/571

Spidy123222 avatar Aug 06 '22 00:08 Spidy123222

Confirming that this issue is also on steam deck. Starting the game will have the loading screen and bar, and after that intro and menu is completely black with only the background music playing.

zaylivinglive avatar Sep 16 '22 15:09 zaylivinglive

Confirming @zaylivinglive report on my Steam Deck too (xemu 0.7.70). Can I help somehow? I am here if more info is needed.

deefha avatar Oct 10 '22 13:10 deefha

Could this be the same issue that Ninja Gaiden Black has? https://github.com/mborgerson/xemu/issues/991

OutRunner avatar Oct 10 '22 13:10 OutRunner

Having the same Issue on my Steam deck, the Loading Bar is showing but after that, there is only black screen, everything else works tho.

TaraSophieDev avatar Nov 02 '22 14:11 TaraSophieDev

Can someone on Steam Deck try setting vs_position_always_invariant=true as environment variable or someone on mac this patch:

diff --git a/hw/xbox/nv2a/shaders.c b/hw/xbox/nv2a/shaders.c
index 409129e50d..abae6b851b 100644
--- a/hw/xbox/nv2a/shaders.c
+++ b/hw/xbox/nv2a/shaders.c
@@ -803,6 +803,7 @@ GLSL_DEFINE(texMat2, GLSL_C_MAT4(NV_IGRAPH_XF_XFCTX_T2MAT))
 GLSL_DEFINE(texMat3, GLSL_C_MAT4(NV_IGRAPH_XF_XFCTX_T3MAT))
 
 "\n"
+"invariant gl_Position;\n"
 "vec4 oPos = vec4(0.0,0.0,0.0,1.0);\n"
 "vec4 oD0 = vec4(0.0,0.0,0.0,1.0);\n"
 "vec4 oD1 = vec4(0.0,0.0,0.0,1.0);\n"

mbriar avatar Jan 03 '23 11:01 mbriar

I quickly tried the environment variable thing last night and it didn’t work for me, but there’s a chance I did something wrong. When I ran the source command to reload the .bash_profile it gave me a weird error message, which I think is related to something that’s been added to the bashrc by some other program.

OutRunner avatar Jan 03 '23 12:01 OutRunner

If you are on Steam Deck, then depending on how you launch XEMU, you can just add it as launch option in the game ui, like vs_position_always_invariant=true %command%. Or if you run it from desktop mode, just do export vs_position_always_invariant=true and then from the same terminal run XEMU.

mbriar avatar Jan 03 '23 12:01 mbriar

I just tried the latter and it didn’t seem to work for me, the menus were still black with some text visible. This is what I used, does anything look wrong with it?

(deck@steamdeck ~)$ export vs_position_always_invariant=true
(deck@steamdeck ~)$ "/usr/bin/flatpak" run --branch=stable --arch=x86_64 --command=xemu app.xemu.xemu
xemu_version: 0.7.71
xemu_branch: 22db3304a454b2d289a9d5ea488fa3c3dec836f4
xemu_commit: 22db3304a454b2d289a9d5ea488fa3c3dec836f4
xemu_date: Sat Dec 31 08:27:31 PM UTC 2022
xemu_settings_get_base_path: base path: /home/deck/.var/app/app.xemu.xemu/data/xemu/xemu/
xemu_settings_get_path: config path: /home/deck/.var/app/app.xemu.xemu/data/xemu/xemu/xemu.toml
ATTENTION: default value of option vs_position_always_invariant overridden by environment.
CPU: AMD Custom APU 0405
OS_Version: Freedesktop.org SDK 22.08 (Flatpak runtime)
GL_VENDOR: AMD
GL_RENDERER: AMD Custom GPU 0405 (vangogh, LLVM 14.0.6, DRM 3.45, 5.13.0-valve36-1-neptune)
GL_VERSION: 4.6 (Core Profile) Mesa 22.2.4 (git-80df10f902)
GL_SHADING_LANGUAGE_VERSION: 4.60
Created QEMU launch parameters: xemu -machine xbox,bootrom=/run/media/mmcblk0p1/Xbox/XEMU_Files/Boot ROM image/mcpx_1.0.bin,kernel-irqchip=off,avpack=hdtv -device smbus-storage,file=/home/deck/.var/app/app.xemu.xemu/data/xemu/xemu/eeprom.bin -bios /run/media/mmcblk0p1/Xbox/XEMU_Files/BIOS/Complex_4627v1.03.bin -m 128 -drive index=0,media=disk,file=/run/media/mmcblk0p1/Xbox/XEMU_Files/Pre-built Xbox HDD image/xbox_hdd.qcow2,locked=on -drive index=1,media=cdrom,file=/run/media/mmcblk0p1/Xbox/Burnout 3 - Takedown (USA).xiso.iso -display xemu -device usb-hub,port=1,ports=4

OutRunner avatar Jan 03 '23 20:01 OutRunner

I just tried the game myself and it indeed doesn't help, so it must be a different issue than Ninja Gaiden Black. FWIW, I also gave it a quick try with the proprietary OpenGL driver on AMD, and it does render correctly there, however, it is still very slow even on the menu.

mbriar avatar Jan 03 '23 21:01 mbriar

I'm having the same issue on my MinisForum TH50 with Burnout. I get the Xbox splash video, then a loading bar, then black menu screen with music playing. My system uses the Intel Iris Xe integrated GPU. This is running on Batocero Linux.

Phillips126 avatar Jan 08 '23 23:01 Phillips126

Can confirm this doesn't work for me either.

2023 Mac mini M2 Pro. v0.7.83. Tried 3x XISO's (from my own disc converted to XISO, V's, and Archive).

Loading screen (freezes slightly at ~75%), a logo after that, then can hear the music but BLACK screen...

Dochartaigh avatar Feb 09 '23 22:02 Dochartaigh

For what I found, this appears to be a general, but NVIDIA problem. The issues title should probably reflect this.

Rastafabisch avatar Mar 31 '23 12:03 Rastafabisch

For what I found, this appears to be a general, but NVIDIA problem. The issues title should probably reflect this.

The original post mentiond M1 mac and was confirmed happening to steamdeck which uses a rdna2 gpu. What gpu are you using that's affecting NVIDIA.

Spidy123222 avatar Apr 02 '23 06:04 Spidy123222

The original post mentiond M1 mac and was confirmed happening to steamdeck which uses a rdna2 gpu.

Exactly. The Issue is not limited to Apple Silicon devices. this should be reflected in the name of the issue.

What gpu are you using that's affecting NVIDIA.

None. I might have miss expressed myself. Everything but NVIDIA seems to be affected.

Rastafabisch avatar Apr 06 '23 23:04 Rastafabisch

The original post mentiond M1 mac and was confirmed happening to steamdeck which uses a rdna2 gpu.

Exactly. The Issue is not limited to Apple Silicon devices. this should be reflected in the name of the issue.

What gpu are you using that's affecting NVIDIA.

None. I might have miss expressed myself. Everything but NVIDIA seems to be affected.

Most people that I know that has worked on xemu was on an nvidia gpu so maybe just needs some work on a gpu maybe like steamdeck since I heard Matt got one and would use it for xemu at some point. Do you have any idea if this affects intel arc gpu's?

Spidy123222 avatar Apr 09 '23 03:04 Spidy123222

Title

https://xemu.app/titles/4541005b/#Burnout-3-Takedown

Bug Description

Only Race is visible and car select screen without hud Whole Menu + Intro is black.

Expected Behavior

Game is visible.

xemu Version

0.7.67

System Information

OS Platform: macOS OS Version: Version 12.4 (Build 21F79) Manufacturer: Apple GPU Model: Apple M1 Max Driver: 4.1 Metal - 76.3 Shader: 4.10

Additional Context

No response

Same issue, audio only no video — controller works as I click but no video. First time running Xemu, only tried with this game. CPU:
OS Platform: macOS OS Version: Version 13.6.3 (Build 22G436) Manufacturer: Apple GPU Model: Apple M1 Pro Driver: 4.1 Metal - 83.1 Shader: 4.10

Burnout 3 Takedown This Xbox XISO was created with extract-xiso build-202303040307 (32-bit) from the following Redump ISO. Burnout 3 - Takedown (USA).iso CRC: 602C1D40 MD5: 0F56F921EDA19DBC630BF3283BF14857 SHA-1: E34244B81B87A4E6061FB09C58C383DB93A15D14 Date: 2023-08-10

https://github.com/xemu-project/xemu/assets/70144828/2a4e295b-192b-473d-87ff-a944a8a34937

gale-slhoth avatar Dec 30 '23 20:12 gale-slhoth

Title

https://xemu.app/titles/4541005b/#Burnout-3-Takedown

Bug Description

Only Race is visible and car select screen without hud Whole Menu + Intro is black.

Expected Behavior

Game is visible.

xemu Version

0.7.67

System Information

OS Platform: macOS OS Version: Version 12.4 (Build 21F79) Manufacturer: Apple GPU Model: Apple M1 Max Driver: 4.1 Metal - 76.3 Shader: 4.10

Additional Context

No response

Same issue, audio only no video — controller works as I click but no video. First time running Xemu, only tried with this game.

CPU:

OS Platform: macOS

OS Version: Version 13.6.3 (Build 22G436)

Manufacturer: Apple

GPU Model: Apple M1 Pro

Driver: 4.1 Metal - 83.1

Shader: 4.10

Burnout 3 Takedown

Thanks for visiting The Vault at Vimm's Lair.

vimm.net

This Xbox XISO was created with extract-xiso build-202303040307 (32-bit) from the following Redump ISO.

Burnout 3 - Takedown (USA).iso

CRC: 602C1D40

MD5: 0F56F921EDA19DBC630BF3283BF14857

SHA-1: E34244B81B87A4E6061FB09C58C383DB93A15D14

Date: 2023-08-10

https://github.com/xemu-project/xemu/assets/70144828/2a4e295b-192b-473d-87ff-a944a8a34937

Please don't be posting rom sites in the GitHub.

Spidy123222 avatar Jan 01 '24 19:01 Spidy123222

Title

https://xemu.app/titles/4541005b/#Burnout-3-Takedown

Bug Description

Only Race is visible and car select screen without hud Whole Menu + Intro is black.

Expected Behavior

Game is visible.

xemu Version

0.7.67

System Information

OS Platform: macOS OS Version: Version 12.4 (Build 21F79) Manufacturer: Apple GPU Model: Apple M1 Max Driver: 4.1 Metal - 76.3 Shader: 4.10

Additional Context

No response

Same issue, audio only no video — controller works as I click but no video. First time running Xemu, only tried with this game. CPU: OS Platform: macOS OS Version: Version 13.6.3 (Build 22G436) Manufacturer: Apple GPU Model: Apple M1 Pro Driver: 4.1 Metal - 83.1 Shader: 4.10 Burnout 3 Takedown Thanks for visiting The Vault at Vimm's Lair. vimm.net This Xbox XISO was created with extract-xiso build-202303040307 (32-bit) from the following Redump ISO. Burnout 3 - Takedown (USA).iso CRC: 602C1D40 MD5: 0F56F921EDA19DBC630BF3283BF14857 SHA-1: E34244B81B87A4E6061FB09C58C383DB93A15D14 Date: 2023-08-10

Screen.Recording.2023-12-31.at.4.43.20.AM.mov

Please don't be posting rom sites in the GitHub.

What is rom sites? The vimm link? I can remove it, if it's an issue, just providing clarity on issue where I can.

gale-slhoth avatar Jan 02 '24 08:01 gale-slhoth

Title

https://xemu.app/titles/4541005b/#Burnout-3-Takedown

Bug Description

Only Race is visible and car select screen without hud Whole Menu + Intro is black.

Expected Behavior

Game is visible.

xemu Version

0.7.67

System Information

OS Platform: macOS OS Version: Version 12.4 (Build 21F79) Manufacturer: Apple GPU Model: Apple M1 Max Driver: 4.1 Metal - 76.3 Shader: 4.10

Additional Context

No response

Same issue, audio only no video — controller works as I click but no video. First time running Xemu, only tried with this game.

CPU:

OS Platform: macOS

OS Version: Version 13.6.3 (Build 22G436)

Manufacturer: Apple

GPU Model: Apple M1 Pro

Driver: 4.1 Metal - 83.1

Shader: 4.10

Burnout 3 Takedown

Thanks for visiting The Vault at Vimm's Lair.

vimm.net

This Xbox XISO was created with extract-xiso build-202303040307 (32-bit) from the following Redump ISO.

Burnout 3 - Takedown (USA).iso

CRC: 602C1D40

MD5: 0F56F921EDA19DBC630BF3283BF14857

SHA-1: E34244B81B87A4E6061FB09C58C383DB93A15D14

Date: 2023-08-10

Screen.Recording.2023-12-31.at.4.43.20.AM.mov

Please don't be posting rom sites in the GitHub.

What is rom sites? The vimm link? I can remove it, if it's an issue, just providing clarity on issue where I can.

About using Vimm's Lair yes

Spidy123222 avatar Jan 02 '24 11:01 Spidy123222

All Gucci now.

gale-slhoth avatar Jan 02 '24 11:01 gale-slhoth

I can confirm the problem with a RX7900XTX and mesa 24.0.2 with the radeon driver. with the zink driver on the same hardware and same mesa it works without problems.

ChrisOboe avatar Mar 19 '24 21:03 ChrisOboe