Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gXine and MTRR in the kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Tue May 13, 2003 8:34 pm    Post subject: gXine and MTRR in the kernel Reply with quote

When I run:
Code:
xine-check
I get the following
Code:
Please be patient, this script may take a while to run...
[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.4.20-gaming-r3)
[ good ] intel compatible processor, checking MTRR support
[OUCH!!] no MTRR support in kernel.
         If you have an AGP graphics card, you can probably get some
         performance improvements if you recompile your kernel with
         MTRR support.
         press <enter> to continue...


Now, I am logged in a root. When I go to /usr/src/linux and run make menuconfig to check my current configuration, I find:
Code:
[*] MTRR (Memory Type Range Register) support


What gives?

Link to my .config file.
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Tue May 13, 2003 9:45 pm    Post subject: Reply with quote

Are you sure you installed that kernel correctly? Mounted /boot and all that?


~Mac~
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Wed May 14, 2003 12:39 am    Post subject: Reply with quote

I strayed from the norm. I only have a / filesystem, so /boot would be mounted when / was. I don't get it.
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
Pigeon
Guru
Guru


Joined: 21 Jun 2002
Posts: 307

PostPosted: Wed May 14, 2003 2:20 am    Post subject: Reply with quote

/usr/src/linux/Documentation/mtrr.txt wrote:
On Intel P6 family processors (Pentium Pro, Pentium II and later)
the Memory Type Range Registers (MTRRs) may be used to control
processor access to memory ranges. This is most useful when you have
a video (VGA) card on a PCI or AGP bus. Enabling write-combining
allows bus write transfers to be combined into a larger transfer
before bursting over the PCI/AGP bus. This can increase performance
of image write operations 2.5 times or more.

The Cyrix 6x86, 6x86MX and M II processors have Address Range
Registers (ARRs) which provide a similar functionality to MTRRs. For
these, the ARRs are used to emulate the MTRRs.

The AMD K6-2 (stepping 8 and above) and K6-3 processors have two
MTRRs. These are supported. The AMD Athlon family provide 8 Intel
style MTRRs.

The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. These
are supported.

The VIA Cyrix III and VIA C3 CPUs offer 8 Intel style MTRRs.

The CONFIG_MTRR option creates a /proc/mtrr file which may be used
to manipulate your MTRRs. Typically the X server should use
this. This should have a reasonably generic interface so that
similar control registers on other processors can be easily
supported.
Your .config says you're optimizing your kernel for a Pentium-MMX. Assuming you have a pentium-mmx, which doesn't have MTRR's.... you're sol. Sorry.
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Wed May 14, 2003 2:31 am    Post subject: Reply with quote

Thank you ... It all makes sense now. I will soon be upgrading to a K6-2 450.
I am doing a low-end thing and seeing how Linux/Gentoo handles old hardware.

Check out my blog: here
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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