box64 icon indicating copy to clipboard operation
box64 copied to clipboard

Fallout New Vegas won’t get past the launcher using vulkan on the M1

Open m1m1k4tz opened this issue 1 year ago • 8 comments

Removing DXVK makes it play fine

m1m1k4tz avatar Oct 17 '24 13:10 m1m1k4tz

I don't see it trying to go through box64 mmap64 handler here. Did you apply the BOX64_MMAP32 on command line or suing box64rc?

side question: do you know if honeycomb use libc mmap or syscall mmap to do it's memory mapping?

ptitSeb avatar Oct 17 '24 14:10 ptitSeb

I did it by passing the env variable with muvm -e

m1m1k4tz avatar Oct 17 '24 14:10 m1m1k4tz

I don't see it trying to go through box64 mmap64 handler here. Did you apply the BOX64_MMAP32 on command line or suing box64rc?

side question: do you know if honeycomb use libc mmap or syscall mmap to do it's memory mapping?

I'm not a graphics developer unfortunately and the driver is still early so maybe @alyssarosenzweig might be willing to help sorry

m1m1k4tz avatar Oct 17 '24 14:10 m1m1k4tz

This might be driver issues also I just don’t have any other arm hardware powerful enough to test on have you tried dxvk on ampere with wine wow64?

m1m1k4tz avatar Oct 19 '24 23:10 m1m1k4tz

Also honeykrisp is based off the new open source nvidia NVK driver so you might be able to get a pretty close setup with an nvidia gpu

m1m1k4tz avatar Oct 20 '24 00:10 m1m1k4tz

Okay, I asked asahi Lina and she thinks it’s libc it’s shared code between the OpenGL and vk drivers as far as she knows

m1m1k4tz avatar Oct 20 '24 04:10 m1m1k4tz

Does this reproduce for you on ampere with wow64? Looking thru the wine wow64 merges memory mapping was a pain point for them https://gitlab.winehq.org/wine/wine/-/merge_requests?scope=all&state=merged&search=Vulkan+wow64

m1m1k4tz avatar Oct 21 '24 23:10 m1m1k4tz

Okay this issue is being tracked on hangover too as https://github.com/AndreRH/hangover/issues/168

m1m1k4tz avatar Nov 03 '24 06:11 m1m1k4tz

I’m thinking that this is just a missing extension in the driver it’s weird that the MMAP32 hack won’t work though

m1m1k4tz avatar Nov 03 '24 06:11 m1m1k4tz

I’m thinking that this is just a missing extension in the driver it’s weird that the MMAP32 hack won’t work though

If the graphic driver use syscall instead of libc mmap to allocate it's memory, the MMAP32 hack will not work.

ptitSeb avatar Nov 03 '24 07:11 ptitSeb

Ah okay, that makes sense

m1m1k4tz avatar Nov 03 '24 09:11 m1m1k4tz

On OpenGL the battery life you can get from this game is really impressive so I can only imagine how it will be under box32 with dxvk it’s a shame that the driver doesn’t support VK_EXT_map_memory_placed though because hangover needs it to function correctly

m1m1k4tz avatar Nov 04 '24 21:11 m1m1k4tz