Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia GeForce 6600GT AGP, no write-combining??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Sun Mar 13, 2005 8:37 pm    Post subject: Nvidia GeForce 6600GT AGP, no write-combining?? Reply with quote

I recently replaced my ATI 9700 Pro with an MSI GeForce 6600 GT and the install was without fault.. untill now. I have enabled side-band addressing and fast-writes, but dispite any settings I may attempt to change I cannot seem to get write-combining to work.

I am using:

nvidia-kernel 1.0.7167-r1
nvidia-glx 1.0.7167-r1
xorg 6.8.2-r1
ck-sources 2.6.11-r2

Code:


cat /proc/mtrr

reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1


Code:


cat /proc/meminfo

MemTotal:      1033652 kB
MemFree:        171100 kB
Buffers:        534372 kB
Cached:         191120 kB
SwapCached:          0 kB
Active:         182392 kB
Inactive:       632616 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      1033652 kB
LowFree:        171100 kB
SwapTotal:      506036 kB
SwapFree:       506036 kB
Dirty:               4 kB
Writeback:           0 kB
Mapped:         128872 kB
Slab:            36652 kB
CommitLimit:   1022860 kB
Committed_AS:   288720 kB
PageTables:       1568 kB
VmallocTotal:   253876 kB
VmallocUsed:     38148 kB
VmallocChunk:   211376 kB


Nothing odd is coming out of either my Xorg.0.log or my dmesg.

I have looked everywhere and have not yet found anyone with this particular problem. Am I correct in assuming i dont have write-combining?
Any help would be greatly appreciated.

PS: Sorry to you devs for using ~x86 and for any possible duplicate threads :roll:
_________________
Anime ate my computer
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Mar 14, 2005 1:47 am    Post subject: Reply with quote

That's correct, no write combining there.
I think it may be related to HIGHMEM. Am I right in assuming you've enabled HIGHMEM support in order to take advantage of the full 1GB RAM you have? If yes, you might want to try if it works properly with the 1GB-LOWMEM patch by Con Kolivas (it's in ck-sources and a few other patchsets).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: USA

PostPosted: Mon Mar 14, 2005 6:12 am    Post subject: Reply with quote

omg, i also have a 6600GT (XFX) and i just checked -- same thing!


i'm using 1gb lowmem patch.


-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
Benson
Apprentice
Apprentice


Joined: 23 Feb 2004
Posts: 156
Location: Switzerland

PostPosted: Mon Mar 14, 2005 10:36 am    Post subject: Reply with quote

I have an 6600GT too, I get the following output:
Code:
Benson benson # cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
reg01: base=0xe0000000 (3584MB), size=  64MB: write-combining, count=1
reg02: base=0xd0000000 (3328MB), size= 256MB: write-combining, count=1


I'm using nitro-sources and High Memory Support set to 4 GB - so is this correct or not, I don't see what would indicate that write-combining is working...

rgds
Benson
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Mar 14, 2005 7:46 pm    Post subject: Reply with quote

It's working... Look at the two lines that read write-combining.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Mon Mar 14, 2005 8:03 pm    Post subject: Reply with quote

Sure you guys arent forgetting modules-update?

Code:
dgray ~ # cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          NVIDIA
AGP Rate:        4x
Fast Writes:     Enabled
SBA:             Enabled


Code:
dgray ~ # cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size= 512MB: write-back, count=1
reg01: base=0xf0000000 (3840MB), size= 128MB: write-combining, count=1
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Tue Mar 15, 2005 12:04 am    Post subject: Reply with quote

I have done the changes to modules-update in order to get SBA and Fast Writes. I have tried getting the write combining working with and without the 1GB LOWMEM patch but to no avail. I might consider trying turning off HIGHMEM alltogether to see what happens.

UPDATE: Removing HIGHMEM from my kernel entirely doesnt solve the problem either.

Another UPDATE: Also tried nitro sources, no luck either. For those of you that are getting it to work, are you using AGPGART or the nvidia module?
_________________
Anime ate my computer
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Tue Mar 15, 2005 3:45 am    Post subject: Reply with quote

Scratalacha wrote:
I have done the changes to modules-update in order to get SBA and Fast Writes. I have tried getting the write combining working with and without the 1GB LOWMEM patch but to no avail. I might consider trying turning off HIGHMEM alltogether to see what happens.

UPDATE: Removing HIGHMEM from my kernel entirely doesnt solve the problem either.

Another UPDATE: Also tried nitro sources, no luck either. For those of you that are getting it to work, are you using AGPGART or the nvidia module?


I use the nvidia AGP support, no agpgart and no DRM.

Here is how I install the nvida kernel:

Code:
rmmod nvidia
emerge nvidia-kernel
emerge nvidia-glx
modules-update
opengl-update nvidia
modprobe-nvidia
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Tue Mar 15, 2005 3:50 am    Post subject: Reply with quote

Quote:


Here is how I install the nvida kernel:
Code:

rmmod nvidia
emerge nvidia-kernel
emerge nvidia-glx
modules-update
opengl-update nvidia
modprobe-nvidia




As for that config, I have already tried it, as for your install method, i pretty much did that. Although i will try it verbatim in just a moment.
_________________
Anime ate my computer
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Tue Mar 15, 2005 4:02 am    Post subject: Reply with quote

No luck, also just a note, but when you emerge nvidia-kernel it automatically does the modules-update and when you emerge nvidia-glx it also does opengl-update nvidia. So your commands above are really redundant. Thanks for the try anyways
_________________
Anime ate my computer
Back to top
View user's profile Send private message
Benson
Apprentice
Apprentice


Joined: 23 Feb 2004
Posts: 156
Location: Switzerland

PostPosted: Tue Mar 15, 2005 12:42 pm    Post subject: Reply with quote

moocha wrote:
It's working... Look at the two lines that read write-combining.

Thx for your reply, i wasn't sure because the size-values aren't the same as my graphiccard's ram...

rgds
Benson
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Tue Mar 15, 2005 8:10 pm    Post subject: Reply with quote

I am seeing this in my Xorg.0.log and I'm wondering if it might be part of the problems.

Code:

(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
   compiled for 6.8.2, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.2


Could it be causing the write combining not to work? Is there an easy way to disable it?
_________________
Anime ate my computer
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Tue Mar 15, 2005 10:04 pm    Post subject: Reply with quote

XfX 6600GT AGP
2.6.11-r3 (dev-src)
nvidia-kernel and -glx @ 1.0.7167-r1

Quote:

bash-2.05b$ cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1
reg01: base=0x3ff00000 (1023MB), size= 1MB: uncachable, count=1
reg02: base=0xd0000000 (3328MB), size= 128MB: write-combining, count=1

bash-2.05b$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 8x
Fast Writes: Enabled
SBA: Enabled


Looks like it works, doesnt it?
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Tue Mar 15, 2005 10:10 pm    Post subject: Reply with quote

Scratalacha wrote:
I am seeing this in my Xorg.0.log and I'm wondering if it might be part of the problems.

Code:

(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
   compiled for 6.8.2, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.2


Could it be causing the write combining not to work? Is there an easy way to disable it?


I almost forgot:

im NOT loading such module, what is it related to and what happens if you disable it?
ANSI C Emulation sounds like smth font related... :?:
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Wed Mar 16, 2005 3:59 am    Post subject: Reply with quote

I think I have found out where in the Xorg logs it is actually deciding not do use write-combining.

Code:

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(**) NVIDIA(0): Using gamma correction (1.3, 1.3, 1.3)
(--) NVIDIA(0): Linear framebuffer at 0xC0000000
(--) NVIDIA(0): MMIO registers at 0xFD000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce 6600 GT
(--) NVIDIA(0): VideoBIOS: 05.43.02.35.07
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0


Note the linear framebuffer. After this it procedes to load the fb section noted above. Can anyone with working write-combining confirm this?
_________________
Anime ate my computer
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 393
Location: Germany

PostPosted: Wed Mar 16, 2005 5:44 am    Post subject: Reply with quote

Ups, SURE im also loasing "fb" ....:oops: sorry

Code:
(**) NVIDIA(1):      Mode "640x480": 35.7 MHz, 42.9 kHz, 85.0 Hz
(II) NVIDIA(1): Virtual screen size determined to be 1024 x 768
(==) NVIDIA(1): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Reloading /usr/lib/modules/libfb.a
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Reloading /usr/lib/modules/libramdac.a
(WW) NVIDIA(1): OpenGL is not fully supported in Xinerama
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  Yes, I do.


And yes, heres the "linear framebuffer" entry:
Code:
(II) Module ramdac: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(WW) NVIDIA(0): OpenGL is not fully supported in Xinerama
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Option "NvAGP" "1"
(**) NVIDIA(1): Option "ConnectedMonitor" "CRT-1"
(**) NVIDIA(1): Use of NVIDIA internal AGP requested
(**) NVIDIA(1): ConnectedMonitor string: "CRT-1"
(--) NVIDIA(1): Linear framebuffer at 0xD0000000
(--) NVIDIA(1): MMIO registers at 0xEA000000
(II) NVIDIA(1): NVIDIA GPU detected as: GeForce 6600 GT
(--) NVIDIA(1): VideoBIOS: 05.43.02.36.00
(--) NVIDIA(1): Interlaced video modes are supported on this GPU
(II) NVIDIA(1): Detected AGP rate: 8X
(--) NVIDIA(1): VideoRAM: 131072 kBytes
(II) NVIDIA(1): Using ConnectedMonitor string "CRT-1"
(--) NVIDIA(1): Display device CRT-1: maximum pixel clock at  8 bpp: 400 MHz
(--) NVIDIA(1): Display device CRT-1: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(1): Display device CRT-1: maximum pixel clock at 32 bpp: 400 MHz
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Fri Mar 18, 2005 9:49 pm    Post subject: Reply with quote

:oops:

I feel so dumb.. just downgrade the drivers to x86... works just fine.. but now Enemy Territory is messed up... it freaks out when you use the mouse.. :x
_________________
Anime ate my computer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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