Bug 95188 - GeForce 840M (GM108) troubles
Summary: GeForce 840M (GM108) troubles
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 15:22 UTC by Asad Mehmood
Modified: 2019-12-04 09:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg log (24.00 MB, text/plain)
2016-04-28 15:31 UTC, Asad Mehmood
no flags Details
mmiotrace.xz (3.80 MB, application/x-xz)
2016-04-30 12:00 UTC, Asad Mehmood
no flags Details
mmiotrace_nouveau.xz (7.62 MB, application/x-xz)
2016-05-02 12:45 UTC, Asad Mehmood
no flags Details
dmesg_nouvaeu_bios_trace.log (14.62 MB, text/plain)
2016-05-02 12:51 UTC, Asad Mehmood
no flags Details
dmesg_nouvaeu_bios_devinit_trace.log (276.66 KB, text/plain)
2016-05-03 11:21 UTC, Asad Mehmood
no flags Details
mmiotrace_nouveau_03052016.xz (15.88 MB, application/x-xz)
2016-05-03 11:24 UTC, Asad Mehmood
no flags Details

Description Asad Mehmood 2016-04-28 15:22:07 UTC
lspci:
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: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [258] L1 PM Substates
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] #19
	Kernel driver in use: nouveau
	Kernel modules: nouveau

insmod nouveau.ko runpm=0 debug=debug
Comment 1 Asad Mehmood 2016-04-28 15:31:35 UTC
Created attachment 123325 [details]
dmesg log
Comment 2 Asad Mehmood 2016-04-28 15:48:05 UTC
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
libdrm-2.4.67-4.fc25.x86_64
mesa-libGL-11.3.0-0.3.git171a570.fc25.x86_64
Comment 3 Asad Mehmood 2016-04-30 12:00:24 UTC
Created attachment 123366 [details]
mmiotrace.xz

MMIOTRACE ATTACHED

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

procedure

insmod nvidia.ko
nvidia-smi
rmmod nvidia
Comment 4 Ben Skeggs 2016-05-01 23:26:54 UTC
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

Thanks,
Ben.
Comment 5 Asad Mehmood 2016-05-02 12:45:34 UTC
Created attachment 123409 [details]
mmiotrace_nouveau.xz

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
Comment 6 Asad Mehmood 2016-05-02 12:51:12 UTC
Created attachment 123410 [details]
dmesg_nouvaeu_bios_trace.log
Comment 7 Ben Skeggs 2016-05-02 23:45:45 UTC
(In reply to Asad Mehmood from comment #5)
> Created attachment 123409 [details]
> mmiotrace_nouveau.xz
> 
> 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

xz is unable to decompress the file, unfortunately.
Comment 8 Ben Skeggs 2016-05-02 23:49:53 UTC
(In reply to Asad Mehmood from comment #6)
> Created attachment 123410 [details]
> dmesg_nouvaeu_bios_trace.log

Oops, my apologies.  Can that be with "debug=bios=trace,devinit=trace" ?
Comment 9 Asad Mehmood 2016-05-03 11:21:29 UTC
Created attachment 123433 [details]
dmesg_nouvaeu_bios_devinit_trace.log

bios=
Comment 10 Asad Mehmood 2016-05-03 11:24:48 UTC
Created attachment 123434 [details]
mmiotrace_nouveau_03052016.xz

Managed to get more out of the mmiotrace before the system hangs
Comment 11 Asad Mehmood 2016-07-19 10:51:24 UTC
For future reference, and to help others. I've been able to get the card to boot using 

karolherbst/stable_reclocking_kepler_v5_4.7 fd1d9d32f8bc3a0e93306bc5044fb67694445e5e

and module config
runpm=0 config=NvClkMode=7
Comment 12 Martin Peres 2019-12-04 09:13:29 UTC
-- 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/265.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.