LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Can't startx on my rpi5 (recently Sarpi install)! (https://www.linuxquestions.org/questions/slackware-arm-108/cant-startx-on-my-rpi5-recently-sarpi-install-4175732190/)

dodoLQ 12-27-2023 10:59 AM

Can't startx on my rpi5 (recently Sarpi install)!
 
1 Attachment(s)
This makes me very surprised, a crash or instead a no launch of XOrg :o
Don't have any clues this time..

glorsplitz 12-27-2023 07:14 PM

looks here maybe helps?

drmozes 12-28-2023 02:56 AM

Quote:

Originally Posted by dodoLQ (Post 6472995)
This makes me very surprised, a crash or instead a no launch of XOrg :o
Don't have any clues this time..

The issue might be stemming from libunwind's hardcoded 4K page size conflicting with the 16K page size used by the sarpi kernel. To resolve this, recompile the Kernel to use the 4K page size setting.

jloco 12-28-2023 03:22 AM

libunwind patch
 
I didn't check to make sure this is still the latest version of libunwind or not, but I needed to use this patch/package to build libunwind on slackware for Asahi linux 16k kernel page size. I used it for the better part of a year without an issue and x11/wayland works perfectly fine. You should use the patch on whatever the latest libunwind that's being shipped in Slackware is.
https://github.com/mac-a-r0ni/asahi-...main/libunwind

drmozes 12-28-2023 05:03 AM

Quote:

Originally Posted by jloco (Post 6473120)
I didn't check to make sure this is still the latest version of libunwind or not, but I needed to use this patch/package to build libunwind on slackware for Asahi linux 16k kernel page size. I used it for the better part of a year without an issue and x11/wayland works perfectly fine. You should use the patch on whatever the latest libunwind that's being shipped in Slackware is.
https://github.com/mac-a-r0ni/asahi-...main/libunwind

Ah, thanks I've applied it. Do you know if there were any other packages that required patching?

jloco 12-28-2023 06:55 AM

Quote:

Originally Posted by drmozes (Post 6473133)
Ah, thanks I've applied it. Do you know if there were any other packages that required patching?

Offhand mesa needed a different build, not sure where it’s at currently. It was a separate branch but it may be merged these days with all the gpu support being added across the board. I only have Debian (Asahi Linux version) installed currently but I’ll check and see what it’s using as of now.

In moving to the 6.6 series kernel though, I do believe at least M1 models are mainlined (don’t quote me on all of it) I know there’s kernel options for it. Another slacker has taken up interest in this and has made some headway — I’ll make sure he contacts you so maybe kernel things can be looked at. The details of creating an installer are points of stress as the Macs can’t directly boot an external usb, all booting needs started from the internal ssd and the process is just like any other ARM device— convoluted.

dodoLQ 12-28-2023 11:06 AM

Just compiled (with the patch) and installed libunwind-1.6.2, now XOrg is working :D Thank you so much jloco!! But got another pb here: i can't su - in xterm /o\ maybe LQ has the answer.. Ah, posting from Palemoon v32.5.2 (latest release), compiled fine under Slackwareaarch64-current ;)

I found this:
Code:

~$ xhost -
access control enabled, only authorized clients can connect

And now it's ok.

drmozes 12-28-2023 12:55 PM

Quote:

Originally Posted by jloco (Post 6473150)
Offhand mesa needed a different build, not sure where it’s at currently.

I haven't come across any patches for it in Fedora's repository, but feel free to inform me if you find some elsewhere.

Quote:

In moving to the 6.6 series kernel though, I do believe at least M1 models are mainlined (don’t quote me on all of it) I know there’s kernel options for it. Another slacker has taken up interest in this and has made some headway — I’ll make sure he contacts you so maybe kernel things can be looked at.
I've created a working 6.6 Kernel config, but need to slim it down before release. Once I've validated it on the current Hardware Models in January, I'll consider taking adjustments.

Quote:

The details of creating an installer are points of stress as the Macs can’t directly boot an external usb, all booting needs started from the internal ssd and the process is just like any other ARM device— convoluted.
If multiple SSDs are supported under emulation, I should be able to find a solution. Alternatively, if tftp boot is an option, we could boot the 'naked' installer directly. I still need to acquaint myself with the available emulation facilities.

Exaga 12-28-2023 02:02 PM

Quote:

Originally Posted by jloco (Post 6473150)
Offhand mesa needed a different build, not sure where it’s at currently. It was a separate branch but it may be merged these days with all the gpu support being added across the board. I only have Debian (Asahi Linux version) installed currently but I’ll check and see what it’s using as of now.

I'll be testing vulkan sometime, maybe soon(ish). I'll let you know how it goes. :cool:

Exaga 12-29-2023 06:37 AM

Quote:

Originally Posted by drmozes (Post 6473133)
Ah, thanks I've applied it. Do you know if there were any other packages that required patching?

Code:

Executing install script for libunwind-1.6.2-aarch64-2.txz.
Package libunwind-1.6.2-aarch64-2.txz installed.
Package libunwind-1.6.2-aarch64-1_slackcurrent_sp1 upgraded with new package ./libunwind-1.6.2-aarch64-2.txz.

Thanks for a very quick turnaround. Saves a lot of time and trouble, moving foward. Nice work Stu. :thumbsup:

[EDIT] forgot to mention - It works! :D :cool:


All times are GMT -5. The time now is 07:06 AM.