public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ed Sweetman <ed.sweetman@wmich.edu>
To: linux-kernel@vger.kernel.org
Subject: mem issues with G450 and matroxfb
Date: Thu, 28 Aug 2003 14:55:59 -0400	[thread overview]
Message-ID: <3F4E503F.6070703@wmich.edu> (raw)


I posted this mail to xfree86.org's public mailing list and surprise, 
not a lot of activity on the mailing list.  I suspect more people use 
matroxfb and X and read this list than people who dont even know what 
they are on the other list.  This has to do mostly with the mm series of 
2.6 kernels


I'm aware that the accel features of matroxfb (ala 2.5/2.6) can only
take advantage of the lower 16MB of a 32MB G450 card.  My question
revolves around the fact that fbset -i tells me my card has 16MB even
though dmesg reports the driver detecting 32MB like it should.  I hacked
mga_vid (mplayer's video kernel device driver for matroxfb) so that it
works with 2.6 and it also detects 32MB.
Now all of this would be ok because the comments in matroxfb says the
accel features is all that is limited by 16MB and that it can still use
all 32MB for display and such while accelerated. The problem is X only
reports detecting what fbset reports as my video card's memory size and
because i have matroxfb loaded, it ignores videoram directives in the
config file. xaa isn't using the same amount of cache that it normally
would without the framebuffer driver loaded so i am assuming X is not
seeing 32MB like the matroxfb driver says it should be able to do.

Now on top of this. X seems to not be using the mtrr's that the matroxfb
driver setup.
mtrr: no MTRR for e4000000,1000000 found
is what X reports according to dmesg.  and xfree86.log shows this as
what is being requested.

This is what is in my /proc/mtrr file for the video card.
reg02: base=0xe4000000 (3648MB), size=  32MB: write-combining, count=3
reg05: base=0xe0000000 (3584MB), size=  64MB: write-combining, count=1

One appears to be the video card's memory, the other agp's access to
system memory.

Perhaps this is due to the 16MB visible thing? Is fbset just reporting 
wrong? How can i tell if i'm really only accessing 16MB of my card's 
memory or if i actually am utilizing all of it?

I'm using matroxfb simply for the mplayer driver because it does triple 
buffering which makes the video look noticably better than simple xv.





             reply	other threads:[~2003-08-28 18:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28 18:55 Ed Sweetman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-28 21:02 mem issues with G450 and matroxfb Petr Vandrovec
2003-08-28 21:29 ` Ed Sweetman
2003-08-29 10:40 Petr Vandrovec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F4E503F.6070703@wmich.edu \
    --to=ed.sweetman@wmich.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox