Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mtrr doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Tue Aug 13, 2002 8:02 pm    Post subject: Mtrr doesn't work Reply with quote

Hi All.

I'm running Gentoo, and it's very fast and stable.

My system: XP1800+, Abit kr7a-raid (via266), 512MB, Geforce 2 MX

I'm using the Gentoo kernel (sys-kernel/gentoo-sources). Ext3, no preempt. People talk of "low latency" - I don't remember that from menuconfig.

If I compile the kernel with mtrr, I can't emerge nvidia-kernel. It fails with unresolved symbols. Mtrr can presumably boost graphics speed a lot. I get about 900 in glxgears (1600x1200x32). On Standard redhat on the same system I get about 1400.

Some people use mtrr without problems. What's wrong?

On the same note: framebuffer. There is a lot of rather confusing advice on this. I simply want lightening fast graphics, and preferably a vga boot. Has anybody managed to find a viable solution for a similar system?

Thanks,
H
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Tue Aug 13, 2002 8:39 pm    Post subject: Reply with quote

Searching through these forums indicate that framebuffer support on nvidia cards and using the nvidia drivers cause issues. As near as I have been able to make-out you should leave framebuffer alone and wait for a fix. As for your mtrr support you should consult the forums and specifically this README found on nvidia's site that covers AGP/MTRR support issues.

Hope that helps!

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Wed Aug 14, 2002 1:12 am    Post subject: Reply with quote

Yes, framebuffer definately spells trouble. I leave it for now.

Mtrr: I've not found any good answers anywhere, sadly. I've just been through 25 kernel compiles, and these's no way I can enable mtrr.

The readme from nvidia doesn't mention mtrr, nor do their forums. Google doesn't help much either.

Oh well...

Thanks,
H
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Aug 14, 2002 2:24 am    Post subject: Reply with quote

I have heard some different myths/rumors about mtrr/nvidia/smp/ram-size have you got smp enabled? Do you have dual processors? You might try disabling smp if you can.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Wed Aug 14, 2002 1:59 pm    Post subject: Reply with quote

Quote:
I have heard some different myths/rumors about mtrr/nvidia/smp/ram-size have you got smp enabled? Do you have dual processors? You might try disabling smp if you can.


Yes, I have smp enabled. The kernel won't compile without it... I think...

I would have thought that everybody were very interessted in getting these things to work, nice and stable.

Thanks for your help,
Herodot
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Aug 14, 2002 2:32 pm    Post subject: Reply with quote

Check this out for info on compiling without SMP. This thread offers a solution to a potential problem you might run into.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Herodot
Guru
Guru


Joined: 29 Jul 2002
Posts: 429
Location: Professor Xavier's school for gifted youngsters

PostPosted: Thu Aug 15, 2002 12:46 pm    Post subject: Reply with quote

I can't compile without smp. If I adjusted 100+ other settings then maybe... but I'll leave this for now. Strange though it is.

- H
Back to top
View user's profile Send private message
DesertFox
n00b
n00b


Joined: 14 Nov 2002
Posts: 53

PostPosted: Sun Dec 15, 2002 5:46 am    Post subject: Reply with quote

For general support about whether or not mtrr is currently running, type

cat /proc/mtrr

and if your graphics card is using it, you should see a setting with your graphics card's memory amount (like 32 mb)

info about adding more lisings is

/usr/src/linux/Documentation/mtrr.txt


more of a read here

http://dvd.sourceforge.net/xine-howto/en_GB/html/howto-9.html
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Mon Dec 16, 2002 1:06 am    Post subject: Reply with quote

I've never compiled in smp support and I've always used mtrr with Nvidia. Never had a problem.

You could try vanilla sources if you haven't already, which is what I've always used.
Back to top
View user's profile Send private message
Vancouverite
Apprentice
Apprentice


Joined: 28 Sep 2002
Posts: 162
Location: Vancouver, Canada

PostPosted: Mon Dec 16, 2002 1:13 am    Post subject: Reply with quote

I have an Athlon 1.4GHz, MSI-K7T-Turbo (kt133a), 384MB, GeForce2 MX400 and I have both mtrr and frame buffer working great. I suspect your mtrr problems are related to the smp issue. Also I am using the lolo-sources kernel. Here is how to get the frame buffer working. I am using 1280x1024@16bpp.

1) Compile in support for the following:
Console drivers > VGA text console and Video mode selection support

Frame-buffer support > Support for frame buffer devices
VESA Vga graphics console
Advanced low level driver options
Monochrome support
2,4,8,16,24,32 bpp support

2) Activate the frame buffer and set it's resolution by passing options to the kernel. These are the options I pass to my kernel:
"vga=794 video=vesa:ywrap,mtrr"

This selects mode 1280x1024@16bpp using vesa frame buffer enabling scrollback and the use of mtrr to speed things up. When you set this up you should set "vga=ask" so when you boot you will be prompted to enter a mode manually. When you are prompted to enter a mode the number you enter must be hexadecimal. When you have found the mode you like best you must convert this hexadecimal number into decimal and put this decimal number into the "vga= ".
For instance 031A in hex is 794 decimal. For a list of VESA modes check out the framebuffer howto:
http://www.tahallah.demon.co.uk/programming/Framebuffer-HOWTO-1.2-5.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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