LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-27-2023, 10:59 AM   #1
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Rep: Reputation: Disabled
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..
Attached Thumbnails
Click image for larger version

Name:	DSC_0026.JPG
Views:	28
Size:	245.6 KB
ID:	42292  
 
Old 12-27-2023, 07:14 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
looks here maybe helps?
 
Old 12-28-2023, 02:56 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,547

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by dodoLQ View Post
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.
 
Old 12-28-2023, 03:22 AM   #4
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 184

Rep: Reputation: 161Reputation: 161
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
 
Old 12-28-2023, 05:03 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,547

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by jloco View Post
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?
 
Old 12-28-2023, 06:55 AM   #6
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 184

Rep: Reputation: 161Reputation: 161
Quote:
Originally Posted by drmozes View Post
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.
 
Old 12-28-2023, 11:06 AM   #7
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: Disabled
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 11:24 AM.
 
1 members found this post helpful.
Old 12-28-2023, 12:55 PM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,547

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by jloco View Post
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.
 
Old 12-28-2023, 02:02 PM   #9
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by jloco View Post
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.
 
Old 12-29-2023, 06:37 AM   #10
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by drmozes View Post
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 07:49 AM. Reason: to edit something
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble booting sarpi5 installer on my rpi5 dodoLQ Slackware - ARM 7 12-23-2023 09:59 AM
[SOLVED] SARPi 2 (current) - Can't ssh in for install- arfon Slackware - ARM 5 04-23-2020 07:56 PM
[SOLVED] Where can I find kernel sources for sarpi ( 14.2 ) Pigi_102 Slackware - ARM 4 02-16-2018 05:03 PM
SARPi website new URL - sarpi.co.uk Exaga Slackware - ARM 4 01-28-2018 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration