a little confusing here... (about video memory)

i use dual OS, windows XP and ubuntu karmic.

on windows it tells 1024 MB.
but on ubuntu it tells 256 MB.

anybody can explain??