LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2024, 08:54 PM   #16
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
I'd informed Exaga to include it in one of his packages a while ago and he hadn't done so yet, so the best I can do is share the info in a forum for others to happen upon
Then I apologise because I cannot recall ever being asked or informed about including this file in one of the SARPi packages.

I'd be more inclined to bug Stuart to address it in Slackware OS in any case, as it's an X11 thing and not something that's RPi kernel or firmware related.

Quote:
Originally Posted by drmozes View Post
Thanks, I will drop it into the x11-skel package. It won't get installed under SARPi since it lacks the slk-hwm-discover tool, but it'll live within /usr/share/x11-skel/platform/aarch64/bcm2712/xorg.conf.rpi5
Thanks. Besides being 110% correct about SARPi, this is the most logical and effective solution in this instance.
 
1 members found this post helpful.
Old 03-14-2024, 08:27 PM   #17
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64-current, aarch64
Posts: 220

Rep: Reputation: 141Reputation: 141
I've installed Slackware current via Sarpi on an Rpi5, and it's deja vu, all over again. No HDMI sound, with no soundcards found, and the graphics are a bit tweaky with KDE. A USB soundcard works fine. The graphics issue is the same, or similar, to what happened on my Rpi4 a while back... Some elements aren't displayed, like the menu in System Settings... Other than that it's all good, so far.
 
1 members found this post helpful.
Old 03-15-2024, 02:08 AM   #18
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 188

Rep: Reputation: 170Reputation: 170
Quote:
Originally Posted by netcrawl View Post
I've installed Slackware current via Sarpi on an Rpi5, and it's deja vu, all over again. No HDMI sound, with no soundcards found, and the graphics are a bit tweaky with KDE. A USB soundcard works fine. The graphics issue is the same, or similar, to what happened on my Rpi4 a while back... Some elements aren't displayed, like the menu in System Settings... Other than that it's all good, so far.
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
jbl@fiven:~$ uname -a
Linux fiven.lngn.net 6.6.21-rpi5+ #2 SMP PREEMPT Wed Mar 13 06:11:58 -00 2024 aarch64 GNU/Linux
Sounds does indeed work on the latest kernel 6.6.21. I think the barrier here is that users are not configuring their config.txt properly, as the one shipping with sarpi needs tweaking. Keep in mind, Exaga doesn't use wifi, nor does he use graphical environments (maybe I'm spilling the beans here) so users are effectively on their own with configuration afterwards. I DO however, think these nuggets of info should be presented to the user on the sarpi website, else how else will users know?

I'm attaching my current config.txt file, which users should backup theirs first, but then place this within their /boot directory and reboot the rpi5 afterwards. Pay close attention to the "dtoverlay" options, the video one is changed, and I've also explicitly enabled wifi. Before rebooting with this config, ensure you uncomment the correct kernel name line. I'm currently testing my own kernel build, and I've named it according to the defconfig in use.
Attached Files
File Type: txt config.txt (2.1 KB, 10 views)
 
2 members found this post helpful.
Old 03-15-2024, 07:16 AM   #19
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by netcrawl View Post
I've installed Slackware current via Sarpi on an Rpi5, and it's deja vu, all over again. No HDMI sound, with no soundcards found, and the graphics are a bit tweaky with KDE. A USB soundcard works fine. The graphics issue is the same, or similar, to what happened on my Rpi4 a while back... Some elements aren't displayed, like the menu in System Settings... Other than that it's all good, so far.
OK, thanks for the feedback netcrawl.

I've just uploaded a new SARPi5 batch with updated content to address this issue specifically. Thanks mainly to jloco for sharing information, I've decided to do what he suggested to me weeks ago.

Just make sure you have the following line configured like this in your /boot/config.txt file:
Code:
dtoverlay=vc4-kms-v3d-pi5
Then the desktop on the Raspberry Pi 5 should work as expected.
 
2 members found this post helpful.
Old 03-15-2024, 11:05 AM   #20
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64-current, aarch64
Posts: 220

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Exaga View Post
Just make sure you have the following line configured like this in your /boot/config.txt file:
Code:
dtoverlay=vc4-kms-v3d-pi5
Then the desktop on the Raspberry Pi 5 should work as expected.
Indeed, HDMI audio and graphics are all good now. Installed the Sarpi bits from 15Mar24, & edited config.txt as described. Much thanks to Exaga & jloco for getting this happening.
 
2 members found this post helpful.
Old 03-17-2024, 05:50 AM   #21
Johpin
Member
 
Registered: May 2020
Posts: 46

Original Poster
Rep: Reputation: Disabled
Using Sarpi's installer of 15Mar2024 resulted in working audio and X-server. In /boot/config.txt I found "dtoverlay=vc4-kms-v3d-pi5" and the file "/etc/X11/xorg.conf.d/99-vc4.conf" does exist.

Plugging in an USB audio adapter works fine: HDMI audio will be switched off and the headphone will be turned on. After unplugging the USB audio adapter the audio will be returned to HDMI.

In Pavucontrol's "Playback" you can choose between HDMI audio and the USB adapter.

Thanks Exaga for fixing.
 
2 members found this post helpful.
Old 03-17-2024, 11:05 AM   #22
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by Johpin View Post
Using Sarpi's installer of 15Mar2024 resulted in working audio and X-server. In /boot/config.txt I found "dtoverlay=vc4-kms-v3d-pi5" and the file "/etc/X11/xorg.conf.d/99-vc4.conf" does exist.

Thanks Exaga for fixing.
Not really thanks to me, but thanks to jloco. Just having "dtoverlay=vc4-kms-v3d-pi5" in the /boot/config.txt file, and the Xorg conf file in place that jloco highlighted previously, is enough to get the HDMI video/audio working as expected on the RPi5.

The problems arose because traditionally HDMI has always been configured by firmware settings in config.txt, but devices that feature the RP1 chip now do this via KMS settings in cmdline.
 
2 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
Raspberry Pi 4 bcm2711 / Raspberry Pi 3 bcm2837 (aarch64) sndwvs slarm64 145 03-16-2024 05:05 AM
[SOLVED] Raspberry Pi 4 bcm2711 (aarch64) sndwvs Slackware - ARM 90 12-17-2021 04:37 AM
[SOLVED] Raspberry Pi 3 bcm2837 (aarch64) sndwvs Slackware - ARM 74 12-07-2021 09:17 AM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM

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

All times are GMT -5. The time now is 06:22 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