winlator icon indicating copy to clipboard operation
winlator copied to clipboard

Orange pi 5 not working vortek and graphical error in Virgl

Open danwraith03 opened this issue 6 months ago • 11 comments

General Information

  • Winlator Version: Winlator 10 and hotfix
  • Smartphone Model: Orange pi 5

Container Settings

  • Graphics Driver: Vortek
  • DX Wrapper: All Dxvk version
  • Audio Driver: Alsa
  • Box64 Version: 0.33

Orange pi 5 not working vortek graphic plugin tried all combination.

General Information

  • Winlator Version: Winlator 10 and hotfix
  • Smartphone Model: Orange pi 5

Container Settings

  • Graphics Driver: VirGL
  • DX Wrapper: wined3d, vkd3d and cnc draw
  • Audio Driver: Alsa
  • Box64 Version: 0.33

test 3d app is working but playing games had a missing texture and rundown.

danwraith03 avatar May 26 '25 12:05 danwraith03

My Opi5 is working, what is your android image version? Mine is Android 12, image 1.0.3 And what game btw?

khanh-it avatar May 26 '25 12:05 khanh-it

I'm using Android 12 with Image 1.0.6 and the 4GB RAM variant.

The games I tested are Warcraft 3, Double Dragon Neon, and Metal Gear Solid V: Ground Zeroes.

When I used Vortek, I only got a black screen and crashed. When I used virGL, there were missing textures.

danwraith03 avatar May 26 '25 23:05 danwraith03

What is your setting did you used?

danwraith03 avatar May 26 '25 23:05 danwraith03

Vortek does not support DX10/DX11, so Metal Gear Solid V: Ground Zeroes won't work.

I didn't try the other 2 games. My settings are pretty much default with Vortek. Please don't use DXVK 1.4.2, because it does not support DX9 32 bit.

Image 1.0.6 added some more Vulkan extensions. Try disabling VK_EXT_extended_dynamic_state, VK_EXT_extended_dynamic_state2 extensions to see if it fixes the black screen and crashes

Image

khanh-it avatar May 27 '25 02:05 khanh-it

Image i tried disable VK_EXT_extended_dynamic_state, VK_EXT_extended_dynamic_state2 extensions at vortek. It stuck blackscreen at test direct3d.

By the way my Orange pi 5 is og version.

danwraith03 avatar May 27 '25 02:05 danwraith03

@danwraith03 My Opi5 is a base model as well.

Try: . Set resolution to 860x600 or lower (Because in my case, if I set the resolution higher than that, the rendering will be broken). . Disabling more extensions (listed above) . This solution (https://github.com/brunodev85/winlator/issues/710#issuecomment-2849061640)

Also, double-check to disable extension: VK_EXT_extended_dynamic_state, because some reported that it solves the black screen.

khanh-it avatar May 27 '25 03:05 khanh-it

It is working now. It shows cube1900 to 2000 fps at test direct3d app. Thank you.

danwraith03 avatar May 27 '25 09:05 danwraith03

It is working now. It shows cube1900 to 2000 fps at test direct3d app. Thank you.

@danwraith03 What, my Direct3D test only runs around ~1300 fps. Did you do something? Can you show a screenshot?

khanh-it avatar May 27 '25 10:05 khanh-it

Here it is. The Direct 3d test. I followed your setting you mentioned.

Image

I played replay game of the warcraft III (Dota mod). It is struggling at 7 to 10 fps.

Image

danwraith03 avatar May 27 '25 11:05 danwraith03

I will try image 1.0.6.

@danwraith03 What dxvk did you use? Add DXVK_HUD enviroment to get more performance info.

My Opi5 can run much heavier games like Skyrim, DMC4….so, maybe you are setting something wrong.

khanh-it avatar May 27 '25 12:05 khanh-it

DXVK 1.10.3, Vulkan 1.3. I used the default settings, disabled the VK_EXT_extended_dynamic_state and VK_EXT_extended_dynamic_state2 extensions in Vortek as you mentioned, and set the Box64 preset to Intermediate.

By the way where can I find DXVK_HUD environment?

danwraith03 avatar May 28 '25 00:05 danwraith03

@danwraith03

By the way where can I find DXVK_HUD environment?

There is a button to [Add environment] when creating a new container or editing a game's shortcut!

khanh-it avatar May 29 '25 01:05 khanh-it