5/22/07

How I deal with linux agp interrupt problem on A7N8X-E

My box use asus motherboard[a7n8x-e] with asus agp card[n6200d]. Yes, it work great on windows but A7N8X-e acpi bios or acpi module on linux bring me a lot of problem.
I can't remember how many attempts I try to get nvidia linux driver work with a7n8x-e and n6200td card. Every time I try will end with

(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
(EE) NVIDIA(0): interrupts generated by the NVIDIA graphics device.
(EE) NVIDIA(0): Please see the FREQUENTLY ASKED QUESTIONS section in the
(EE) NVIDIA(0): README for additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

Xwindow go to black screen. This error, from faq and in my understand, is dealing with agp interrupts and the answer(w/o any bios update from asus) should be something between
acpi=off
noapic
pci=biosirq
pci=noacpi
irqpoll

After some experimental in combine those params I found irqpoll is require to take care of agp interrupts and acpi=off give me minimal ERR.

Here is the result when boot with acpi=off and irqpoll parameter.
pnix@pnix-a7n:~$ cat /proc/interrupts
CPU0
0: 18977 XT-PIC-XT timer
1: 69 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
3: 532 XT-PIC-XT NVidia nForce2
5: 74 XT-PIC-XT eth0, ohci_hcd:usb3
6: 5 XT-PIC-XT floppy
7: 100030 XT-PIC-XT ohci_hcd:usb1, nvidia
8: 3 XT-PIC-XT rtc
9: 3 XT-PIC-XT ohci1394
10: 0 XT-PIC-XT MPU401 UART
11: 6229 XT-PIC-XT ehci_hcd:usb2, libata
12: 1088 XT-PIC-XT i8042
14: 116 XT-PIC-XT ide0
15: 269 XT-PIC-XT ide1
NMI: 354
LOC: 18861
ERR: 53
MIS: 0
pnix@pnix-a7n:~$ cat /proc/driver/nvidia/cards/0
Model: GeForce 6200
IRQ: 7
Video BIOS: 05.44.a2.03.00
Card Type: AGP
DMA Size: 32 bits
DMA Mask: 0xffffffff
pnix@pnix-a7n:~$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled
pnix@pnix-a7n:~$


Still has some error. Look like nvidia share interrupt with usb controller. Anyway I test all six usb ports and it work, for Xwindow, gdm start fine, so I think it's good to have graphic driver. That's mean no more nv driver, Full video acceleration.:D

0 comments: