Bug 210517 - nouveau: DRM: failed to map fb: -28 (GeForce 6600 LE, ppc64)
Summary: nouveau: DRM: failed to map fb: -28 (GeForce 6600 LE, ppc64)
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-06 14:16 UTC by Erhard F.
Modified: 2020-12-28 14:19 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.10-rc6
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
dmesg (kernel 5.10-rc6, PowerMac G5 11,2) (88.07 KB, text/plain)
2020-12-06 14:16 UTC, Erhard F.
Details
dmesg (kernel 5.9.12, PowerMac G5 11,2) (80.19 KB, text/plain)
2020-12-06 14:17 UTC, Erhard F.
Details
kernel .config (kernel 5.10-rc6, PowerMac G5 11,2) (104.21 KB, text/plain)
2020-12-06 14:19 UTC, Erhard F.
Details
kernel .config (kernel 5.9.12, PowerMac G5 11,2) (103.31 KB, text/plain)
2020-12-06 14:20 UTC, Erhard F.
Details

Description Erhard F. 2020-12-06 14:16:56 UTC
Created attachment 293963 [details]
dmesg (kernel 5.10-rc6, PowerMac G5 11,2)

With kernel 5.10-rc6 I only get a blank screen at boot, as soon as the display is switching from OpenFirmware to nouveau DRM. With kernel 5.9.12 this works fine. Also 5.10-rc6 with a Radeon X1600 works fine.

 # grep nouveau dmesg_510-rc6_g5 
fb0: switching to nouveaufb from OFfb NVDA,Displ
nouveau 0000:0a:00.0: NVIDIA NV43 (043200a4)
nouveau 0000:0a:00.0: bios: version 05.43.02.75.00
nouveau 0000:0a:00.0: fb: 128 MiB DDR1
nouveau 0000:0a:00.0: DRM: VRAM: 124 MiB
nouveau 0000:0a:00.0: DRM: GART: 512 MiB
nouveau 0000:0a:00.0: DRM: TMDS table version 1.1
nouveau 0000:0a:00.0: DRM: DCB version 3.0
nouveau 0000:0a:00.0: DRM: DCB outp 00: 01000100 00000028
nouveau 0000:0a:00.0: DRM: DCB outp 01: 03000102 00000000
nouveau 0000:0a:00.0: DRM: DCB outp 02: 04011210 00000028
nouveau 0000:0a:00.0: DRM: DCB outp 03: 02111212 02000100
nouveau 0000:0a:00.0: DRM: DCB outp 04: 02011211 0020c070
nouveau 0000:0a:00.0: DRM: DCB conn 00: 1030
nouveau 0000:0a:00.0: DRM: DCB conn 01: 2130
nouveau 0000:0a:00.0: DRM: failed to initialise sync subsystem, -28
nouveau 0000:0a:00.0: DRM: Setting dpms mode 3 on TV encoder (output 4)
nouveau 0000:0a:00.0: DRM: failed to map fb: -28
[drm] Initialized nouveau 1.3.1 20120801 for 0000:0a:00.0 on minor 0

 # grep nouveau dmesg_5912_g5 
fb0: switching to nouveaufb from OFfb NVDA,Displ
nouveau 0000:0a:00.0: NVIDIA NV43 (043200a4)
nouveau 0000:0a:00.0: bios: version 05.43.02.75.00
nouveau 0000:0a:00.0: fb: 128 MiB DDR1
nouveau 0000:0a:00.0: DRM: VRAM: 124 MiB
nouveau 0000:0a:00.0: DRM: GART: 512 MiB
nouveau 0000:0a:00.0: DRM: TMDS table version 1.1
nouveau 0000:0a:00.0: DRM: DCB version 3.0
nouveau 0000:0a:00.0: DRM: DCB outp 00: 01000100 00000028
nouveau 0000:0a:00.0: DRM: DCB outp 01: 03000102 00000000
nouveau 0000:0a:00.0: DRM: DCB outp 02: 04011210 00000028
nouveau 0000:0a:00.0: DRM: DCB outp 03: 02111212 02000100
nouveau 0000:0a:00.0: DRM: DCB outp 04: 02011211 0020c070
nouveau 0000:0a:00.0: DRM: DCB conn 00: 1030
nouveau 0000:0a:00.0: DRM: DCB conn 01: 2130
nouveau 0000:0a:00.0: DRM: MM: using M2MF for buffer copies
nouveau 0000:0a:00.0: DRM: Setting dpms mode 3 on TV encoder (output 4)
nouveau 0000:0a:00.0: DRM: allocated 1680x1050 fb: 0x9000, bo 000000004e24135e
nouveau 0000:0a:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[drm] Initialized nouveau 1.3.1 20120801 for 0000:0a:00.0 on minor 0


Some data about the card:
 # lspci -v -s 0000:0a:00.0
0000:0a:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600 LE] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation NV43 [GeForce 6600 LE]
	Device tree node: /sys/firmware/devicetree/base/pci@0,f0000000/NVDA,Parent@0
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
	Memory at b8000000 (64-bit, prefetchable) [size=128M]
	Memory at b1000000 (64-bit, non-prefetchable) [size=16M]
	Expansion ROM at b0000000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 2
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [128] Power Budgeting <?>
	Kernel modules: nouveau


Some data about the machine:
 # inxi -b --no-host
System:    Kernel: 5.9.12-gentoo-PowerMacG5 ppc64 bits: 64 Desktop: MATE 1.24.1 Distro: Gentoo Base System release 2.7 
Machine:   Type: PowerPC Device System: PowerMac11 2 details: PowerMac11 2 rev: 1.1 (pvr 0044 0101) serial: R6V 
CPU:       Info: Dual Core PPC970MP altivec supported [MCP] speed: 2300 MHz min/max: 1150/2300 MHz 
Graphics:  Device-1: NVIDIA NV43 [GeForce 6600 LE] driver: N/A 
           Device-2: Advanced Micro Devices [AMD/ATI] RV530 [Radeon X1600 PRO] driver: radeon v: kernel 
           Display: x11 server: X.Org 1.20.8 driver: ati,radeon resolution: 1680x1050~60Hz 
           OpenGL: renderer: ATI RV530 v: 2.1 Mesa 20.3.0 
Network:   Device-1: Broadcom and subsidiaries NetXtreme BCM5780 Gigabit Ethernet driver: tg3 
           Device-2: Broadcom and subsidiaries NetXtreme BCM5780 Gigabit Ethernet driver: tg3 
           Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
Comment 1 Erhard F. 2020-12-06 14:17:45 UTC
Created attachment 293965 [details]
dmesg (kernel 5.9.12, PowerMac G5 11,2)
Comment 2 Erhard F. 2020-12-06 14:19:04 UTC
Created attachment 293967 [details]
kernel .config (kernel 5.10-rc6, PowerMac G5 11,2)
Comment 3 Erhard F. 2020-12-06 14:20:03 UTC
Created attachment 293969 [details]
kernel .config (kernel 5.9.12, PowerMac G5 11,2)
Comment 5 Erhard F. 2020-12-06 22:44:31 UTC
(In reply to Dave Airlie from comment #4)
> The fix for this is in Linus' tree already
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> drivers/gpu/drm/nouveau?id=aea656b0d05ec5b8ed5beb2f94c4dd42ea834e9d
This patch solves the problem, thanks!
Comment 6 Erhard F. 2020-12-28 14:19:05 UTC
The patch was integrated, no longer a problem in 5.10.2.

Note You need to log in before you can comment on or make changes to this bug.