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

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

Open
lehrbua opened this issue Aug 5, 2022 · 28 comments
Open
Labels
bug Something isn't working

Comments

@lehrbua
Copy link

lehrbua commented Aug 5, 2022

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 lehrbua added the bug Something isn't working label Aug 5, 2022
@Triticum0
Copy link

Please have a title

@Triticum0
Copy link

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

@Spidy123222
Copy link

Spidy123222 commented Aug 6, 2022

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. #571

@lehrbua lehrbua changed the title Title Name: Short Description Almost Black Screen on Mac M1 Burnout3 Aug 6, 2022
@zaylivinglive
Copy link

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.

@deefha
Copy link

deefha commented Oct 10, 2022

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

@OutRunner
Copy link

Could this be the same issue that Ninja Gaiden Black has? #991

@TaraSophieDev
Copy link

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.

@mbriar
Copy link

mbriar commented Jan 3, 2023

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"

@OutRunner
Copy link

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.

@mbriar
Copy link

mbriar commented Jan 3, 2023

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.

@OutRunner
Copy link

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

@mbriar
Copy link

mbriar commented Jan 3, 2023

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.

@Phillips126
Copy link

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.

@Dochartaigh
Copy link

Dochartaigh commented Feb 9, 2023

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...

@Rastafabisch
Copy link

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

@Spidy123222
Copy link

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.

@Rastafabisch
Copy link

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.

@Spidy123222
Copy link

Spidy123222 commented Apr 9, 2023

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?

@lehrbua lehrbua changed the title Almost Black Screen on Mac M1 Burnout3 Almost Black Screen on Mac M1/Steam Deck (rnda2) and Intel iGPU - Burnout3 Nov 10, 2023
@lehrbua lehrbua changed the title Almost Black Screen on Mac M1/Steam Deck (rnda2) and Intel iGPU - Burnout3 Almost Black Screen on Mac M1/Steam Deck (rdna2) and Intel iGPU - Burnout3 Nov 10, 2023
@gale-slhoth
Copy link

gale-slhoth commented Dec 30, 2023

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

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

@Spidy123222
Copy link

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.

@gale-slhoth
Copy link

gale-slhoth commented Jan 2, 2024

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.

@Spidy123222
Copy link

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

@gale-slhoth
Copy link

All Gucci now.

@ChrisOboe
Copy link

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.

@DMJC
Copy link

DMJC commented Jul 19, 2024

This issue is still occurring on Debian 13 (Trixie)
Kernel 6.9.7-amd64
Mesa Info:
Vendor: Intel (0x8086)
Device: Mesa Intel(R) Graphics (ADL GT2) (0x4628)
Version: 24.1.3
Accelerated: yes
Video memory: 15648MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
GPU: Intel Corporation Alder Lake-UP3 GT2 [UHD Graphics] (rev 0c)
CPU: 12th Gen Intel(R) Core(TM) i7-1265U
System is HP Zbook Pro Firefly G9

I was able to load into the full game, 3D race mode works, cutscene animations are broken/black screen, 2D menus are working, was able to select USA/Europe etc, 3D race mode works.

@ghyujkilop
Copy link

Works on my end. No Hud or black screen issues.

@deefha
Copy link

deefha commented Aug 21, 2024

Still have same issues :-/ Steam Deck, Xemu 0.7.131.

@deefha
Copy link

deefha commented Aug 29, 2024

Still have same issues :-/ Steam Deck, Xemu 0.7.131.

Update: fresh 0.7.132 and it's not better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests