Bug 18809 - X w/ nouveau driver doesn't start on G86M [GeForce 8400M GT] chip
Summary: X w/ nouveau driver doesn't start on G86M [GeForce 8400M GT] chip
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Maarten Maathuis
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 15:34 UTC by Ingmar Vanhassel
Modified: 2010-07-23 16:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (11.08 KB, text/plain)
2008-11-28 18:19 UTC, Ingmar Vanhassel
no flags Details
IO logging a mode set (6.31 KB, application/octet-stream)
2009-02-06 04:29 UTC, Ingmar Vanhassel
no flags Details
GeForce 8400M GT BIOS (56.00 KB, application/octet-stream)
2009-02-06 04:29 UTC, Ingmar Vanhassel
no flags Details
A patch that makes things work, hopefully. (5.38 KB, patch)
2009-02-10 11:22 UTC, Maarten Maathuis
no flags Details | Splinter Review

Description Ingmar Vanhassel 2008-11-28 15:34:09 UTC
X w/ nouveau driver doesn't start on G86M [GeForce 8400M GT] chip

This is with
    libdrm @ 7e4e0fbbb82b0467d46386bcac1115812aaa1393
    xf86-video-nouveau @ 20f93a94ae034ee7c744947f42a29a7c0b50ee9d
    Xorg 7.4, xserver 1.5.3

lspci -vv:

01:00.0 VGA compatible controller: nVidia Corporation G86M [GeForce 8400M GT] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Sony Corporation Device 902d                                                                     
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-       
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-        
        Latency: 0, Cache Line Size: 64 bytes                                                                       
        Interrupt: pin A routed to IRQ 16                                                                           
        Region 0: Memory at ce000000 (32-bit, non-prefetchable) [size=16M]                                          
        Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]                                             
        Region 3: Memory at cc000000 (64-bit, non-prefetchable) [size=32M]                                          
        Region 5: I/O ports at 2000 [size=128]                                                                      
        Capabilities: [60] Power Management version 2                                                               
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)                          
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-                                                         
        Capabilities: [68] MSI: Mask- 64bit+ Count=1/1 Enable-                                                      
                Address: 0000000000000000  Data: 0000                                                               
        Capabilities: [78] Express (v1) Endpoint, MSI 00                                                            
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <4us                              
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-                                             
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-                                  
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+                                                
                        MaxPayload 128 bytes, MaxReadReq 512 bytes                                                  
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-                                 
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <4us                  
                        ClockPM- Suprise- LLActRep- BwNot-                                                          
                LnkCtl: ASPM L0s L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+                              
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-                                              
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-                 
        Capabilities: [100] Virtual Channel <?>                                                                     
        Capabilities: [128] Power Budgeting <?>                                                                     
        Capabilities: [600] Vendor Specific Information <?>                                                         
        Kernel driver in use: nouveau

Console output is as follows:

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-rc8 x86_64 
Current Operating System: Linux pinky 2.6.27-rc8 #4 SMP Wed Oct 1 12:57:24 UTC 2008 x86_64
Build Date: 28 November 2008  10:13:14PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 28 23:37:36 2008
(==) Using config file: "/etc/X11/xorg.conf"
(EE) NOUVEAU(0): ========== unknown reg 0x0002130C ==========
(EE) NOUVEAU(0): ========== unknown reg 0x00021218 ==========
(EE) NOUVEAU(0): ========== unknown reg 0x0002004C ==========
(EE) NOUVEAU(0): ========== unknown reg 0x00020060 ==========
(EE) NOUVEAU(0): 0xC767: Init table command not found: 0x76
(EE) NOUVEAU(0): LVDS and no modes found, bailing out.

Backtrace:
0: X(xorg_backtrace+0x26) [0x4df036]
1: X(xf86SigHandler+0x39) [0x48a9d9]
2: /lib/libc.so.6 [0x7f1ad4632ac0]
3: /usr/lib64/xorg/modules/drivers//nouveau_drv.so [0x7f1ad353423b]
4: X(xf86ProbeOutputModes+0x5a8) [0x499f38]
5: X(xf86InitialConfiguration+0x165) [0x49a5a5]
6: /usr/lib64/xorg/modules/drivers//nouveau_drv.so [0x7f1ad350dab4]
7: X(InitOutput+0xbe6) [0x45c676]
8: X(main+0x2c2) [0x428e32]
9: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f1ad461f146]
10: X(FontFileCompleteXLFD+0x219) [0x428849]

Fatal server error:
Caught signal 11.  Server aborting


Can't think of any other useful information atm...

Thanks!
-Ingmar
Comment 1 Maarten Maathuis 2008-11-28 18:10:35 UTC
Provide a full xorg log at least.
Comment 2 Ingmar Vanhassel 2008-11-28 18:19:53 UTC
Created attachment 20685 [details]
Xorg.log

(In reply to comment #1)
> Provide a full xorg log at least.

Oops :)
Comment 3 Maarten Maathuis 2008-12-04 09:53:34 UTC
I thought i replied a long time ago, sorry for that.

Please get vbtracetool (http://nouveau.freedesktop.org/wiki/DumpingVideoBios), look at the QUICKSTART and get me two bios traces (normal and io) and a bios dump. It's ofcource no garuantee, but i'll try to look at it. Note that the bios traces should be done while in text mode.
Comment 4 Ingmar Vanhassel 2009-02-06 04:29:18 UTC
Created attachment 22641 [details]
IO logging a mode set
Comment 5 Ingmar Vanhassel 2009-02-06 04:29:26 UTC
Created attachment 22642 [details]
GeForce 8400M GT BIOS
Comment 6 Ingmar Vanhassel 2009-02-06 04:32:53 UTC
(In reply to comment #3)
> Please get vbtracetool (http://nouveau.freedesktop.org/wiki/DumpingVideoBios),
> look at the QUICKSTART and get me two bios traces (normal and io) and a bios
> dump. It's ofcource no garuantee, but i'll try to look at it. Note that the
> bios traces should be done while in text mode.
 
Sorry for being so incredibly slow, long story & I'll spare you the defails, but I finally got (new) hardware to test this on.

I've attached the BIOS & IO trace. The POST trace is available at http://dev.exherbo.org/~ingmar/nouveau/

HTH,
Ingmar
Comment 7 Maarten Maathuis 2009-02-10 11:22:31 UTC
Created attachment 22771 [details] [review]
A patch that makes things work, hopefully.

Give this a try, if the display starts acting crazy, then please turn it off.

Your notebook is rarity (not supporting ddc on lvds), so i have little to compare against.
Comment 8 Maarten Maathuis 2009-02-10 15:41:50 UTC
I made a mistake, hopefully i'll have a better patch later on.
Comment 9 Maarten Maathuis 2009-02-10 16:04:30 UTC
Could you create a mmio-trace of the nvidia/blob driver?

http://nouveau.freedesktop.org/wiki/MmioTrace
Comment 10 Ingmar Vanhassel 2009-02-11 10:38:43 UTC
(In reply to comment #9)
> Could you create a mmio-trace of the nvidia/blob driver?
> 
> http://nouveau.freedesktop.org/wiki/MmioTrace

I'll have a go at it.
Do you still want me to try your last patch from Comment #7?
Comment 11 Maarten Maathuis 2009-02-11 10:44:20 UTC
No, i was wrong. Later i found a hint, but i have to find another place to retrieve this information from, so i'm hoping a mmiotrace will tell me that. It'll still be a needle in a haystack, but without a mmiotrace i have no chance of finding it.
Comment 12 Ben Skeggs 2009-12-03 03:11:19 UTC
This really should work now with the latest code, and kernel modesetting.  Can you confirm?
Comment 13 Marcin Slusarz 2010-07-23 16:15:36 UTC
(In reply to comment #12)
> This really should work now with the latest code, and kernel modesetting.  Can
> you confirm?

No reponse from the reporter for more than 6 months. Closing.
If the problem still exists on current version, please reopen with new set of logs.


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.