IGCIT / Intel-GPU-Community-Issue-Tracker-IGCIT

IGCIT is a Community-driven issue tracker for Intel GPUs.
GNU General Public License v3.0
118 stars 4 forks source link

Applications crashing randomly using Vulkan #855

Open LuffyMugiwara-remote opened 1 month ago

LuffyMugiwara-remote commented 1 month ago

Checklist [README]

Application [Required]

Chiaki-ng and PxPlay

Processor / Processor Number [Required]

11th Gen Intel(R) Core(TM) i5-1155G7 @ 2.50GHz, 1498 Mhz, 4 Core(s), 8 Logical Processor(s)

Graphic Card [Required]

Intel(R) Iris(R) Xe Graphics

GPU Driver Version [Required]

32.0.101.6083_101.5736

Other GPU Driver version

No response

Rendering API [Required]

Windows Build [Required]

Other (Please specify)

Other Windows build

22631

Intel System Support Utility report

intel.txt

Description and steps to reproduce [Required]

Running the applications listed below using Vulkan causes the application to crash to desktop randomly. The crash will occur 95% of the time within the hour. Very rarely it will not crash within a hour of play. I provided the links to the applications below. Also I have included an issue that I opened with the dev about the crashing. They think that is a driver bug. In that link also contains log files.

I can provide any information that is needed.

Application: https://streetpea.github.io/chiaki-ng/ Issue: https://github.com/streetpea/chiaki-ng/issues/415 Application: https://github.com/streamingdv/PSPlay-Application-Hosting/releases

Device / Platform

System Model HP ENVY x360 Convertible 15m-es1xxx

Crash dumps [Required, if applicable]

No response

Application / Windows logs

No response

Felipe-Intel commented 4 weeks ago

Hello @LuffyMugiwara-remote. Correct me if I'm wrong. These are not emulators but clients that connects to an actual Playstation console, right? Do you know or can you check if the crash happens with the app just open but not connected a PS and actually playing (just left it there "idling")? I ask because at the moment we don't have access to a PS console to where we can connect and test the operation of the app. Also, please check out this guide on how to enable memory dumps so maybe you can attach here the dump created by the app during crash (if any). This can greatly help us. I also wanted to ask if this problem happens with any of the other options of graphics APIs available for selection and/or any particular graphics/video configuration. In the PSPlay demo there are options for decode and rendering: image

LuffyMugiwara-remote commented 3 weeks ago

@Felipe-Intel They are remote clients that connect to the console that allow the console to be played on a remote device. Basically a streaming client. You have to play on the console to get a crash as that is when the decoder is used on the laptop. I'll update the registry and enable memory dumps and send you info as soon I get a crash. I will be using Chiaki-ng as the test app to send you the info.

So far on the PSPlay only Vulkan crashes be it Vulkan or Vulkan Combability.

For Chiaki-ng it will crashes using the d3d11va or Vulkan decoder.

LuffyMugiwara-remote commented 3 weeks ago

@Felipe-Intel The chiaki-ng has crashed using the Vulkan decoder during a play session of about a half hour. These were the only dump files I was able to locate using the guide above. I had to put in Google Drive as the file size was too big. I will now attempt to crash using the d3d11va decoder on chiaki-ng.

https://drive.google.com/file/d/1jaAxJuRyrE_hKWbAWm7Xm3eOzUn5WR1T/view?usp=sharing, https://drive.google.com/file/d/1rJguW0hpAjHiBgDnzAKjdcHpUfbOzzuf/view?usp=sharing

LuffyMugiwara-remote commented 3 weeks ago

@Felipe-Intel The chiaki-ng has crashed using the drd11va decoder during a play session of about 5 minutes These were the only dump files I was able to locate using the guide above. I had to put in Google Drive as the file size was too big.

Let me know if you need any other information or if there any else that you need me to preform.

Thanks for the help

https://drive.google.com/file/d/1T8SpiPXljA6yM8hrJrKNNP1IVeOHWssN/view?usp=drive_link

LuffyMugiwara-remote commented 3 weeks ago

@Felipe-Intel PxPlay has crashed using the Vulkan for both setting during a play session of about a 10 minutes. These were the only dump files I was able to locate using the guide above. I had to put in Google Drive as the file size was too big.

https://drive.google.com/file/d/1Rdu7R4DKjdNqqjHMuNBSKxtEvro4q2xj/view?usp=drive_link

rmorera-intel commented 3 weeks ago

@LuffyMugiwara-remote Thank you for the dump files. I'll have our debug team analyze them and post their findings soon.

FYI, I got access to a PS5 and ran PXPlay 1.2.0 on Intel Arc A770 GPU with driver 32.0.101.6129 for about 3 hours straight and didn't get it to crash. Have you tested it on other GPU besides Iris Xe Graphics?

To set the right expectations with you, debugging this would require access to a PS5 locally for each debug/dev teams, thus this report may take longer than usual to be worked on with the chance it may not be picked up at all.

I would suggest working directly with the app developer so they can report this directly to us with all necessary debug information.

LuffyMugiwara-remote commented 3 weeks ago

@Felipe-Intel No problem. Yeah my laptop only has Iris Xe Graphics so that is the only graphics card that I have and I don't think i could add another one too it.

Also I did contact the the devs directly for both apps. They both said it sounds a graphic card issue. I have an issue opened with chiaki-ng (Issue: https://github.com/streetpea/chiaki-ng/issues/415) . They did also send me a debug build with symbols enabled. The code is also public as it open source. So debugging should be easier that way.

Let me know if you need anything from me or I can help in anyway

Thanks

rmorera-intel commented 3 weeks ago

Thanks for your cooperation. One last-thing: please test by doing a clean driver installation using DDU in safe mode and then install our latest WHQL driver 32.0.101.6129. If the issue persist with this driver just let me know.

LuffyMugiwara-remote commented 3 weeks ago

@rmorera-intel Since the Iris Xe graphics card is integrated and there is no other graphics card on the system or a connected display. Would it be safe to run DDU?

rmorera-intel commented 3 weeks ago

Yes, the system will default to Microsoft Basic Display Adapter drivers so you'll still have video and the laptop will work.

LuffyMugiwara-remote commented 3 weeks ago

@rmorera-intel I ran DDU and installed the graphic driver and it didn't work. I'm still getting crashes.

Anything else you want me to try?

rmorera-intel commented 3 weeks ago

No, that would be all thanks for all your inputs. I have asked our debug team to analyze the dump files, if I get any update I'll let you know.