Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Jan 2020, 19:47
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Quirky Xerus 8.1.4 for Raspberry Pi2 and 3
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 31 of 46 [680 Posts]   Goto page: Previous 1, 2, 3, ..., 29, 30, 31, 32, 33, ..., 44, 45, 46 Next
Author Message
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 04 Dec 2016, 10:26    Post subject: "Running warm"  

Barry, I saw your blog comment "Running warm".

I think that you're running with the CPU scaling frequency governor set to the default powersave. That governor limits the CPU frequency to 600 MHz.

If you change it to performance, the CPU frequency will double to 1.2 GHz and stay there. You'll most likely notice the heatsink get hotter (SoC temp > 58 C) but also a bit better performance when compiling Cool

Here's how to make the changes. First check which governor is being used:
Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
#
# vcgencmd measure_clock arm
frequency(45)=600000000

Now change to the performance governor:
Code:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
#
# vcgencmd measure_clock arm
frequency(45)=1200000000

The SoC core temperature can be measured like this:
Code:
# vcgencmd measure_temp
temp=36.5'C

_________________
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

Last edited by pakt on Sun 04 Dec 2016, 12:58; edited 1 time in total
Back to top
View user's profile Send private message 
TeX Dog

Joined: 06 Jul 2016
Posts: 341

PostPosted: Sun 04 Dec 2016, 10:39    Post subject:  

So this is not right? does't seem to change?
Code:

#  cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
# vcgencmd measure_clock arm
frequency(45)=600064000
#
# echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
# vcgencmd measure_clock arm
frequency(45)=600000000
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
# vcgencmd measure_clock arm
frequency(45)=600000000
#
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5511
Location: GB

PostPosted: Sun 04 Dec 2016, 10:49    Post subject:  

Quote:
You'll most likely notice the heatsink get hotter (> 58 C)

If that is the external HS contact temperature, I wonder what it is inside the cpu?!
Sensors on my 2x and 4x AMD x86 show 33C under load and that is supposed to be reading from the internal diode, not a contact thermistor. The whole idea of ARM architecture would seem to be lost viz, reduced instruction set, reduced feature size, low power, small footprint?
It's not just the heatsink size, but how quickly the heat can be removed. Al and copper have complementary heat conduction and heat capacity, but only a fan can physically remove the heat into the environment. Enclosures are not a good idea. I saved some large full-size PC cases to run my main systems. The micro boards inside crouch over in one corner. The whole thing is a large air chest from which the 5" PSU fan, located in the opposite corner, can easily remove heat. Some nodding acquaintance with fluid mechanics/aeronautics helps - probably someone reading this has a lot more knowledge and experience than me.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 04 Dec 2016, 10:54    Post subject:  

TeX, have you changed any 'turbo' settings in config.txt ?

I'm running with the default settings. What do you get when you run
Code:
vcgencmd get_config int

Here's the output I get when running the 'performance' governor
Code:
# vcgencmd get_config int
arm_freq=1200
audio_pwm_mode=1
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_depth=32
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_force_cec_address=65535
hdmi_group=1
hdmi_mode=16
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x186a0
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
temp_limit=85

_________________
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 04 Dec 2016, 11:06    Post subject:  

Sage wrote:
Quote:
You'll most likely notice the heatsink get hotter (> 58 C)

If that is the external HS contact temperature, I wonder what it is inside the cpu?!

That's me being unclear. I actually meant that the SoC would get hotter, ie, greater than 58 C, making the heatsink hotter in turn.

_________________
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
Back to top
View user's profile Send private message 
TeX Dog

Joined: 06 Jul 2016
Posts: 341

PostPosted: Sun 04 Dec 2016, 11:07    Post subject:  

Code:
# vcgencmd get_config int
arm_freq=1200
audio_pwm_mode=1
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_depth=32
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_force_cec_address=65535
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x124f8
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
temp_limit=85
#

Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 04 Dec 2016, 11:15    Post subject:  

Quote:
Quote:
[quote="TeX Dog"]
Code:
# vcgencmd get_config int
arm_freq=1200

It says right there that your CPU is running at 1.2GHz.

Hmm, nope, that's not right. 'arm_freq=1200' doesn't change when I change the governor, so I'm reading that wrong.

It's probably the maximum frequency the GPU allows the CPU to run at. This SoC is complicated because it's actually the GPU that controls the CPU here. GPU settings made at boot time control, in turn, the settings of the ARM chip Confused

If I understand it right, when the Raspberry Pi was designed, the Broadcom engineers added a 1-core ARM CPU to the GPU they had in production. The Pi boots the GPU first - that's where you see the colors flash on the screen. Then the ARM CPU is booted by the GPU. So the 4 ARM cores of Pi3 are just an appendage of the GPU Laughing
Simple, right Shocked

_________________
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

Last edited by pakt on Sun 04 Dec 2016, 11:44; edited 1 time in total
Back to top
View user's profile Send private message 
TeX Dog

Joined: 06 Jul 2016
Posts: 341

PostPosted: Sun 04 Dec 2016, 11:19    Post subject:  

Me either going to google online maybe I got a defective unit?? You are using a pi3 like me right? I have added HMDI setting to configs to match yours and warm rebooted. Same results for me.
Back to top
View user's profile Send private message 
TeX Dog

Joined: 06 Jul 2016
Posts: 341

PostPosted: Sun 04 Dec 2016, 11:29    Post subject:  

Not a peep online.. did find this cool oneliner cut/paste to terminal

Code:
echo -e "CPU => $(echo "scale=1; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc)'C\nGPU => $(/opt/vc/bin/vcgencmd measure_temp | sed "s/^.....//g")"


results:
Code:
# echo -e "CPU => $(echo "scale=1; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc)'C\nGPU => $(/opt/vc/bin/vcgencmd measure_temp | sed "s/^.....//g")"
CPU => 39.1'C
GPU => 39.7'C
#
Back to top
View user's profile Send private message 
TeX Dog

Joined: 06 Jul 2016
Posts: 341

PostPosted: Sun 04 Dec 2016, 11:46    Post subject:  

Other oddball stuff happen, tried to play video and a frozen image of a prior <days ago> was blended in alpha channel. Did a cold reboot, redid commands and ALL IS NORMAL acts like yours. This was running for days and even during a bad T-Storm when I unplugged everything else from wall, forgot it was still on battery backup phone charger so stayed running.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 04 Dec 2016, 11:51    Post subject:  

TeX Dog wrote:
redid commands and ALL IS NORMAL acts like yours.

Whew, glad I wasn't making a complete dog's breakfast out of those commands Shocked

_________________
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1156
Location: Sweden

PostPosted: Sun 04 Dec 2016, 12:23    Post subject:  

For anyone wanting to delve further into the guts of the GPU, here's a page with GPU commands to play with:
http://www.elinux.org/RPI_vcgencmd_usage

_________________
Methinks Raspberry Pi were ideal for runnin' Puppy Linux
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5454
Location: Ontario

PostPosted: Mon 05 Dec 2016, 21:12    Post subject:  

Preetam is close to getting Maru OS to work on LG G4 cellphone.

Quote:

Any way I fixed mouse .

There was a problem because udev do not run in chroot , and udev provide the input devices to xorg .
But we can go back to traditional way so I fixed .

I had to add to /etc/X11/xorg.conf :

Section "ServerLayout"
Identifier "Configured"
Option "AutoAddDevices" "false"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Protocol" "auto"
Option "Device" "/dev/input/event5"
Option "ZAxisMapping" "4 5 6 7"
EndSection


and I removed /usr/share/X11/10-evdev.conf

Mouse works perfect now . Also i increased Video ram to 64 mb and I see videos in youtube works better.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5454
Location: Ontario

PostPosted: Tue 06 Dec 2016, 20:38    Post subject:  

They succeeded!
Much faster than Nexus5 phone because of more powerful processor.
Here is picture of maru os operating on LG G4
https://groups.google.com/group/maru-os-dev/attach/c8ea48ac4f2e3/20161206_174149.jpg?part=0.1&view=1
_____________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5454
Location: Ontario

PostPosted: Thu 08 Dec 2016, 19:19    Post subject:  

BarryK wrote:
Pi3 running a bit hot Posted on 6 Dec 2016, 18:42 by admin
T2 has been running for a couple of days, with pauses. Stopped earlier, running again this afternoon, has been going for about 4 hours.

T2 is set to run with 3 cores. I reported some temperatures earlier:
http://barryk.org/news/?viewDetailed=00468

Outside temperature is 23 degrees C. 6pm, so later afternoon. Don't know what it is inside, probably about that.

The CPU governor is set to "performance", and this is the temp:

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

Worries me, that, a bit too high for my liking.


Note to Barry: If you have a small room fan you could blow air through the fins and this will definitely aid in keeping the chip cooler.

________________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 31 of 46 [680 Posts]   Goto page: Previous 1, 2, 3, ..., 29, 30, 31, 32, 33, ..., 44, 45, 46 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1126s ][ Queries: 12 (0.0418s) ][ GZIP on ]