Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UVESAFB: bootsplash much slower with mtrr:2 than mtrr:3...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sat Aug 10, 2013 8:45 am    Post subject: UVESAFB: bootsplash much slower with mtrr:2 than mtrr:3... Reply with quote

[... is it normal?]

Hi all.

I've setup bootsplash with uvesafb but I noticed it's much slower with mtrr:2 than with mtrr:3. By slower I mean updating the splash screen while booting. For instance I can clearly see the screen being filled (from top to down) when the splash is first displayed. And fading takes much longer. Just refreshing the splash screen is slow.

I switched to mtrr:2 because I had spotted warning messages such as
Code:
mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
as explained in the documentation. However bootsplash was much faster.

Is that behaviour normal or have I missed something?

My video card is an nVidia GeForce GTS 450.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Aug 15, 2013 1:26 pm    Post subject: Reply with quote

On modern systems, MTRR use is often reduced in favor of PAT. So BIOS writers pay less attention to it than they used to. Most likely the issue you are seeing is due to BIOS bugs.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Fri Aug 16, 2013 9:17 am    Post subject: Reply with quote

Thanks chithanh.

chithanh wrote:
On modern systems, MTRR use is often reduced in favor of PAT. So BIOS writers pay less attention to it than they used to. Most likely the issue you are seeing is due to BIOS bugs.

I tried booting my kernel without any mtrr argument (i.e. video=uvesafb:ywrap,1280x1024-32) and now the error message is gone. I can see PAT is used indeed. Thanks for the tip.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum