The new Raspberry Pi 4 Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: The new Raspberry Pi 4

Post by pakikje »

bump (because i am getting a Pi4)
aftensleuk
Posts: 30
Joined: Sun Jul 21, 2019 8:27 pm

Re: The new Raspberry Pi 4

Post by aftensleuk »

maximumwarp wrote: Mon Jul 22, 2019 5:57 am I own a Pi 4 and ysterday I flashed the experimental image based on Buster (DietPi version 6.25.3) and I have no issues! 8)

I know that in Buster NFtables replaces iptables, does the Fail2Ban dietpi-software work with this new firewall? :?
It's working great. I've tested it and currently running it on Pi4 with Buster (DP 6.25.3). In fact, it's working so well I locked my self out for 10 minutes this morning. I had forgotten I had changed the password! :lol:
aftensleuk
Posts: 30
Joined: Sun Jul 21, 2019 8:27 pm

Re: The new Raspberry Pi 4

Post by aftensleuk »

baccilus wrote: Sat Jul 20, 2019 3:57 pm I have the Raspberry Pi 4 Model B, 4GB version. If I install the experimental image, will I be kept on the experimental branch? What is the recommended way to install for me?
No, you will be converted to stable branch. You can verify this by typing;

Code: Select all

grep 'DEV_GITBRANCH' /DietPi/dietpi.txt
If you are on stable branch it will show:

Code: Select all

DEV_GITBRANCH=master

pakikje wrote: Thu Aug 01, 2019 9:33 am bump (because i am getting a Pi4)
What exactly are you asking?
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: The new Raspberry Pi 4

Post by pakikje »

Sorry, no Question. I just wanted this topic to "go" to my Quick links.(your posts) :-)
User avatar
MichaIng
Site Admin
Posts: 2422
Joined: Sat Nov 18, 2017 6:21 pm

Re: The new Raspberry Pi 4

Post by MichaIng »

I just made the experimental image the new default download. The second version of it seems to work pretty stable, no major issues reported, neither on RPi4 nor on earlier versions.
Note that there are not yet all RPi4 features supported by dietpi-config, e.g. dual HDMI or enabling 4k, but of course it can be done manually, using /DietPi/config.txt: https://www.raspberrypi.org/documentati ... t/video.md

If you guys find time, it would be great if you could run dietpi-config > Tools > Benchmarks.
Especially the RAM speed is what I am interested in. The current uploads show even slower speed than RPi3, but LPDDR4 should be faster of course: https://dietpi.com/survey/#bench_ram
If you also/still find it being around 300 MiB/s write and 600 MiB/s read, then we need to check configs where this might come from.
E.g. by default we do not set sdram_freq in /DietPi/config.txt. Default value should be 3200 on RPi4 but it could be tested if this is really the case: vcgencmd get_config int or vcgencmd get_config sdram_freq
Otherwise perhaps setting it explicitly might be required for some reason:
G_CONFIG_INJECT 'sdram_freq=' 'sdram_freq=3200' /DietPi/config.txt
aftensleuk
Posts: 30
Joined: Sun Jul 21, 2019 8:27 pm

Re: The new Raspberry Pi 4

Post by aftensleuk »

MichaIng wrote: Thu Aug 01, 2019 11:42 pm I just made the experimental image the new default download. The second version of it seems to work pretty stable, no major issues reported, neither on RPi4 nor on earlier versions.
Note that there are not yet all RPi4 features supported by dietpi-config, e.g. dual HDMI or enabling 4k, but of course it can be done manually, using /DietPi/config.txt: https://www.raspberrypi.org/documentati ... t/video.md

If you guys find time, it would be great if you could run dietpi-config > Tools > Benchmarks.
Especially the RAM speed is what I am interested in. The current uploads show even slower speed than RPi3, but LPDDR4 should be faster of course: https://dietpi.com/survey/#bench_ram
If you also/still find it being around 300 MiB/s write and 600 MiB/s read, then we need to check configs where this might come from.
E.g. by default we do not set sdram_freq in /DietPi/config.txt. Default value should be 3200 on RPi4 but it could be tested if this is really the case: vcgencmd get_config int or vcgencmd get_config sdram_freq
Otherwise perhaps setting it explicitly might be required for some reason:
G_CONFIG_INJECT 'sdram_freq=' 'sdram_freq=3200' /DietPi/config.txt
I just did. One problem to have in mind though is that because I also have my DNS-software (AdGuardHome, better alternative to Pihole, which I added to the dietpi-services list), before the benchmark test, Dietpi kills it so it cannot query the dns of dietpi-survey after the benchmark is complete. This means the survey result won't be uploaded. I excluded AdGuardHome from services so it isn't stopped before benchmark so the survey results could be uploaded afterwards. I imagine the Pi-hole users have the same problem. You would definitely get more survey data if survey was uploaded to ssh.IP instead of ssh.DNS

Anyway, results were uploaded and I'll also post them here. It does seem like the memory speeds are a bit off.

│ Benchmarks completed: │
│ - CPU Performance : Duration = 7.54 seconds (lower is │
│ faster) │
│ - CPU Temp : Idle = 44'c | Full load = 56'c │
│ - RootFS : Write = 7 MiB/s | Read = 41 MiB/s │
│ - RAM : Write = 421 MiB/s | Read = 778 MiB/s


EDIT:
I tred setting sdram to 3200 like you suggested

Code: Select all

vcgencmd get_config sdram_freq
sdram_freq=3200
RAM benchmark shows:

- CPU Performance : Duration = 7.61 seconds (lower is
faster)
- CPU Temp : Idle = 46'c | Full load = 56'c
- RootFS : Write = 3 MB/s | Read = 41 MB/s
- RAM : Write = 413 MB/s | Read = 778 MB/s

So no difference.
derders
Posts: 8
Joined: Wed Feb 27, 2019 2:26 pm

Re: The new Raspberry Pi 4

Post by derders »

first:
Benchmarks completed:
│ - CPU Performance : Duration = 8.64 seconds (lower is faster)
│ - CPU Temp : Idle = 48'c | Full load = 57'c
│ - RootFS : Write = 15 MiB/s | Read = 40 MiB/s
│ - RAM : Write = 357 MiB/s | Read = 667 MiB/s


with sdram_freq=3200
Benchmarks completed:
│ - CPU Performance : Duration = 8.53 seconds (lower is faster)
│ - CPU Temp : Idle = 46'c | Full load = 55'c
│ - RootFS : Write = 17 MiB/s | Read = 40 MiB/s
│ - RAM : Write = 362 MiB/s | Read = 682 MiB/s

RAM seems much lower than @aftensleuk`s test

Code: Select all

vcgencmd get_config int

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
disable_splash=1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_height=1080
framebuffer_ignore_alpha=1
framebuffer_swap=1
framebuffer_width=1920
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
over_voltage_sdram_p=2
pause_burst_frames=1
program_serial_random=1
sdram_freq=3200
sdram_schmoo=0x2000020
temp_limit=85
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_ignore_cec_init:0=1
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
derders
Posts: 8
Joined: Wed Feb 27, 2019 2:26 pm

Re: The new Raspberry Pi 4

Post by derders »

by the way.. there is a Kodi 18.3 Version that I installed and it works very good
(except MPEG-2 Videos that crashes Kodi immediately I have no other problems)

https://www.raspberrypi.org/forums/view ... c384e5784c

I dont know if this is needed for dependencies ...
but Rascas from pipplware.pplware.pt made 18.3 for buster PI3 that I tried before (didn`t work for PI4)...

for this I added to /etc/apt/sources.list

"deb http://pipplware.pplware.pt/pipplware/d ... ain/binary /"

with this apt key in command line: "wget -O - http://pipplware.pplware.pt/pipplware/key.asc | sudo apt-key add -"


only for the meantime till an official version will be released...
aftensleuk
Posts: 30
Joined: Sun Jul 21, 2019 8:27 pm

Re: The new Raspberry Pi 4

Post by aftensleuk »

derders wrote: Fri Aug 02, 2019 2:54 pm first:
Benchmarks completed:
│ - CPU Performance : Duration = 8.64 seconds (lower is faster)
│ - CPU Temp : Idle = 48'c | Full load = 57'c
│ - RootFS : Write = 15 MiB/s | Read = 40 MiB/s
│ - RAM : Write = 357 MiB/s | Read = 667 MiB/s


with sdram_freq=3200
Benchmarks completed:
│ - CPU Performance : Duration = 8.53 seconds (lower is faster)
│ - CPU Temp : Idle = 46'c | Full load = 55'c
│ - RootFS : Write = 17 MiB/s | Read = 40 MiB/s
│ - RAM : Write = 362 MiB/s | Read = 682 MiB/s

RAM seems much lower than @aftensleuk`s test

Code: Select all

vcgencmd get_config int

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
disable_splash=1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_height=1080
framebuffer_ignore_alpha=1
framebuffer_swap=1
framebuffer_width=1920
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
over_voltage_sdram_p=2
pause_burst_frames=1
program_serial_random=1
sdram_freq=3200
sdram_schmoo=0x2000020
temp_limit=85
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_ignore_cec_init:0=1
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
Your rootFS speeds are great. What SD-card are you using? Because I assume that's a benchmark measuring SD-speeds.
derders
Posts: 8
Joined: Wed Feb 27, 2019 2:26 pm

Re: The new Raspberry Pi 4

Post by derders »

aftensleuk wrote: Fri Aug 02, 2019 4:41 pm
derders wrote: Fri Aug 02, 2019 2:54 pm first:
Benchmarks completed:
│ - CPU Performance : Duration = 8.64 seconds (lower is faster)
│ - CPU Temp : Idle = 48'c | Full load = 57'c
│ - RootFS : Write = 15 MiB/s | Read = 40 MiB/s
│ - RAM : Write = 357 MiB/s | Read = 667 MiB/s


with sdram_freq=3200
Benchmarks completed:
│ - CPU Performance : Duration = 8.53 seconds (lower is faster)
│ - CPU Temp : Idle = 46'c | Full load = 55'c
│ - RootFS : Write = 17 MiB/s | Read = 40 MiB/s
│ - RAM : Write = 362 MiB/s | Read = 682 MiB/s

RAM seems much lower than @aftensleuk`s test

Code: Select all

vcgencmd get_config int

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
disable_splash=1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_height=1080
framebuffer_ignore_alpha=1
framebuffer_swap=1
framebuffer_width=1920
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
over_voltage_sdram_p=2
pause_burst_frames=1
program_serial_random=1
sdram_freq=3200
sdram_schmoo=0x2000020
temp_limit=85
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_ignore_cec_init:0=1
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
Your rootFS speeds are great. What SD-card are you using? Because I assume that's a benchmark measuring SD-speeds.
Samsung EVO Plus microSDHC 128 GB
Post Reply