-
Notifications
You must be signed in to change notification settings - Fork 0
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
Linux Mint #2
Comments
Lets start from your installation problem. You gave me almost no information about the errors so I really can only guess. It looks like you haven't enabled multiarch, please read this if you want to learn, TLDR run bellow commands:
and then try installation one more time. When it comes to patching packages I don't think there is an universal guide. I am a software engineer with 10+ years of experience in many programming language so patching sources manually was really trivial to me. I can share steps I did to build patched packages.
Now when it comes to applying patches. If you would like to patch sources that the original patch file was created it is usually simple. You can use Bellow you can see sample diff. diff -ruN libdrm/radeon/r600_pci_ids.h libdrm-mod/radeon/r600_pci_ids.h
--- libdrm/radeon/r600_pci_ids.h 2020-05-25 18:24:34.398124762 +0200
+++ libdrm-mod/radeon/r600_pci_ids.h 2020-05-25 18:40:57.654848297 +0200
@@ -473,6 +473,11 @@
CHIPSET(0x131C, KAVERI_131C, KAVERI)
CHIPSET(0x131D, KAVERI_131D, KAVERI)
+CHIPSET(0x9920, LIVERPOOL_9920, LIVERPOOL)
+CHIPSET(0x9922, LIVERPOOL_9922, LIVERPOOL)
+CHIPSET(0x9923, LIVERPOOL_9923, LIVERPOOL)
+CHIPSET(0x9924, GLADIUS_9924, GLADIUS)
+
CHIPSET(0x67A0, HAWAII_67A0, HAWAII)
CHIPSET(0x67A1, HAWAII_67A1, HAWAII)
CHIPSET(0x67A2, HAWAII_67A2, HAWAII) First line is a command line diff was executed and it has also information about the file we need to patch. Which in this case is So you need to open every patch file and go thru every diff entry and apply it to downloaded sources one by one, when you're done you build the packages and if you didn't messed up something (if you did compilation probably would fail) you got your fresh new packages ready to work on ps4. |
Hi @mordesku !!!!! It's true that I provide you no information on the error I was facing ! **I'm terribly sorry ! ** Yesterday, I was thinking about Linux Mint and I wondered : But anyway, I took some screenshots ! Above, you can see all the commands I entered in the terminal. To create a distribution for PS4, I followed this tutorial : https://ps4linux.com/make-ps4-linux-distro/ Yesterday, I have downloaded a .patch file for mesa 23.2.1 from the PS4-Overlay from Dr3kk4n. And I have patched and installed the mesa with these commands :
When I booted the distro, then, on PS4 Pro, the graphical glitches were gone. OpenGL worked but Vulkan doesn't seem to work. Well, I don't know how to verify if vulkan is working but I think, you gave the command on the first issue. And by the way, I wonder if you have a discord account ? And thank you so much for taking the time to teach me how to patch and build packages for ps4 ! |
There are couple thing I need to address here.
|
Hello @mordesku ! 1 - I'm sorry !!!! As you can see, I begin with github 😥 I though It was easier to post screenshots ! Sorry again ! So, where am I ?
Let's begin with mesa 23.2.1 :
About libdrm2.4.113-2ubuntu :
About xserver-xorg-video-amdgpu 22.0.0-1ubuntu0.2 :
As you can see, trying to compile mesa correctly is a big pain for a newbie like me and make Vulkan work is hopeless. Tell me if you want the output when I'm trying to compile mesa ! |
Hello @Blackdragon897a So according to what you wrote you haven't compiled any packaged and definitely you haven't installed any packages on your system. You took sources and patch them and then "installed" them on your system. I wrote installed in quotes because i don't think it was installed in the right location. You need to distinguish two things.
In the first scenario package sources and install script is prepared by the system developer (we just patch some sources) and when installed all files are placed in the right location. In your case you compiled some programs and libraries. Installed it in i assume default prefix which usually is There is additional advantage of using deb packages rather than manual builds. When Ubuntu package maintainer will release an update of a modified packages. If it was installed the way you did it will get simply overridden because the system have no knowledge about your modification (apt/dpkg keeps records of every installed packages). If you install manually created package (.deb), the system will recognize it was not Ubuntu package and will not overwrite it if not explicitly asked. (Well I'm not sure about Ubuntu but Debian wouldn't overwrite it). So please learn how to build DEB packages from source (there is a link in my first reply, it is more about debian but it should work with ubuntu). Take a look at this thread especially on "New Approach" |
Hello there Mordesku !
I'm trying to port Linux Mint on PS4 but nobody want to help me lmao.
I'm asking help everywhere and it's been two or three months i'm trying to do this.
I finally found a good repo with debian drivers for ps4.
I'm happy now because there are no tutorials on internet to show us how to apply patches on linux drivers for PS4.
I was running my linux mint distro on a VM and then installed your drivers but when I tried to install the i386 drivers, it returned me an error code with dpkg...
Also, I've got a ps4pro and I know that there are some differences between ps4 patches and PS4 PRO patches so... can you help me with Linux mint drivers for ps4 pro please ?
My knowledge level with linux : near to 2/10
My configuration : PS4 Pro Belize
What I have to make linux mint on ps4 possible : Time !
The text was updated successfully, but these errors were encountered: