Re: "assumed" graphic card memory



I'd say it needs a framebuffer device which I do not have

Use the PCI variant ;-).

Also, the PCI path varies a lot

Obviously. The correct PCI path would need to be found first.

(I used "lspci|grep VGA", hehe.)

None of this works at all on non-Linux systems, for that matter.
(Wine does run on non-Linux systems, in case you didn't realize that.)

Default to 64MB on those systems.

This reports the wrong values for me in
one machine with a 32M video card:
134217728

Ok. Guess it's rubbish then, too bad.
Oh well.

It might be possible to guesstimate the available memory:
http://delphi3d.net/articles/viewarticle.php?article=texman.htm

Promising!

But perhaps an easier approach would be to fix every Linux driver
to report the correct number in sysfs. I'm pretty sure each driver
knows how much RAM is on the card already, so it should be trivial..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Video card preference?
    ... > I've read this group for a few days now in preparation for my next ... > computer purchase. ... > clear of ATI for a video card but as I'm sure people don't tend to write ... nVidia cards supported by nVidia's Linux driver have always worked ...
    (alt.linux)
  • Sun Raptor GFX-450 Video card
    ... Has anybody any knowledge of a Linux driver for the Sun Raptor GFX-450 ... Video card. ... For Sparc Linux (Debian) of course. ...
    (comp.os.linux.hardware)
  • Re: AMDs Athlon64 or Intels P4?
    ... I am not ready to let go of this video card. ... > and paid like $400 for it!! ... I think I can still get more FPS because my Athlon ... You should be aware then that there's no 64bit Linux driver for any ATi ...
    (comp.os.linux.setup)