Created attachment 134558 [details]
dmesg with nouveau.debug=trace + acpidump + xorg.conf
I've got a portable computer with an Intel graphic card and a nvidia discrete card (G 105M).
I've installed Fedora 26.
Everything should run fine with nouveau and Prime.
However, xrandr --listproviders only send me 1 provider, which is the Intel card.
I've seen a problem with the BIOS and the nvidia card :
[ 2.777871] nouveau 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[ 2.777887] nouveau 0000:01:00.0: bios: unable to locate usable image
[ 2.777895] nouveau 0000:01:00.0: bios ctor failed, -22
$ lspci |grep -E "3D|VGA"
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce G 105M] (rev a2)
$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:Intel
The issue is that shadow_fetch() fails for ACPI. It tries to read a 0xf800-sized image and apparently can't. Both the fast and slow methods end up the same. Also it's NPDE is set to "HYB$", although looking at the code that shouldn't really matter.
However something's there, since it gets far enough to e.g. check the NPDE. Either the _ROM method is buggy, or we're driving it slightly incorrectly.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/373.