psxitarch-how-to icon indicating copy to clipboard operation
psxitarch-how-to copied to clipboard

Black screen after updating

Open tottia6 opened this issue 2 years ago • 16 comments

Followed the guide thoroughly, but when i reboot i get black screen when the ui loads. I also installed the latest video drivers from the official psxita github. I think that it may be the reason for black screen. If you have any suggestions i really appreciate that!😁

tottia6 avatar Dec 21 '21 11:12 tottia6

You could try creating a file called "bootargs.txt" directly on the USB device's root directory and enter the following:

drm.edid_firmware=edid/1920x1080.bin

sleirsgoevy's and Nazky's Linux payloads should support this.

There is also official advice on this topic: https://twitter.com/ps3ita_team/status/1093047915642318848

hippie68 avatar Dec 21 '21 11:12 hippie68

Thanks so much for the fast reply! Gonna try that now.

tottia6 avatar Dec 21 '21 12:12 tottia6

Nazky's Linux

Hello tottia, did it work for you?

danoddo88 avatar Dec 22 '21 14:12 danoddo88

I've managed to yoink my way to not having a black screen. Things of note:

  1. The PS4 only works on Linux on my projector. I don't know why.
  2. Upgrading too far is bad! According to Xorg, the GPU drivers are not new enough to support the latest Xorg version available (Something about ABI 24 not working in the latest version, which only supports ABI 25)

To solve this, I've downgraded the following packages to the version listed:

libffi 3.4.2-3 // Something about GPU acceleration
xorg-server-common 1.20.13-3 // What's making X be a black screen
xorg-server-devel 1.20.13-3
xorg-server-xvfb 1.20.13-3
xorg-xwayland 1.20.0.r853.gfdc61c5a3-1

Unfortunately, I wasn't documenting as I was going along, so I may have accidentally left stuff out. In addition, I've installed plasma and sddm (to make it look pretty) which may have skewed the work required to fix this.

7coil avatar Dec 24 '21 04:12 7coil

Downgrading can be done with the downgrade (AUR) package.

7coil avatar Dec 24 '21 04:12 7coil

These downgrades seem to break Steam, because something about Mesa doesn't work properly (patches go kaboom)

Something about mixing and matching drivers seems bad: https://github.com/ValveSoftware/steam-for-linux/issues/8202

Anyway they seem to be tracking this here now, so that's good: https://github.com/Ps3itaTeam/ps4linux-video-drivers/issues/13

7coil avatar Dec 24 '21 17:12 7coil

To get steam to run downgrading lib32-libffi seems to work. Although barely any games seem to start, pretty sure it's related to the mesa version being ancient at this point.

zimsneexh avatar Dec 24 '21 18:12 zimsneexh

Oh great - it's back! image

~~For reference, I've downgraded to the following versions:~~

  • lib32-glib2-2.68.3-1
  • glib2-2.68.3-1
  • ~~lib32-libffi-3.3-4.1~~ Not yet, see next post
  • libffi-3.3-4

7coil avatar Dec 24 '21 18:12 7coil

Absolutely ignore this comment, I've been working on a Guide that means you don't use the antiquated PSXITARCH installation

Original Comment

Can confirm updating libffi effectively broke my system today. Figured out the the latest packages removes libffi.so.7 from libffi and lib32-ffi entirely. (enjoy Steam also being broken) Fix was to downgrade libffi to 3.4.2-3 and then manually copy lib32/libffi.so.7 from a downgrade of lib32-libffi to an upgrade that only contained lib32/libffi.so.8 to get applications like Steam working again. Mind you I had to do this from a live usb because I couldn't even access a terminal on boot after this. https://old.reddit.com/r/archlinux/comments/qc1wmd/libffi_library_issue/hhe59jr/

Downgrade (lib32-libffi-3.3-4.1), copy (libffi.so.7), upgrade (to whatever lib32-libffi is newest) Just need to wait for Steam to update to the latest libffi, I'm guessing.

7coil avatar Dec 24 '21 18:12 7coil

For me - I can't manage to make any 32bit Source engine game (i.e. Portal, Portal 2, Half Life, ...) work. They're all throwing dxvk::DxvkError's. The steam client does work fine, tho.

Tried x86_64 games, and the ones i have tried work just fine.

If you have any of those games - I'd appreciate if you gave them a try. Both native and proton versions don't seem to work.

zimsneexh avatar Dec 24 '21 19:12 zimsneexh

My bad - A reboot fixed it.

zimsneexh avatar Dec 24 '21 19:12 zimsneexh

just so someone else doesnt get confused like me, you can check where the libffi.so.7 you need to backup is by doing pacman -Ql lib32-libffi and pacman -Ql libffi

qgerman2 avatar Jan 03 '22 02:01 qgerman2

@7coil I've downgraded the packages to the versions listed on your post, but the desktop would not show up. I tried doing the libffi.so.7 backup step, but upgrading only the 32 bit version of the library seems to have broken something else, now init hangs when (I think) it tries to start the desktop environment. Does anyone know what parameters I can pass to the kernel with "bootargs.txt" to disable video an try to rescue the install via SSH?

fakuivan avatar Jan 08 '22 01:01 fakuivan

@fakuivan i dunno how to fix the video, but you could try to arch-chroot onto the partition from a arch live usb on a pc and fix it there

i also had crashes and hangs with the downgrades, heres what i did to fix it

you probably had to downgrade both versions of glib2 to downgrade libffi and get the libffi.0.7 files, what i did after copying those (both 64 and 32) was update everything but xorg-server,server-common,devel,xvfb and xwayland, so (lib32-)glib2 and (lib32-)libffi are fully updated and the crashes stopped, for steam to work just make sure you backed up correctly the 0.7 files

qgerman2 avatar Jan 08 '22 01:01 qgerman2

@7coil I've downgraded the packages to the versions listed on your post, but the desktop would not show up. I tried doing the libffi.so.7 backup step, but upgrading only the 32 bit version of the library seems to have broken something else, now init hangs when (I think) it tries to start the desktop environment. Does anyone know what parameters I can pass to the kernel with "bootargs.txt" to disable video an try to rescue the install via SSH?

Have the same Problem, but backed up replaced boths libffi.so.7 files in 32 and the older folder, with the right version. Still get a blackscreen? Can anyone provide a tutorial or suggestion?

C0nvert avatar Feb 10 '22 02:02 C0nvert

@C0nvert @fakuivan

Completely disregard what I've put down; I've managed to disregard the entire PSXITARCH installation, and install Arch Linux from scratch, along with these gpu drivers

I've created a GitHub repository on how to do it from scratch, but it's very lengthy https://github.com/7coil/archlinux-on-ps4

7coil avatar Apr 10 '22 01:04 7coil