[Nouveau] [Bug 76732] Kworker using 100% CPU

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 10 01:37:09 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76732

--- Comment #39 from patrick.clara at gmail.com ---
(In reply to comment #38)
> (In reply to comment #37)
> > I think I should add that it happens only if I boot in pure EFI mode. If I
> > boot in EFI mode with CSM enabled, on the second load it behaves as usual.
> > 
> > I tried loading nouveau at boot with "config=NvForcePost=1". This seems to
> > workaround the problem for now. Also X starts corectly.
> > 
> > Will do some more testing...
> 
> Are you booting on a Macbook with something like rEFIt or rEFInd? How are
> you booting pure CSM if so? I'd like to try to duplicate this.

I have an Asus Zenbook UX51VZ and using simply GRUB (The EFI version
obviously), no rEFIt or rEFInd.

Maybe I could not explain it clear enough.
If I boot in pure EFI mode, unloading and loading nouveau again, makes nouveau
think the gpu is not initialized, or did not do the post. (Which I think the
bios should do, but not sure). Therefore, as you can see by comparing the two
last dmesgs i attached, nouveau is executing a big chunk of the vbios. After
doing so CPU load is normal and everythink seems to work as it should, at least
for now.

In the other case, where loading, unloading and loading again doesn't make any
difference, i did not boot in pure CSM mode. I booted in EFI mode but with CSM
enabled. These things actually go beyond my knowledge, but as far I understand,
enabling CSM while still booting in EFI mode, enables legacy functionality like
PCIROM, VGA setup and things like that.

I now tried als the pure CSM boot but there is no difference between pure CSM
and EFI with CSM enabled.


In any case the interesting thing in the dmesg of the second load in pure EFI
is this line:
nouveau  [ DEVINIT][0000:01:00.0] adaptor not initialised 

The behavior of nouveau, if it thinks the gpu is not initialized can be forced
by passing this parameter to nouveau: "config=NvForcePost=1".
Either in grub with "nouveau.config=NvForcePost=1" or in /etc/modprobe/...

So probably it would be more interesting trying this than to replicate the
strange behavior of unloading and loading again.

"config=NvForcePost=1", for me, works in pure EFI, EFI with CSM and also in
pure CSM.



One last thing:
I suppose that my system is newer running the init scripts in vbios during
POST, but I think there is more. As this patch describes
(http://www.spinics.net/lists/linux-pci/msg29828.html), the bios should also
set up VGA (whatever it means).
On my system, booting in pure EFI "cat /sys/class/drm/card0/device/boot_vga"
prints 0 and therefore the X server doesn't find my gpu and fails to start.
If CSM is enabled, and also in pure CSM mode, it prints 1 as it should.

Just for my curiosity, could you please check how your machine behaves
regarding this boot_vga?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140410/9669ec02/attachment.html>


More information about the Nouveau mailing list