Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-27-2023, 11:59 AM
|
#1
|
Member
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64
Posts: 226
Rep:
|
Can't startx on my rpi5 (recently Sarpi install)!
This makes me very surprised, a crash or instead a no launch of XOrg
Don't have any clues this time..
|
|
|
12-27-2023, 08:14 PM
|
#2
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
|
|
|
12-28-2023, 03:56 AM
|
#3
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by dodoLQ
This makes me very surprised, a crash or instead a no launch of XOrg
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.
|
|
|
12-28-2023, 04:22 AM
|
#4
|
Member
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 243
|
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
|
|
|
12-28-2023, 06:03 AM
|
#5
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by jloco
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?
|
|
|
12-28-2023, 07:55 AM
|
#6
|
Member
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 243
|
Quote:
Originally Posted by drmozes
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.
|
|
|
12-28-2023, 12:06 PM
|
#7
|
Member
Registered: Dec 2014
Location: France
Distribution: Slackware, Slackware64
Posts: 226
Original Poster
Rep:
|
Just compiled (with the patch) and installed libunwind-1.6.2, now XOrg is working 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.
Last edited by dodoLQ; 12-28-2023 at 12:24 PM.
|
|
1 members found this post helpful.
|
12-28-2023, 01:55 PM
|
#8
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,617
|
Quote:
Originally Posted by jloco
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.
|
|
|
12-28-2023, 03:02 PM
|
#9
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067
|
Quote:
Originally Posted by jloco
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.
|
|
|
12-29-2023, 07:37 AM
|
#10
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067
|
Quote:
Originally Posted by drmozes
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.
[EDIT] forgot to mention - It works!
Last edited by Exaga; 12-29-2023 at 08:49 AM.
Reason: to edit something
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|