Bug 85742

Summary: GF117M Can *not* use nouveau at all
Product: xorg Reporter: lampshade
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: NEW --- QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium CC: lampshade
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lampshade 2014-11-01 19:32:46 UTC
Created attachment 108769 [details]
dmesg

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] [10de:1140] (rev a1)
	Subsystem: Acer Incorporated [ALI] GeForce GT 620M [1025:064a]
	Kernel driver in use: nouveau
	Kernel modules: nouveau

lsb_release -ircd
Distributor ID:	Fedora
Description:	Fedora release 21 (Twenty One)
Release:	21
Codename:	TwentyOne

uname -a
Linux Fedora21 3.17.1-304.fc21.x86_64 #1 SMP Sat Oct 25 00:56:36 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


cat /home/fedora/dmesg | grep -e "nouveau E" -e "nouveau W"
[    3.655926] nouveau W[     PFB][0000:01:00.0][0x00000000][ffff88009832f800] reclocking of this ram type unsupported
[    3.709612] nouveau E[     DRM] Pointer to TMDS table invalid
[    3.711778] nouveau E[     DRM] Pointer to flat panel table invalid
[   30.776804] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0x0000001f FAULT at 0x6013d4 [ !ENGINE ]
[   51.790691] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0x0000001f FAULT at 0x6013d4 [ !ENGINE ]
[  109.843251] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0x0000001f FAULT at 0x6013d4 [ !ENGINE ]

Fortunately I have also Intel GPU (Optimus) so I can use my laptop.

xrandr --listproviders 
Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 5 associated providers: 0 name:Intel

On Ubuntu 14.04 with kernel based on 3.13 everything was OK. I also had Slackware with custom build kernel 3.16 and nouveau doesn't worked.
Comment 1 Ilia Mirkin 2014-11-01 19:41:14 UTC
Hrm, I guess the 0x3d4 vga writes aren't such a big hit on this card since it doesn't have a PDISP at all either.

Would it be possible for you to bisect nouveau to see what change broke nouveau for you?

git bisect start v3.16 v3.13 -- drivers/gpu/drm/nouveau

should only bisect the nouveau commits and not the whole kernel.
Comment 2 lampshade 2014-12-22 14:59:20 UTC
I am not familiar with git so I started to test official kernel sources from kernel.org. 3.14-rc1 have broken nouveau driver for me. Unfortunatel 3.13.0 also contains bug with filesystem or HDD or something similar. I think he have the same bug as me:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1380881
So I can not test a lot of 3.13* kernels :/
As far as I remember Ubuntu with 3.13 *something worked for me (both filesystem and nouveau).
Comment 3 lampshade 2014-12-22 15:01:05 UTC
And I have some more info form dmesg from vanilla 3.14.1
[    0.023586] pci 0000:01:00.0: [10de:1140] type 00 class 0x030000
[    0.023595] pci 0000:01:00.0: reg 0x10: [mem 0xb2000000-0xb2ffffff]
[    0.023606] pci 0000:01:00.0: reg 0x14: [mem 0xa0000000-0xafffffff 64bit pref]
[    0.023617] pci 0000:01:00.0: reg 0x1c: [mem 0xb0000000-0xb1ffffff 64bit pref]
[    0.023625] pci 0000:01:00.0: reg 0x24: [io  0x2000-0x207f]
[    0.023633] pci 0000:01:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
[    0.023694] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
[    0.050452] pci 0000:01:00.0: no compatible bridge window for [mem 0xfff80000-0xffffffff pref]
[    0.050497] pci 0000:01:00.0: BAR 6: can't assign mem pref (size 0x80000)
[    0.077544] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.938676] nouveau 0000:01:00.0: enabling device (0006 -> 0007)
[    0.938682] nouveau 0000:01:00.0: can't find IRQ for PCI INT A; please try using pci=biosirq
[    0.938740] nouveau T[  DEVICE][0000:01:00.0] inc() == 2
[    0.938755] nouveau T[     DRM] inc() == 3
[    0.938758] nouveau T[  DEVICE][0000:01:00.0] use(+1) == 1
[    0.938759] nouveau T[  DEVICE][0000:01:00.0] initialising...
[    0.938761] nouveau D[  DEVICE][0000:01:00.0] initialised
[    0.938762] nouveau T[     DRM] inc() == 4
[    0.938764] nouveau T[     DRM] inc() == 5
[    0.938766] nouveau T[  DEVICE][0000:01:00.0] inc() == 3
[    0.938943] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x0d7000a2
[    0.938945] nouveau  [  DEVICE][0000:01:00.0] Chipset: GF117 (NVD7)
[    0.938946] nouveau  [  DEVICE][0000:01:00.0] Family : NVD0
[    0.938948] nouveau D[  DEVICE][0000:01:00.0] crystal freq: 27000KHz
[    0.941491] nouveau T[  DEVICE][0000:01:00.0] inc() == 4
[    0.941493] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[    0.989660] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[    0.989662] nouveau  [   VBIOS][0000:01:00.0] checking PROM for image...
[    0.989721] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[    0.989722] nouveau  [   VBIOS][0000:01:00.0] checking ACPI for image...
[    0.989724] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[    0.989725] nouveau  [   VBIOS][0000:01:00.0] checking PCIROM for image...
[    0.989727] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[    0.989728] nouveau  [   VBIOS][0000:01:00.0] checking PLATFORM for image...
[    0.989730] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[    0.989731] nouveau E[   VBIOS][0000:01:00.0] unable to locate usable image
[    0.989762] nouveau E[  DEVICE][0000:01:00.0] failed to create 0x10000001, -22
[    0.989793] nouveau T[  DEVICE][0000:01:00.0] dec() == 3
[    0.989795] nouveau E[     DRM] failed to create 0x80000080, -22
[    0.989821] nouveau T[  DEVICE][0000:01:00.0] dec() == 2
[    0.989823] nouveau T[     DRM] dec() == 4
[    0.989824] nouveau T[     DRM] dec() == 3
[    0.989825] nouveau T[  DEVICE][0000:01:00.0] use(-1) == 0
[    0.989827] nouveau T[  DEVICE][0000:01:00.0] stopping...
[    0.989828] nouveau D[  DEVICE][0000:01:00.0] stopped
[    0.989829] nouveau T[     DRM] dec() == 2
[    0.989831] nouveau D[     DRM] fini running
[    0.989833] nouveau T[     DRM] 0xffffffff:0xffffffff fini children
[    0.989835] nouveau T[     DRM] 0xffffffff:0xffffffff fini running
[    0.989836] nouveau T[     DRM] use(-1) == 1
[    0.989838] nouveau T[     DRM] 0xffffffff:0xffffffff fini completed
[    0.989839] nouveau D[     DRM] fini completed with 0
[    0.989840] nouveau T[     DRM] dec() == 0
[    0.989842] nouveau D[     DRM] destroying
[    0.989843] nouveau T[  DEVICE][0000:01:00.0] dec() == 1
[    0.989845] nouveau T[     DRM] 0xffffffff:0xffffffff destroy running
[    0.989846] nouveau T[     DRM] 0xffffffff:0xffffffff destroy completed
[    0.989848] nouveau T[     DRM] dec() == -1
[    0.989895] nouveau T[  DEVICE][0000:01:00.0] dec() == 0
[    0.989897] nouveau D[  DEVICE][0000:01:00.0] destroying
[    0.989940] nouveau: probe of 0000:01:00.0 failed with error -22
Comment 4 Ilia Mirkin 2015-10-22 04:23:14 UTC
Can you include your vbios (/sys/kernel/debug/dri/0/vbios.rom)? I suspect that something in the vbios is telling nouveau to write to the VGA registers, which aren't there.

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.