Skip to contentSkip to conversation

lm_sensors and nvidia graphic card temperature

lm-sensors Christoph Anton Mitterer 3 participants 8 messages Dec 9, 2005 – Dec 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi.

Modern Nvidia graphic cards support temperature monitoring of the GPU. It would be nice to see lm_sensors support that. Is there anything going on in that field?

Greetings,
Chris.

#1 lore raw
Quoted 4 lines · Rudolf Marek

You can try:
1) load i2c-rivatv (or whatever driver for the i2c nvidia bus)

Is this going to be available for 2.6.x kernels?

Chris.

#2 lore raw
In reply to Christoph Anton Mitterer

Hi Christoph,

Quoted 4 lines
Quoted 2 lines

You can try:
1) load i2c-rivatv (or whatever driver for the i2c nvidia bus)

Is this going to be available for 2.6.x kernels?

It is supposed to be already, except that the exact name is "rivatv", not "i2c-rivatv".

http://rivatv.sourceforge.net/

Alternatively, you should be able to gain control of the nVidia I2C busses using the in-kernel-tree rivafb or nvidiafb framebuffer drivers. Make sure to enable "DDC support" in either case.

Signature · 1 line
Jean Delvare
#3 lore raw
In reply to Christoph Anton Mitterer
Quoted 2 lines

Alternatively, you should be able to gain control of the nVidia I2C busses using the in-kernel-tree rivafb or nvidiafb framebuffer drivers.

I have a rivafb module, which loads fine and produces no output on stderr or syslog. What does "gain control of the nvidia i2c busses" mean? That sensors-detect should find them? It doesn't for me:

modprobe -v rivafb
sensors-detect
...
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus nForce2 adapter at 1c00' Busdriver i2c-nforce2', I2C address 0x50 Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus nForce2 adapter at 1c00' Busdriver i2c-nforce2', I2C address 0x51 Chip `SPD EEPROM' (confidence: 8)
Driver `it87' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip ITE 8712F Super IO Sensors' (confidence: 9)
...

Same output as always.

Are we talking about the same thing?

Linux .. 2.6.13-15.7-default #1 Tue Nov 29 14:32:29 UTC 2005 x86_64 sensors-2.9.1-4
Gigabyte PCI-express graphics card with nvidia geforce 6600 chip

Quoted 1 line

Make sure to enable "DDC support" in either case.

Where? The kernel config doesn't seem to know about it:
zgrep -i ddc /proc/config.gz
gives no output. Grepping through the kernel source doesn't tell me anything more, and none of the 5 rivafb module paramters have to do with DDC.

Thanks,

Volker

Signature · 2 lines
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.dnsalias.net/		Please do not CC list postings to me.
#4 lore raw
In reply to Christoph Anton Mitterer

Hi Volker,

Quoted 6 lines
Quoted 2 lines

Alternatively, you should be able to gain control of the nVidia I2C busses using the in-kernel-tree rivafb or nvidiafb framebuffer drivers.

I have a rivafb module, which loads fine and produces no output on stderr or syslog. What does "gain control of the nvidia i2c busses" mean? That sensors-detect should find them? It doesn't for me:

"Gain control" means that i2c/smbus chip drivers can "see" the bus and try attaching to devices thereon. You can use i2cdetect to list and probe these busses.

Quoted 17 lines

modprobe -v rivafb
sensors-detect
...
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus nForce2 adapter at 1c00' Busdriver i2c-nforce2', I2C address 0x50 Chip `SPD EEPROM' (confidence: 8)
* Bus SMBus nForce2 adapter at 1c00' Busdriver i2c-nforce2', I2C address 0x51 Chip `SPD EEPROM' (confidence: 8)
Driver `it87' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver i2c-isa') Chip ITE 8712F Super IO Sensors' (confidence: 9)
...

Quoted 3 lines

Same output as always.

Are we talking about the same thing?

If you have a recent graphics adapter, you most likely need the nvidiafb driver. Just because rivafb loads silently doesn't mean it did anything useful. Actually, the fact that it was silent suggests very strongly that it does NOT support your graphics adapter.

Quoted 11 lines

Linux .. 2.6.13-15.7-default #1 Tue Nov 29 14:32:29 UTC 2005 x86_64 sensors-2.9.1-4
Gigabyte PCI-express graphics card with nvidia geforce 6600 chip

Quoted 1 line

Make sure to enable "DDC support" in either case.

Where? The kernel config doesn't seem to know about it:
zgrep -i ddc /proc/config.gz
gives no output. Grepping through the kernel source doesn't tell me anything more, and none of the 5 rivafb module paramters have to do with DDC.

For some reason the symbols have "I2C" rather than "DDC" in their names:

CONFIG_FB_RIVA_I2C:
CONFIG_FB_NVIDIA_I2C

Signature · 1 line
Jean Delvare
#5 lore raw
In reply to Christoph Anton Mitterer

Hi Jean,

Quoted 4 lines

If you have a recent graphics adapter, you most likely need the nvidiafb driver. Just because rivafb loads silently doesn't mean it did anything useful. Actually, the fact that it was silent suggests very strongly that it does NOT support your graphics adapter.

Thanks, that makes sense. Loading nvidiafb gives in syslog

kernel: nvidiafb: module not supported by Novell, setting U taint flag.
kernel: ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 58
kernel: PCI: Unable to reserve mem region #2:10000000 at e0000000 for device 0000:05:00.0
kernel: nvidiafb: cannot request PCI regions
kernel: ACPI: PCI interrupt for device 0000:05:00.0 disabled
kernel: klogd 1.4.1, ---------- state change ----------

Which doesn't look too good to me, and sensors-detect doesn't find anything more. From lspci

05:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)

There was something about this on this list in March, but that involved kernel oopses.

At least the display doesn't crash and burn on me... Everything seems to continue to operate normally.

Linux 2.6.13-15.7-default #1 Tue Nov 29 14:32:29 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux

Booting with acpi=off at the grub command line leads to a stone dead system before I've lifted the finger off the enter key.

# i2cdetect -l
i2c-2   dummy   ISA main adapter                ISA bus algorithm
i2c-1   unknown SMBus nForce2 adapter at 1c40   Algorithm unavailable
i2c-0   unknown SMBus nForce2 adapter at 1c00   Algorithm unavailable

These are already accounted for (mobo super io, 2 dimms).

I'm so far running with xorg's nv driver, though I could try nvidia's.

Thanks + greets,

Volker

Signature · 2 lines
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.dnsalias.net/		Please do not CC list postings to me.
#6 lore raw
In reply to Christoph Anton Mitterer

Hi Volker,

Quoted 9 lines

Thanks, that makes sense. Loading nvidiafb gives in syslog

kernel: nvidiafb: module not supported by Novell, setting U taint flag.
kernel: ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 58
kernel: PCI: Unable to reserve mem region #2:10000000 at e0000000 for device 0000:05:00.0
kernel: nvidiafb: cannot request PCI regions
kernel: ACPI: PCI interrupt for device 0000:05:00.0 disabled
kernel: klogd 1.4.1, ---------- state change ----------

Quoted 4 lines

Which doesn't look too good to me, and sensors-detect doesn't find anything more. From lspci

05:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)

Look for a conflicting device in /proc/iomem.

Signature · 1 line
Jean Delvare
#7 lore raw
In reply to Christoph Anton Mitterer

Hi Jean,

Quoted 3 lines
Quoted 1 line

kernel: nvidiafb: cannot request PCI regions

Look for a conflicting device in /proc/iomem.

Thanks! Now nvidiafb loads without trouble, but I didn't do anything. Perhaps it has something to do with switching to nvidia's binary-only geforce driver, or updating the mobo bios to latest. No additional anything though from either sensors-detect or i2cdetect -l.

For fun, I tried the rivafb module again too, it now also loads without syslog message, but still doesn't show me any i2c anything on the graphics card.

I conclude therefore that the card doesn't have any i2c facilities. For anyone else trying the same, the card is a

Gigabyte GV-NX66256DP 6600 PCIE Video Card
05:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2) 05:00.0 Class 0300: 10de:0141 (rev a2)

Thanks for all your help, it's really appreciated. And thanks for some cool software!

Volker

Signature · 2 lines
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.dnsalias.net/		Please do not CC list postings to me.