VBE video memory cache
Posted: Fri Nov 28, 2008 11:32 am
Hello all..
I had posted a topic on the VBE fps long back. That time I was getting around 15 fps from my best SSE VBE-LFB code and that was pretty slow. You could see four screen splits in one paint.
Now I just found this setting in my BIOS which allows me to set the video memory cache mode (UC or USWC). It was at UC by default and I changed it to USWC. Doing this gave me an fps of 100 approximately. I have two questions.
1. What is UC (Is it Uncached?) and what is USWC and how did this work?
2. All linux distros that I have used and winxp seem to do this through their code, as the screen painting is fast and the same irrespective of the BIOS setting (UC/USWC). How do they do it?
I had posted a topic on the VBE fps long back. That time I was getting around 15 fps from my best SSE VBE-LFB code and that was pretty slow. You could see four screen splits in one paint.
Now I just found this setting in my BIOS which allows me to set the video memory cache mode (UC or USWC). It was at UC by default and I changed it to USWC. Doing this gave me an fps of 100 approximately. I have two questions.
1. What is UC (Is it Uncached?) and what is USWC and how did this work?
2. All linux distros that I have used and winxp seem to do this through their code, as the screen painting is fast and the same irrespective of the BIOS setting (UC/USWC). How do they do it?