LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-04-2023, 11:28 PM   #1
updat
LQ Newbie
 
Registered: Nov 2021
Distribution: Raspberry Pi OS
Posts: 22

Rep: Reputation: Disabled
Video memory extremely slow


I'm using a RISC-V board, and I find that with one distro, X windows (based on Wayland) is acceptably fast, although I can't use it because "Plasma" frequently crashes.

When I switch to another distro (Armbian for RISC-V) that has Xorg, the framebuffer memory is so slow, it is literally a fraction of the speed of how Xfree86 was on a 80486DX in the 1990's. Does anyone know what could artificially slow down the framebuffer memory? I'm assuming at this point it is shared main memory. When I tried to use Wayland with this distro, some very buggy behavior resulted so I am stuck using Xorg.

Both distros are using the same kernel. There is no video driver as this point, it's just /dev/fb0.
 
Old 06-05-2023, 02:13 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,022

Rep: Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343Reputation: 7343
what I can imagine is the amount of available ram, or something similar (low on resources?). But without details extremely hard to say anything. From the other hand you may try to rebuild Wayland for your system, probably that will be more stable.
 
Old 06-05-2023, 06:59 AM   #3
updat
LQ Newbie
 
Registered: Nov 2021
Distribution: Raspberry Pi OS
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
what I can imagine is the amount of available ram, or something similar (low on resources?). But without details extremely hard to say anything. From the other hand you may try to rebuild Wayland for your system, probably that will be more stable.
A lack of RAM can't be it, because the board has 8GB and something like 6.5GB is free.

Also the way in which video RAM is updated is suspicious. When Xorg draws there is a diagonal tearing that occurs.
For example, when a rectangular area is to be filled with a color, this filling occurs out of order, symmetrically along a diagonal. It looks horrible but it is also super-slow.

As for Wayland, I did rebuild it and it was even buggier than Xorg but for another reason: When I type a character in xterm, it is repeated maybe 10 times. I'm surprised such bugs are even possible.

My guess is that video RAM is somehow being managed by the MMU when it shouldn't actually be, but right now I'm unsure how to prove it or fix it.

Last edited by updat; 06-05-2023 at 09:52 AM.
 
  


Reply



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
Xorg using extremely high amounts of memory (memory leaks?) HikoHaieto Linux - Software 2 04-07-2013 02:04 AM
IBM T42 "Extremely, EXTREMELY Slow" alwayslearning Linux - Laptop and Netbook 5 10-11-2009 03:34 AM
Extremely Slow Video Playback Megatog615 Linux - Software 1 09-13-2006 04:03 AM
Video playback extremely slow with Savage graphics driver moxfyre Linux - Hardware 1 04-19-2006 11:51 AM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:39 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
Open Source Consulting | Domain Registration