![]() |
K1000M on Thinkpad W530: card falls off the bus
Hi,
I've been breaking my head trying to get Bumblebee to work. After some generous help on #bumblebee IRC channel, I started doing some low-level testing, and managed to narrow down the problem. Distro is Gentoo. Kernel version is 3.2 (I can try with 3.5 or other kernels but I suspect the problem will persist). Driver versions I have tried are 304.22, 304.43 and 304.48. Either doing this: Code:
# modprobe nvidiaCode:
# nvidia-xconfig -query-gpu-infoCode:
[ 48.990268] nvidia: module license 'NVIDIA' taints kernel.Code:
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0ffc] (rev ff) (prog-if ff)Any ideas? Thanks in advance Cheers GODLiKE |
Re: K1000M on Thinkpad W530: card falls off the bus
Forgot to attach nvidia-bug-report: http://www.vicarious.com.ar/~godlike...-report.log.gz (have patience, it's my home connection :))
|
Re: K1000M on Thinkpad W530: card falls off the bus
Don't you need to put 'optirun' in front of any commands you want to run with the nvidia card? For instance, lspci tells you 'unknown header type 7f' because the card is off (ie in lower power state), so if you do 'optirun lspci' you should see more useful information. If you run nvidia-settings, you also need to specify the X display to use, ie "optirun nvidia-settings -c :8".
And you shouldn't need to worry about nvidia-xconfig, just edit the config file that bumblebee is using (eg on Ubuntu it puts this in /etc/bumblebee/xorg.conf.nvidia). |
Re: K1000M on Thinkpad W530: card falls off the bus
Quote:
Moreover, optirun basically what it does is running whatever it is you put after "optirun" in another X server running on the dedicated GPU, and then drawing the results back to the main display. "optirun lspci" does not make sense in this scenario. |
Re: K1000M on Thinkpad W530: card falls off the bus
Quote:
This is why your lspci command couldn't get any details about the nvidia card, and why "optirun lspci" makes perfect sense. For instance, on my system: Code:
optirun lspci -s 1:00.0 -vCode:
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev a1) (prog-if 00 [VGA controller])Code:
lspci -s 1:00.0 -vCode:
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev ff) (prog-if ff) |
Re: K1000M on Thinkpad W530: card falls off the bus
I should have mentioned it before, but lspci errors out only after I get the "fallen off the bus" error (which happens whenever I wish to use the GPU).
Here's what I get after a clean reboot, and nothing loaded (not bbswitch, not nvidia module, no nothing). Also, I can modprobe nvidia and throw an lspci afterwards and the result is the same. I also tried modprobing both nvidia an bbswitch and manually power-cycling the card, which works. Only after doing anything that actually requires use of the card (be it optirun, nvidia-xconfig, nvidia-smi, or a CUDA program), does the GPU fall off the bus and the lspci output is as displayed on my first post. Code:
panther godlike # lspci -d 10de: -vvnn |
Re: K1000M on Thinkpad W530: card falls off the bus
I just booted on an Ubuntu 12.04 x64 livecd and can confirm that the GPU is working. At least nvidia-xconfig -query-gpu-info now gives me something.
|
Re: K1000M on Thinkpad W530: card falls off the bus
Fixed it. I was missing these two kernel options:
Code:
CONFIG_NO_HZ: Anyway, I'm off to sleep. Hope this serves somebody. |
Re: K1000M on Thinkpad W530: card falls off the bus
One more thing: after doing more testing at the request of the Bumblebee guys, I could see that IOMMU kernel configuration has an impact too. Without this option compiled in:
Code:
CONFIG_CALGARY_IOMMU: |
| All times are GMT -5. The time now is 11:28 PM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.