User avatar
PeterO
Posts: 5005
Joined: Sun Jul 22, 2012 4:14 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 7:21 am

pvdmeer wrote:
Tue Jul 02, 2019 7:18 am
I got it yesterday and guess what, they reversed the USB and Ethernet ports
You're in for a surprise when you try to connect your monitor :lol:
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
HawaiianPi
Posts: 4594
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 7:35 am

PeterO wrote:
Tue Jul 02, 2019 7:21 am
You're in for a surprise when you try to connect your monitor :lol:
PeterO
ROFL! Image

pvdmeer wrote:
Tue Jul 02, 2019 7:18 am
... and guess what, they reversed the USB and Ethernet ports. Not only this, but they also stick out a millimeter extra. How could the Pi foundation have made such a mistake... Many casings won't fit anymore.. Is there any chance this will be fixed later on in a variation of the Pi 4?

Other changes as well, and no chance it will be fixed, because nothing is broken. It's not a mistake, it's a new design, and there's a new case to go along with it. If you don't want to buy a new case, the announcement blog said the old case could be modified (picture is link).

Image
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

fruitoftheloom
Posts: 20687
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 7:42 am

pvdmeer wrote:
Tue Jul 02, 2019 7:18 am
First off.. Let me say I love Raspberry Pi. It has almost singlehandedly brought back the coolness of home computing with its openness and DIY community. So when I heard the news, of course I ordered the Pi4 faster than an owl can hoot!

I got it yesterday and guess what, they reversed the USB and Ethernet ports. Not only this, but they also stick out a millimeter extra. How could the Pi foundation have made such a mistake... Many casings won't fit anymore.. Is there any chance this will be fixed later on in a variation of the Pi 4?

The points you make were all covered in the Blog, caveat-emptor :roll:

https://www.raspberrypi.org/blog/raspbe ... w-from-35/
Retired disgracefully.....

User avatar
ColonelDare
Posts: 14
Joined: Wed Apr 12, 2017 9:01 am

Raspberry Pi 4 and Clementine

Tue Jul 02, 2019 7:57 am

Does anyone know what happened to Clementine in the Buster repos?
I use it lots, on several devices, and will miss it if I have to move up from Stretch :-(

User avatar
HawaiianPi
Posts: 4594
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Raspberry Pi 4 and Clementine

Tue Jul 02, 2019 8:05 am

ColonelDare wrote:
Tue Jul 02, 2019 7:57 am
Does anyone know what happened to Clementine in the Buster repos?
I use it lots, on several devices, and will miss it if I have to move up from Stretch :-(
You could try the version linked on the Clementine site.
https://github.com/clementine-player/Cl ... _armhf.deb

Or check the site for more options.
https://www.clementine-player.org/

EDIT:
I took a quick look at the Buster repos and I only saw ARM64 builds, which is probably why you can't find it in Raspbian (32-bit). Give the Pi version I linked above a try, and if that doesn't work you could try building it from source.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23636
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 8:51 am

pvdmeer wrote:
Tue Jul 02, 2019 7:18 am
First off.. Let me say I love Raspberry Pi. It has almost singlehandedly brought back the coolness of home computing with its openness and DIY community. So when I heard the news, of course I ordered the Pi4 faster than an owl can hoot!

I got it yesterday and guess what, they reversed the USB and Ethernet ports. Not only this, but they also stick out a millimeter extra. How could the Pi foundation have made such a mistake... Many casings won't fit anymore.. Is there any chance this will be fixed later on in a variation of the Pi 4?
Not a mistake, a necessity due to PCB routing difficulties. Will not change.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
ColonelDare
Posts: 14
Joined: Wed Apr 12, 2017 9:01 am

Re: Raspberry Pi 4 and Clementine

Tue Jul 02, 2019 9:01 am

HawaiianPi wrote:
Tue Jul 02, 2019 8:05 am

EDIT:
I took a quick look at the Buster repos and I only saw ARM64 builds, which is probably why you can't find it in Raspbian (32-bit). Give the Pi version I linked above a try, and if that doesn't work you could try building it from source.
Thanks for the quick reply, but Clementine _is_ in the Stretch (and Wheezy) repos which is where I first came across Clementine.

If it runs on my 2x P3B+s and 2x PiZeros under Stretch <hopeful>will someone port it across pls?</hopeful>.

All else is great thanks!!! :-) ..... or at least will be as soon as booting from MSD is up and running. :-) :-)

djazz
Posts: 25
Joined: Fri Feb 03, 2012 3:26 pm
Location: Sweden
Contact: Website

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:07 am

I am running OpenGL games on a RPi 3B currently. To do that I use the fkms driver with cma=732M (maximum) and gpu_mem=16, to support loading of textures. With a Pi 4 with more RAM, can the CMA go even higher? Or is there another way video memory is allocated to the 3D hardware?
Also, what is the max texture size of the Pi 4? Until now it has been limited to 2048x2048 (VC4).
Last edited by djazz on Tue Jul 02, 2019 9:11 am, edited 1 time in total.

User avatar
bensimmo
Posts: 4175
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:10 am

pvdmeer wrote:
Tue Jul 02, 2019 7:18 am
First off.. Let me say I love Raspberry Pi. It has almost singlehandedly brought back the coolness of home computing with its openness and DIY community. So when I heard the news, of course I ordered the Pi4 faster than an owl can hoot!

I got it yesterday and guess what, they reversed the USB and Ethernet ports. Not only this, but they also stick out a millimeter extra. How could the Pi foundation have made such a mistake... Many casings won't fit anymore.. Is there any chance this will be fixed later on in a variation of the Pi 4?
It's deliberate, they needed to make a market for suppliers to design and make new cases.

Actually it's the only way they could fit it all on and work.

Perhaps the first 3 models were the mistake ?
;-)

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23636
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:13 am

djazz wrote:
Tue Jul 02, 2019 9:07 am
Also, what is the max texture size of the Pi 4? Until now it has been limited to 2048x2048 (VC4).
Currently 7680x7680.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

djazz
Posts: 25
Joined: Fri Feb 03, 2012 3:26 pm
Location: Sweden
Contact: Website

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:17 am

jamesh wrote:
Tue Jul 02, 2019 9:13 am
Currently 7680x7680.
Great! I guess "glxinfo -l | grep MAX_TEXTURE_SIZE" would give 7680 as value then?

djazz
Posts: 25
Joined: Fri Feb 03, 2012 3:26 pm
Location: Sweden
Contact: Website

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:21 am

On the Pi 4 with 1/2/4 GB is the CMA dynamic allocation still total 256 MB by default with the fkms driver?

Code: Select all

grep Cma /proc/meminfo
Last edited by djazz on Tue Jul 02, 2019 9:25 am, edited 2 times in total.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23636
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:22 am

djazz wrote:
Tue Jul 02, 2019 9:17 am
jamesh wrote:
Tue Jul 02, 2019 9:13 am
Currently 7680x7680.
Great! I guess "glxinfo -l | grep MAX_TEXTURE_SIZE" would give 7680 as value then?
Just tried that but got no results.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7274
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:26 am

djazz wrote:
Tue Jul 02, 2019 9:07 am
I am running OpenGL games on a RPi 3B currently. To do that I use the fkms driver with cma=732M (maximum) and gpu_mem=16, to support loading of textures. With a Pi 4 with more RAM, can the CMA go even higher? Or is there another way video memory is allocated to the 3D hardware?
Also, what is the max texture size of the Pi 4? Until now it has been limited to 2048x2048 (VC4).
Textures do not come out of the CMA heap, only framebuffer objects.
The new V3D block has an iommu, therefore can access any part of memory without the requirement of it being contiguous.
djazz wrote:
Tue Jul 02, 2019 9:17 am
jamesh wrote:
Tue Jul 02, 2019 9:13 am
Currently 7680x7680.
Great! I guess "glxinfo -l | grep MAX_TEXTURE_SIZE" would give 7680 as value then?
It's giving back GL_MAX_TEXTURE_SIZE = 4096 for me at present, which is odd as I've had it render dual 4k displays side by side (hence 7680).
In theory the limit is 8192, but something is timing out if you push it that far, hence why DRM/KMS reports 7680x7680 as the max display size.

Checking on James' Pi4 and it does report 8192, so it must just be my system.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

djazz
Posts: 25
Joined: Fri Feb 03, 2012 3:26 pm
Location: Sweden
Contact: Website

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:26 am

jamesh wrote:
Tue Jul 02, 2019 9:22 am
Just tried that but got no results.
Hmm... Can you upload the output of

Code: Select all

glxinfo -l
and upload it somewhere. Also note the memory capacity (1/2/4)

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7274
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:27 am

djazz wrote:
Tue Jul 02, 2019 9:26 am
jamesh wrote:
Tue Jul 02, 2019 9:22 am
Just tried that but got no results.
Hmm... Can you upload the output of

Code: Select all

glxinfo -l
and upload it somewhere. Also note the memory capacity (1/2/4)
He couldn't copy the command correctly ;)
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

djazz
Posts: 25
Joined: Fri Feb 03, 2012 3:26 pm
Location: Sweden
Contact: Website

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 9:29 am

Okay, so OpenGL memory allocation should just work then without messing with Cma? Great news!

User avatar
HawaiianPi
Posts: 4594
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Raspberry Pi 4 and Clementine

Tue Jul 02, 2019 9:31 am

ColonelDare wrote:
Tue Jul 02, 2019 9:01 am
Thanks for the quick reply, but Clementine _is_ in the Stretch (and Wheezy) repos which is where I first came across Clementine.

If it runs on my 2x P3B+s and 2x PiZeros under Stretch <hopeful>will someone port it across pls?</hopeful>.
The version I linked from the Clementine site is for Jessie, but give it a try. Or you could manually download the Stretch version from the repos. They'll probably work on Buster (unless any dependencies have been deprecated).

All else is great thanks!!! :-) ..... or at least will be as soon as booting from MSD is up and running. :-) :-)
I wouldn't know, mine are still on backorder ... :cry:
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Gomoto
Posts: 125
Joined: Tue Feb 12, 2013 1:21 am

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 3:10 pm

I love my Raspberry Pi 4. I ordered the 2 GB version, mouse and keyboard with US layout (lovley set, but where is the insert key? :ugeek:), hdmi cable and EU power supply.

The Pi provides a very nice experience on my 2560x1440p monitor. First step on all my computers after setting up the OS: Install the go programming language and vim-go (I used the raspian go version to jumpstart a manual install of go1.12.6). I enjoy to try to beat the 105 TDP Monster CPUs on Project Euler with low power CPUs, golang and a good algorithm, allthough I am not very good at this task ;). I appreciate the performance improvements of the new Pi.

In the past I used the earlier models. (One is my DNS/DHCP server right now.)

Thanks for the source of joy that is my Pi.

Moved root to ssd. Can not express my feelings :D
Last edited by Gomoto on Tue Jul 02, 2019 8:00 pm, edited 1 time in total.

W. H. Heydt
Posts: 10883
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 3:55 pm

pvdmeer wrote:
Tue Jul 02, 2019 7:18 am
First off.. Let me say I love Raspberry Pi. It has almost singlehandedly brought back the coolness of home computing with its openness and DIY community. So when I heard the news, of course I ordered the Pi4 faster than an owl can hoot!

I got it yesterday and guess what, they reversed the USB and Ethernet ports. Not only this, but they also stick out a millimeter extra. How could the Pi foundation have made such a mistake... Many casings won't fit anymore.. Is there any chance this will be fixed later on in a variation of the Pi 4?
Those changes (and the reasons for them) were mentioned in the release blog. There is nothing to "fix". There is a new case and the blog entry also described how to modify an Pi3B case to fit a Pi4B.

morphious66
Posts: 18
Joined: Tue Jul 02, 2019 1:08 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 4:23 pm

Can some one with a PI 4 go to the command line interface and run the command to test the MHZ speed on the MicroSD bus

Mod: removed insecure link

Then can you place the results here?

I trying to determine the best / fastest Micro SD card as per my thread here: https://www.raspberrypi.org/forums/view ... 3#p1490793

plugwash
Forum Moderator
Forum Moderator
Posts: 3454
Joined: Wed Dec 28, 2011 11:45 pm

Re: Raspberry Pi 4 and Clementine

Tue Jul 02, 2019 4:39 pm

ColonelDare wrote:
Tue Jul 02, 2019 7:57 am
Does anyone know what happened to Clementine in the Buster repos?
I use it lots, on several devices, and will miss it if I have to move up from Stretch :-(
It looks like it got caught up in the QT opengl es mess.

Debian builds (and raspbian doesn't change this) QT5 against opengl ES on armel and armhf because more arm boards have (or at least had) drivers for opengl ES than for desktop opengl. Unfortunately this breaks apps that rely on both desktop opengl and QT. The result seems to be that when clementine moved from QT4 to QT5, support for armel and armhf was dropped :(

User avatar
jbeale
Posts: 3491
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 5:21 pm

morphious66 wrote:
Tue Jul 02, 2019 4:23 pm
Can some one with a PI 4 go to the command line interface and run the command to test the MHZ speed on the MicroSD bus
Hello morphious66 : Is there a good reason for your code to need to run with "sudo"? I suspect not everyone is (or should be) comfortable downloading and running an unknown script in that way.
EDIT: looks like it downloads, compiles and runs the IOzone benchmark, and I presume low-level FS access requires elevated privileges. Nothing personal with you, I'm still unsure how a prudently cautious person these days should approach this sort of thing.
Last edited by jbeale on Tue Jul 02, 2019 5:38 pm, edited 1 time in total.

morphious66
Posts: 18
Joined: Tue Jul 02, 2019 1:08 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 5:27 pm

jbeale wrote:
Tue Jul 02, 2019 5:21 pm
morphious66 wrote:
Tue Jul 02, 2019 4:23 pm
Can some one with a PI 4 go to the command line interface and run the command to test the MHZ speed on the MicroSD bus
Hello morphious66 : Is there a good reason for your code to need to run with "sudo"? I suspect not everyone is (or should be) comfortable downloading and running an unknown script in that way.
Hi, Its not my code, it is code from another tread https://www.raspberrypi.org/forums/view ... 3&t=140461 it is a script to test the SD speed. My current Pi 3 results looks like this:


Mod: removed insecure link

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2227 100 2227 0 0 1296 0 0:00:01 0:00:01 --:--:-- 1297

Raspberry Pi Dramble microSD benchmarks
microSD clock: 100.000 MHz

Running hdparm test...

/dev/mmcblk0:
Timing buffered disk reads: 96 MB in 3.03 seconds = 31.66 MB/sec

Running dd test...

51200+0 records in
51200+0 records out
419430400 bytes (419 MB) copied, 69.3182 s, 6.1 MB/s

Running iozone test...
Iozone: Performance Test of File I/O
Version $Revision: 3.434 $
Compiled for 32 bit mode.
Build: linux-arm

Run began: Tue Jul 2 09:01:45 2019

Include fsync in write timing
O_DIRECT feature enabled
Auto Mode
File size set to 102400 kB
Record Size 4 kB
Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 4 1392 1822 6237 6287 5652 984

iozone test complete.

microSD card benchmark complete!

Heater
Posts: 13283
Joined: Tue Jul 17, 2012 3:02 pm

Re: Raspberry Pi 4 Thread - general discussion

Tue Jul 02, 2019 5:43 pm

Good grief yes. I do hope people are not in the habit of following random download and run commands they find on the net.

Seems morphious66 suggested it, and he does not even know what it does as he got it from somewhere else!

I'm not suggesting that anyone here has bad intentions but this is how bad stuff happens.

After three or more decades of doing this in the Windows world, download .exe, clicky, click boom, I would have hoped people had learned better.

If you are curious about such things by all means use curl, wget or whatever to download the script. Without sudo. Then read and understand the script. If it looks harmless and possibly useful then run it, with sudo if need be.

If it's an binary executable, just don't do it. Unless you trust the origin somewhat.

Return to “General discussion”