Skip to contentSkip to conversation

Framebuffer console performance

DISCUSSION Gary Thomas 2 participants 3 messages Mar 24, 2005 – Apr 18, 2005 1 message not in the archive Framebuffer layer

lore
Share & tools
lore
#0 lore raw

I have a non-standard framebuffer (i.e. I wrote the driver, based on the au1000 driver) running on 2.4.27. When I run virtual consoles on it, I see sluggish scroll performance. I get quite acceptable performance when the system first comes up, e.g. during the system initialization messages, but not long afterwards the scrolling slows down. It can get continually worse, eventually ending up at a crawl.

This is a memory limited embedded system, but I do not have any swapping going on.

Ideas or hints where I might look?

Thanks for your time.

n.b. I'm not subscribed to this list, so please CC my direct email address when replying.

Signature · 12 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#1 lore raw
Quoted 7 lines · Gary Thomas

I have a non-standard framebuffer (i.e. I wrote the driver, based on the au1000 driver) running on 2.4.27. When I run virtual consoles on it, I see sluggish scroll performance. I get quite acceptable performance when the system first comes up, e.g. during the system initialization messages, but not long afterwards the scrolling slows down. It can get continually worse, eventually ending up at a crawl.

When the system starts up, the scroll mode is 'redraw'. This mode is acceptable, not too slow and not too fast either, whatever the hardware is.

After starting up, the scroll mode changes depending on the driver. Most probably, it is using ypan which is not too great on systems without accelerated rectangle moves and framebuffer reads are slow.

Try setting vyres == yres using fbset and see if that helps.

Tony

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#3 lore raw
In reply to a message not in the archive
Quoted 10 lines · Gary Thomas
Quoted 9 lines · Antonino A. Daplas
Quoted 7 lines · Gary Thomas

I have a non-standard framebuffer (i.e. I wrote the driver, based on the au1000 driver) running on 2.4.27. When I run virtual consoles on it, I see sluggish scroll performance. I get quite acceptable performance when the system first comes up, e.g. during the system initialization messages, but not long afterwards the scrolling slows down. It can get continually worse, eventually ending up at a crawl.

Quoted 8 lines
Quoted 8 lines

When the system starts up, the scroll mode is 'redraw'. This mode is acceptable, not too slow and not too fast either, whatever the hardware is.

After starting up, the scroll mode changes depending on the driver. Most probably, it is using ypan which is not too great on systems without accelerated rectangle moves and framebuffer reads are slow.

Try setting vyres == yres using fbset and see if that helps.

Thanks for getting back to me on this.

This does seem to have been the problem. I made a few tweaks to my driver's setup and now it does not switch into slow mode (I actually think it was going into __SCROLL_YMOVE mode instead of __SCROLL_YREDRAW)

Signature · 12 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click