UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
604 Views
Registered: ‎05-05-2015

zcu102 + GPU +PCIe

Hello,

 

I have been trying to add a GPU card to the PCIe slot present in the zcu102.

 

I have built the nvidia.ko in the board and I am running Ubuntu created with the latest petalinux tools 2018.1.

 

When I try to insert the driver using insmod I get :

 

[ 3259.872635] NVRM: Can't find an IRQ for your NVIDIA card!
[ 3259.872636] NVRM: Please check your BIOS settings.
[ 3259.872637] NVRM: [Plug & Play OS] should be set to NO
[ 3259.872637] NVRM: [Assign IRQ to VGA] should be set to YES
[ 3259.872638] nvidia: probe of 0000:01:00.0 failed with error -1
[ 3259.872640] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 3259.872641] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 3259.872643] NVRM: NVIDIA init module failed!

 

I was wondering if anybody had any suggestions for this ?

 

Thanks,

0 Kudos
1 Reply
Contributor
Contributor
570 Views
Registered: ‎05-05-2015

Re: zcu102 + GPU +PCIe

 

Hello,

 

Looking at the driver code it looks like that the error message happens after the call:

 

pci_enable_device (dev) 

 

The dev->irq after this call is set to 0 so then the message "can't get irq for card"

 

Since this is pci_enable_device is part of the Linux kernel should not assign some resources ? 

 

lspci -v seems to be detecting the card correctly as it can be seen below  (there is a irq 53 Is this the same interrupt that should be collected by pci_enable_device ? )

 

Overall it looks like what I am trying to do is impossible but it would have been interesting to understand a bit better the problem.

 

01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 680] (rev a1) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. GK104 [GeForce GTX 680]
Flags: fast devsel, IRQ 53
Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
Memory at 600000000 (64-bit, prefetchable) [size=128M]
Memory at 608000000 (64-bit, prefetchable) [size=32M]
I/O ports at <unassigned> [disabled]
[virtual] Expansion ROM at e1000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19

0 Kudos