Hi,
I got a RP4/8G with the idea to use it as a desktop machine. I installed a cooler with a fan and a fast SSD on it and everything looked nice except the graphics performance. I don't have much experience with graphics so I decided to ask for an advise here and this is my first post.
My question is: am I running the latest and greatest software on the Pi and is my graphics configuration ok for an optimal performance?
You can see details about my system on the performance chart where I compared it with an old x86 machine.
https://openbenchmarking.org/result/201 ... PI40609065
I have overclocked the cpu to 2000MHz and the V3D to 600MHz. I configured it to use vc4-kms-v3d-pi4. So far the Pi runs under 50 degrees Celsius.
The test I used is old but I also ran glmark2 and I got it under 60.
On the Pi I run nothing more than a web browser and office apps.
-- Thanks in advance
Re: Bad Linux graphics performance
The KMS driver is still under development so you should really be using the FKMS driver.
But what, specifically, is the problem with the graphics performance?
But what, specifically, is the problem with the graphics performance?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.
Re: Bad Linux graphics performance
about as good as it gets. just backup anything important & have fun playing around.My question is: am I running the latest and greatest software on the Pi and is my graphics configuration ok for an optimal performance?
if you got spare sd, you can play with other os's, if you have 3.0 flash drive or adapter+ssd you can gain speed.
Re: Bad Linux graphics performance
I understand that the KMS driver is work in progress so I actually started with the FKMS driver and then upgraded the kernel so that I can run the KMS one.
As I said I do not have much experience with graphics so I can not be very specific. The thing is that I compare the Pi with an old Linux machine of mine and although the latter has a slower CPU (AMD X2 1900MHz) it feels faster when manipulating windows. The difference is visible even when moving the mouse - I have bigger latency on the Pi. Window manipulations push the Pi's cores to 100% so it appears to me that the Pi is using the CPU for tasks that are more suitable for the GPU. The performance tests I ran show graphics performance of the Pi 2 to 100 times lower than old Nvidia GeForce 9500 GT. And finally I saw some people reporting glmark2 score above 100 with the Pi so it could be that I just haven't configured it well. I need a desktop machine and if it is a matter of configuration I wouldn't need to buy another one.
Re: Bad Linux graphics performance
I generally need Linux but if you say that Windows runs better on the Pi4 I might try it. I wasted some time with other Linux distributions but IMO this is a matter of configuration and not a matter of distribution.
-
- Posts: 25174
- Joined: Tue Mar 25, 2014 12:40 pm
- Location: Delightful Dorset
Re: Bad Linux graphics performance
Microsoft have never released a version of Windows on ARM 10 for the Raspberry Pi SBC.
Therefore just run a bog standard install of Raspberry Pi ARM or ARM64 Beta Operating System fully APT updated, that is the best optimisation.
Regards speed tests not a fair comparison as the Raspberry Pi SBC VideoCore based SoC includes the graphics:
https://en.wikipedia.org/wiki/VideoCore
The information is out there....you just have to let it in.
Re: Bad Linux graphics performance
I wouldn't worry about it, you don't move windows very often, so it really doesn't matter how fast they move. It actual usage that is important - when doing the usual things like browsing, word processing, spreadsheets etc. Do they seem to be badly affected by slow graphics?vkamenen wrote: ↑Tue Nov 17, 2020 2:58 pmI understand that the KMS driver is work in progress so I actually started with the FKMS driver and then upgraded the kernel so that I can run the KMS one.
As I said I do not have much experience with graphics so I can not be very specific. The thing is that I compare the Pi with an old Linux machine of mine and although the latter has a slower CPU (AMD X2 1900MHz) it feels faster when manipulating windows. The difference is visible even when moving the mouse - I have bigger latency on the Pi. Window manipulations push the Pi's cores to 100% so it appears to me that the Pi is using the CPU for tasks that are more suitable for the GPU. The performance tests I ran show graphics performance of the Pi 2 to 100 times lower than old Nvidia GeForce 9500 GT. And finally I saw some people reporting glmark2 score above 100 with the Pi so it could be that I just haven't configured it well. I need a desktop machine and if it is a matter of configuration I wouldn't need to buy another one.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.
Re: Bad Linux graphics performance
You seem to be benchmarking the Raspberri Pi against an older Windows PC - which has a dedicated Geforce GPU? That's not a fair battle imo, no wonder the results are not too great.
How about you compare the performance to something like integrated Intel HD, I suppose this would be closer to reality. Overall, if you consider size factor and power consumption, the performance of the Raspberry Pi is pretty decent. And the OpenGL drivers for the GPU of the Raspberry 4 are still being worked at, I am confident they will become much better with the next updates.The GeForce 9500 GT DDR2 incorporates 1 GB of DDR2 memory, clocked at 400 MHz. It has a 128 bit wide memory interface, which results in 12.8 GB/s memory bandwidth. The GPU supports PCI Express 2.0 interface, and requires a single motherboard slot. The maximum power draw of this model is 50 Watt.
Re: Bad Linux graphics performance
no not windows, i'm talking about raspberry 64bit, ubuntu 20.10, kodi, android, retropie, etc....
the 64bit raspberry is pretty good, ubuntu is a bit slow, but this is there first real try.
raspberry 64bit
https://downloads.raspberrypi.org/raspi ... 020-08-24/
ubuntu
https://ubuntu.com/download/raspberry-p ... rm64+raspi
i have raspberry 32bit & 64bit & ubnutu
Re: Bad Linux graphics performance
is this another case of:
"...expecting Ferrari F1 performance on a minica with stock engine..."?
try increasing GPU memory from 16MB to 192MB...
"...expecting Ferrari F1 performance on a minica with stock engine..."?
try increasing GPU memory from 16MB to 192MB...
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Re: Bad Linux graphics performance
I believe so. Opening tabs in a browser is something quite common. Then opening documents like PDFs and so on. Even text scrolling hits the CPU more than it should (IMO).
Re: Bad Linux graphics performance
I read that the default for RP4 is 76M. In fact this is what they say about amount of memory and the performance:
More information can be found here: https://www.raspberrypi.org/documentati ... /memory.md.Unlike GPU's found on x86 machines, where increasing memory can improve 3D performance, the architecture of the VideoCore means there is no performance advantage from specifying values larger than is necessary, and in fact it can harm performance.
Re: Bad Linux graphics performance
don't forget to enable acceleration in the browser.
chromium chrome://flags
Override software rendering list enable
chrome://gpu to check
firefox-esr about:config
gfx.webrender.all true
about:support to check
Re: Bad Linux graphics performance
the 192MB (well actually its 196MB) value is recommended if one wants to run Kodi...
even on desktop setups that I dont run Kodi... I always set GPU memory to 196MB (already set as my default)
even on a RPi3B+ I did this:
reading about something is ok..... trying it out for yourself is another thing....
even on desktop setups that I dont run Kodi... I always set GPU memory to 196MB (already set as my default)
even on a RPi3B+ I did this:
reading about something is ok..... trying it out for yourself is another thing....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Re: Bad Linux graphics performance
In fact it is not hard to find such comparison:
https://openbenchmarking.org/result/201 ... HINKPADG74
Re: Bad Linux graphics performance
linux is only partially supported, but the parts that work are good. you can ignore the errors.
yesDoes it work for you?
this is the important part, try it off than on.
Code: Select all
HW_COMPOSITING available by default
OPENGL_COMPOSITING available by default
GPU_PROCESS available by default
- Attachments
-
- Screenshot from 2020-11-17 12-36-19.png (98.48 KiB) Viewed 472 times
Re: Bad Linux graphics performance
This is misleading information. With that option enabled the benchmark results are the same (a bit worse). The error can not be ignored.
These are not settings that can be turned off or on by itself. These are actually "decision log" settings that are controlled by certain variables. Which are these variables is not obvious.kerry_s wrote: ↑Tue Nov 17, 2020 10:37 pmthis is the important part, try it off than on.Code: Select all
HW_COMPOSITING available by default OPENGL_COMPOSITING available by default GPU_PROCESS available by default
Re: Bad Linux graphics performance
The MotionMark benchmark https://browserbench.org/MotionMark1.1 confirms my feeling. On the Pi I get score of 1.13, while on the aforementioned old Linux machine I get four times better graphics performance (both in Firefox). On OnePlus 5T I get more than 30 times better performance, although the results have quite a big deviation.
The idea of this post was not to criticize the Pi, but to check with the community if I am using it with its optimal for highest performance software configuration on Linux. The purpose was to see if it is usable as a desktop machine or not within the requirements I have.
The idea of this post was not to criticize the Pi, but to check with the community if I am using it with its optimal for highest performance software configuration on Linux. The purpose was to see if it is usable as a desktop machine or not within the requirements I have.
Re: Bad Linux graphics performance
that scores a typo right?
- Attachments
-
- Screenshot from 2020-11-18 01-28-56.png (192.68 KiB) Viewed 376 times
-
- Posts: 25174
- Joined: Tue Mar 25, 2014 12:40 pm
- Location: Delightful Dorset
Re: Bad Linux graphics performance
vkamenen wrote: ↑Wed Nov 18, 2020 11:12 amThe MotionMark benchmark https://browserbench.org/MotionMark1.1 confirms my feeling. On the Pi I get score of 1.13, while on the aforementioned old Linux machine I get four times better graphics performance (both in Firefox). On OnePlus 5T I get more than 30 times better performance, although the results have quite a big deviation.
The idea of this post was not to criticize the Pi, but to check with the community if I am using it with its optimal for highest performance software configuration on Linux. The purpose was to see if it is usable as a desktop machine or not within the requirements I have.
Benchmarks are just a guide, why do users get so hung up on this ? The only way to see if it meets ones expectations is to actually use it. You are still comparing completely differing Architecture....
The information is out there....you just have to let it in.
Re: Bad Linux graphics performance
We don't try to gain benchmarks by tweaking things that are detrimental to real world experience (which is what almost everyone else does), so you need to take that in account.
But as fruit says above, does it work in real life? And what would you expect us to do about it if it's not good enough - if you have reached the limit of the HW there isn't any thing we can do. Remember you are using a device that costs $35. Comparing to a devices that cost $200 or more doesn't seem that fair. I'm using a Pi4 here, standard clocking, seems to work fine for me. But then, I use it, rather than just run benchmarks.
Also note, the 3D drivers are under constant development. That may result in more speed, or it may not.
But as fruit says above, does it work in real life? And what would you expect us to do about it if it's not good enough - if you have reached the limit of the HW there isn't any thing we can do. Remember you are using a device that costs $35. Comparing to a devices that cost $200 or more doesn't seem that fair. I'm using a Pi4 here, standard clocking, seems to work fine for me. But then, I use it, rather than just run benchmarks.
Also note, the 3D drivers are under constant development. That may result in more speed, or it may not.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5708
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Bad Linux graphics performance
I just ran MotionMark1.1 and got 37.90.
I'm running a fresh "Raspberry Pi OS with desktop" "August 20th 2020" 32-bit image, allowing the setup wizard to updating system.
I happen to be on 5.10 kernel with kms enabled (but I doubt that is making a difference).
I'm using hdmi at 1280x720@60. Using a Pi4, 4GB.
Chromium reports as 84.0.4147.141.