LinuxQuestions.org
Help answer threads with 0 replies.
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 06-24-2019, 10:19 AM   #1
Desiderius
Member
 
Registered: Jun 2017
Posts: 41

Rep: Reputation: Disabled
Slackware ARM on RPI 4


Hi all

Any experience about Slackware ARM running on RPI 4 ?
 
Old 06-24-2019, 11:20 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,837

Rep: Reputation: Disabled
does anybody has an RPI 4 yet?
 
Old 06-24-2019, 12:57 PM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,031

Rep: Reputation: Disabled
RPi4 has just been released, it's quite a decent spec this time.
 
Old 06-27-2019, 12:29 AM   #4
Exaga
Member
 
Registered: Nov 2012
Posts: 147

Rep: Reputation: Disabled
Quote:
Originally Posted by Desiderius View Post
Hi all

Any experience about Slackware ARM running on RPI 4 ?
Yes.

Quote:
Originally Posted by ponce View Post
does anybody has an RPI 4 yet?
Hahahah <3

Quote:
Originally Posted by fatmac View Post
RPi4 has just been released, it's quite a decent spec this time.
Apparently the RPi4 4GB version has sold out rather quickly.
 
Old 06-27-2019, 01:53 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,837

Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
Quote:
Originally Posted by ponce View Post
does anybody has an RPI 4 yet?
Hahahah <3
I asked this two days ago
 
Old 06-27-2019, 01:57 AM   #6
Exaga
Member
 
Registered: Nov 2012
Posts: 147

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
I asked this two days ago
So, I'm a little slow!

I haven't been on LQ for a week or so.
 
Old 06-28-2019, 11:58 PM   #7
OldHolborn
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 179

Rep: Reputation: 149Reputation: 149
#Has anyone got X working yet?
#
#The cursor appears correctly but any windows are just garbage.

In general - it's nice, this is a very usable day-to-day desktop machine, the extra RAM, 4GB on this one ,makes all the difference, but it runs HOT - 59C at idle

edit: comment out
#dtoverlay=vc4-fkms-v3d
#max_framebuffers=2

and it works, glxgears is only 35 fps at 1920x1080 so some tinkering required

Last edited by OldHolborn; 06-29-2019 at 12:53 AM.
 
Old 06-29-2019, 02:52 AM   #8
Exaga
Member
 
Registered: Nov 2012
Posts: 147

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by OldHolborn View Post
edit: comment out
#dtoverlay=vc4-fkms-v3d
#max_framebuffers=2

and it works, glxgears is only 35 fps at 1920x1080 so some tinkering required
Fixed! New SARPi image has been uploaded: http://sarpi.fatdog.eu/index.php?p=downloads

Thanks for the feedback.

My experiences are similar. RPi 4 runs at 57-60 degrees Celsius just sitting at the command prompt, idling. Take note of the temperature of the USB controller and Ethernet controller chips, and DDR4 RAM, under operation because they get quite hot. Also take note of the temperature on the USB-C power socket and (surprisingly) the micro-HDMI port(s) - whichever one I have connected to my display gets very hot, very quickly.

However, it seems to run fine at those temperatures, thus far.
 
Old 06-29-2019, 03:38 AM   #9
OldHolborn
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 179

Rep: Reputation: 149Reputation: 149
I've got the temperature warning showing

83 degrees, all 4 cores compiling qt5* on an SDcard mounted noatime,nodiratime,commit=600

*Alien's 5.12.4 buildscript
 
Old 07-01-2019, 07:44 PM   #10
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 724

Rep: Reputation: 143Reputation: 143
assuming you guys installed to rpi4 using sarpi, where are you getting temperatures from?

sensors doesn't show anything on my sarpi rpi3b

OldHolborn 83 degrees, celsius?
 
Old 07-02-2019, 05:34 PM   #11
OldHolborn
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 179

Rep: Reputation: 149Reputation: 149
Hi,

No, didn't go the sarpi route so can't ( and wasn't ) commenting on the state of their rpi4 installer - took an existing slackwarearm install from an rpi2 and hammered on enough from the rpi github repo to get it to boot.

If you take the (hardfloat) /opt/vc stuff from the rpi firmware github repo you can do

# /opt/vc/bin/vcgencmd measure_temp
temp=59.0'C

( you'll need to add /opt/vc/lib to ld.so.conf and do ldconfig first )

yep it was 83 celcius! now got a small heatsink placed on it and a fan pointing at it!

# /opt/vc/bin/vcgencmd commands
for a full list of commands

I ended up building qt5-5.9.8 (add -no-webrtc to configure )
vlc - don't apply the libvpx patch

watching an mkv full screen uses only about 50% of 1 core ( fix the perms on /dev/vchiq )

( was also able to *un*comment )
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

enjoy

Last edited by OldHolborn; 07-02-2019 at 05:43 PM.
 
1 members found this post helpful.
Old 07-02-2019, 07:51 PM   #12
Exaga
Member
 
Registered: Nov 2012
Posts: 147

Rep: Reputation: Disabled
Quote:
Originally Posted by glorsplitz View Post
assuming you guys installed to rpi4 using sarpi, where are you getting temperatures from?

sensors doesn't show anything on my sarpi rpi3b

OldHolborn 83 degrees, celsius?
Soon, on the SARPi website, I'll be publishing the findings of some recent testing on the Raspberry Pi 4 using a heatsink, and heatsink+fan, attached to the SoC. I wrote a short bash script for the purpose of monitoring the CPU thermal sensors on the RPi2/3 and have been using it successfully for quite a while. With the advent of the RPi4 it's become even more useful! I've recently updated it to include the CPU clock speed as well.

No disrespect to OldHolborn, but you don't need that Raspbian shizzle. Try this code instead: http://sarpi.fatdog.eu/files/extra/cpu_status.txt

Code:
#!/bin/bash

# SARPi Project : http://sarpi.fatdog.nl - cpu_status.sh
#
# Raspberry Pi 2, 3, 4 - CPU clock frequency and thermal status.
# This script outputs the current status of the CPU clock speed (MHz)
# and core temperature (Celsius) for monitoring or testing purposes
# while under load or idle.
#
# Usage -
# Default command:   watch ./cpu_status.sh     # 2 seconds refresh
# Timed refresh:     watch -n<number of seconds or 0> ./cpu_status.sh
# With highlights:   watch -d -n0 ./cpu_status.sh
# Perm highlights:   watch -d=cumulative -n0 ./cpu_status.sh
#
# Exaga : 15 Jan 2018 - progenitor
#         29 Jun 2019 - updated with rpi model & hw revision
#         03 Jul 2019 - updated with system uptime
#

# Get RPi model and hardware revision
RPiModel=$(dmesg | grep "Machine model:" | cut -d' ' -f10-16)
RPiHWRev=$(cat /proc/cpuinfo | grep Revision | cut -d' ' -f2)

# Get cpu_status function
cpu_status () {
# Get current CPU frequency (All 4 cores)
CPU0freq=$(cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq)
cpuFreq0=$(($CPU0freq/1000))
if [ -f /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq ]; then
CPU1freq=$(cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq)
cpuFreq1=$(($CPU1freq/1000))
CPU2freq=$(cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq)
cpuFreq2=$(($CPU2freq/1000))
CPU3freq=$(cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq)
cpuFreq3=$(($CPU3freq/1000))
fi

# Ouput RPi model/version and system uptime to terminal
echo Device": "$RPiModel
echo HW Rev": "$RPiHWRev
echo
echo Uptime":"$(uptime)
echo

# Output CPU clock status to terminal
echo CPU Clock Speed
echo CPU 0 freq": "$cpuFreq0"MHz"
if [ -f /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq ]; then
echo CPU 1 freq": "$cpuFreq1"MHz"
echo CPU 2 freq": "$cpuFreq2"MHz"
echo CPU 3 freq": "$cpuFreq3"MHz"
fi
echo

# Get CPU thermal status and output to terminal
echo CPU Thermal Status
cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp)
cpuTemp1=$(($cpuTemp0/1000))
cpuTemp2=$(($cpuTemp0/100))
cpuTempM=$(($cpuTemp2 % $cpuTemp1))
echo CPU temp": "$cpuTemp1"."$cpuTempM"C"

# Output exit method to terminal
echo && echo && echo && echo
echo "[Press CTRL+C to exit.]"
}

# Roll cpu_status function
cpu_status

exit 0

#eof
Copy and paste it into a file and name it 'cpu_status.sh'. Then 'chmod +x cpu_status.sh'. Then run it once or on-the-fly with the 'watch' command...

Code:
./cpu_status.sh                  # run the script one time only - no refresh
watch ./cpu_status.sh            # default 2 second refresh
watch -n0 ./cpu_status.sh        # 0.1 second refresh
watch -n1 ./cpu_status.sh        # 1 second refresh
Or your own preference of command options may be more suitable.

Hope it helps. Much easier than ripping stuff from Raspbian.

Last edited by Exaga; 07-03-2019 at 07:06 AM. Reason: updated cpu_status.sh bash script code
 
1 members found this post helpful.
Old 07-05-2019, 11:07 PM   #13
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 724

Rep: Reputation: 143Reputation: 143
oops, I knew that about vcgencmd, sort of forgot

Anyway I have cron.daily script that captures stuff, like vcgencmd temperature.

These are Raspberry Pi 3 Model B Rev 1.2 sarpi built slackwarearm.

North side of house in a metal box no fan
vcgencmd reports temp = 54.8C (130.64F) and cpu_status.sh reports CPU temp: 55.3C

The other one upstairs kind of more south, plexi glass top and bottom open sides, noctua fan mounted above cpu
vcgencmd reports temp = 42.9C (109.22F) and cpu_status.sh reports CPU temp: 40.7C

there's no air conditioning and little clock thingy upstairs with second rpi3 says 26.8C

these were all captured around midnight
 
Old 07-06-2019, 05:36 PM   #14
Exaga
Member
 
Registered: Nov 2012
Posts: 147

Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
Soon, on the SARPi website, I'll be publishing the findings of some recent testing on the Raspberry Pi 4 using a heatsink, and heatsink+fan, attached to the SoC.
As promised: http://sarpi.fatdog.eu/index.php?p=r...i4b_thermotest

Quote:
Originally Posted by glorsplitz View Post
vcgencmd reports temp = 42.9C (109.22F) and cpu_status.sh reports CPU temp: 40.7C

there's no air conditioning and little clock thingy upstairs with second rpi3 says 26.8C

these were all captured around midnight
That's quite surprising and raises questions. It would be interesting to know which one is correct. I don't know how vcgencmd gets it's data but the bash script queries the CPU clock and thermal sensors data directly so you'd think that was accurate. Perhaps not.
 
Old 07-06-2019, 06:03 PM   #15
theWhip
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
Hi, fyi there is already a Firmware outside which fix the "thermal issue"

Best
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: GNOME 3.33.2 Released, Krita 4.2 Debuts, RPi Camera Modules on RPi Zeros Power the Penguin Watch Project, Intrinsyc Switches Its Home LXer Syndicated Linux News 0 05-30-2019 06:23 AM
LXer: Mini-PC taps RPi Compute Module and supports RPi 2 LXer Syndicated Linux News 0 02-22-2015 03:03 PM
RPi Slackware ARM installer updated to 3.10.22 kernel Exaga Slackware - ARM 0 12-11-2013 03:44 AM

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

All times are GMT -5. The time now is 11:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration