mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[GH-ISSUE #1042] Fails to build on Arch Linux #318
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#318
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @elxkot on GitHub (Sep 23, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1042
I tried to build master with official instruction and it fails with message:
Fixed it by reordering fields in structure that was mentioned in error corresponding to official Vulkan specification:
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDeviceVulkan12Features.html
(I don't realy know what i'm doing, but now it compiles and launches)
I'm using intel Xeon E5-1650 CPU (6-core Sandy Bridge)
AMD RX580 4GB
16 GB RAM
Kernel: 6.10.10-zen1-1-zen
Mesa Version: 24.2.3
@Ein420 commented on GitHub (Sep 23, 2024):
having the same/similar issue:
Ryzen 5 4600G
RX 6600
16 GB RAM
Kernel 6.10.9-arch1-2
Mesa: 24.3.0
Not exactly sure what that solution is/what to do exactly, but I assume it's to do with editing a specific part of the makefile to resemble what you linked (?)
@elxkot commented on GitHub (Sep 23, 2024):
I edited file ~/shadPS4/src/video_core/renderer_vulkan/vk_instance.cpp
Replaced code at line 306 from:
To:
PS: It compiled, but BB crashes right after launch with some errors in log about unsupported instructions though. Sad. Apparently my CPU is too old :(
@Ein420 commented on GitHub (Sep 23, 2024):
Did exactly as you said, it compiles successfully.
Thx
@ngoquang2708 commented on GitHub (Sep 24, 2024):
This PR fix this https://github.com/shadps4-emu/shadPS4/pull/1039.
@OFFTKP commented on GitHub (Sep 24, 2024):
PR was merged, see if it fixes your problem
@elxkot commented on GitHub (Sep 24, 2024):
Now it compiles without manual changes
@Ein420 commented on GitHub (Sep 24, 2024):
ig this can be closed now, it builds.