07:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Subsystem: Hewlett-Packard Company Device 21a0
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at b5000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities:  Power Management version 3
Capabilities:  MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities:  Express Endpoint, MSI 00
Capabilities:  Virtual Channel
Capabilities:  Latency Tolerance Reporting
Capabilities:  L1 PM Substates
Capabilities:  Power Budgeting <?>
Capabilities:  Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities:  #19
Kernel driver in use: nouveau
Kernel modules: nouveau
insmod nouveau.ko runpm=0 debug=debug
Created attachment 123325 [details]
The system is an optimus system, currently I am unable to use the Nvidia gpu at all.
DRI_PRIME=1 hangs for a couple of seconds, followed by a fallback to the intel gpu.
Currently running fedora rawhide
nouveau git:3da1f2a19e5e8dc8d68a4400d9cca01c64ecd59e skeggsb:master
Created attachment 123366 [details]
uname: Linux localhost.localdomain 4.4.8-300.fc23.x86_64 #1 SMP Wed Apr 20 16:59:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
NVIDIA ver: NVIDIA-Linux-x86_64-364.19
Can you grab me the following things please:
1) dmesg log of loading nouveau with "modprobe nouveau debug=bios=trace"
2) mmiotrace of loading nouveau
Created attachment 123409 [details]
System hangs whilst trying to get an mmiotrace of nouveau.
I was able to get this by writing it out directly to the block device /dev/sda
Created attachment 123410 [details]
(In reply to Asad Mehmood from comment #5)
> Created attachment 123409 [details]
> System hangs whilst trying to get an mmiotrace of nouveau.
> I was able to get this by writing it out directly to the block device
xz is unable to decompress the file, unfortunately.
(In reply to Asad Mehmood from comment #6)
> Created attachment 123410 [details]
Oops, my apologies. Can that be with "debug=bios=trace,devinit=trace" ?
Created attachment 123433 [details]
Created attachment 123434 [details]
Managed to get more out of the mmiotrace before the system hangs
For future reference, and to help others. I've been able to get the card to boot using
and module config