[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

R: Radeon forced to pci-mode.



This because you are using the fbdev and not the hw acceleration.
The issue is on the radeon firmware and kernel not on debian. On my Quad G5 i fixed using dual gpu where the radeon is on the 8x slot and not on 16x.
I have all accelerated my gpu is the 6570 HD 2GB.
here the video 
https://www.youtube.com/watch?v=QsB5xlLyZwE

Ciao 
Luigi 


Da: Bertrand <bertrand.dekoninck@gmail.com>
Inviato: giovedì 26 dicembre 2019 16:38
A: debian-powerpc@lists.debian.org <debian-powerpc@lists.debian.org>
Oggetto: Radeon forced to pci-mode.
 
Hi,

as I said previously, Mate is sluggish on my fresh install on sid-ppc64
and a G5. The menus are slow, some scrollings are painfull in some apps
(thunderbird or  smooth-scrolling in firefox for instance, most gtk3 apps).

I've found this in dmesg :

[    4.136564] [drm] initializing kernel modesetting (RV350
0x1002:0x4150 0x1002:0x4150 0x00).
[    4.136634] [drm] Forcing AGP to PCI mode

Then I've put this option in /etc/default/grub

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="radeon.agpmode=4"
GRUB_CMDLINE_LINUX=""

and did 'sudo update-grub" .


Now at least I see that AGP4 mode is requested in boot message, but I'm
still in PCI mode. See the following lines from dmesg (I've elipsized
some quotes which I mark with "[...]") :

[    1.222313] vgaarb: loaded

[...]

[    2.974441] Using unsupported 1280x1024 (null) at 98008000, depth=8,
pitch=1280
[    2.999882] Console: switching to colour frame buffer device 160x64
[    3.025026] fb0: Open Firmware frame buffer device on
/pci@0,f0000000/ATY,PitonParent@10/ATY,Piton_A@0
[    3.025415] Using unsupported 800x600 (null) at 9c008000, depth=8,
pitch=1024
[    3.025644] checking generic (98008000 140000) vs hw (9c008000 96000)
[    3.025792] fb1: Open Firmware frame buffer device on
/pci@0,f0000000/ATY,PitonParent@10/ATY,Piton_B@1
[    3.026210] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.027138] pmac_zilog: 0.6 (Benjamin Herrenschmidt
<benh@kernel.crashing.org>)
[    3.027503] Non-volatile memory driver v1.3
[    3.027629] Linux agpgart interface v0.103
[    3.027778] agpgart-uninorth 0000:f0:0b.0: Apple U3H chipset
[    3.033166] agpgart-uninorth 0000:f0:0b.0: configuring for size idx: 64
[    3.033518] agpgart-uninorth 0000:f0:0b.0: AGP aperture is 256M @ 0x0

[...]

[    4.058562] radeon 0000:f0:10.0: remove_conflicting_pci_framebuffers:
bar 0: 0x98000000 -> 0x9fffffff
[    4.067206] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 5.03
[    4.075810] radeon 0000:f0:10.0: remove_conflicting_pci_framebuffers:
bar 2: 0x90000000 -> 0x9000ffff
[    4.075814] checking generic (98008000 140000) vs hw (98000000 8000000)
[    4.084799] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    4.093976] fb0: switching to radeondrmfb from OFfb ATY,Piton_
[    4.103120] usb usb1: Product: EHCI Host Controller
[    4.121269] usb usb1: Manufacturer: Linux 5.3.0-3-powerpc64 ehci_hcd
[    4.121272] usb usb1: SerialNumber: 0001:05:0b.2
[    4.121441] Console: switching to colour dummy device 80x25
[    4.121743] checking generic (9c008000 96000) vs hw (98000000 8000000)
[    4.121745] fb1: switching to radeondrmfb from OFfb ATY,Piton_
[    4.122061] radeon 0000:f0:10.0: vgaarb: deactivate vga console
[    4.122243] radeon 0000:f0:10.0: enabling device (0006 -> 0007)
[    4.122587] [drm] initializing kernel modesetting (RV350
0x1002:0x4150 0x1002:0x4150 0x00).
[    4.122803] radeon 0000:f0:10.0: Invalid PCI ROM header signature:
expecting 0xaa55, got 0xffff

[...]

[    4.228451] [drm] Not an x86 BIOS ROM, not using.
[    4.228527] [drm] Using device-tree clock info
[    4.228541] [drm] AGP mode requested: 4
[    4.228569] agpgart-uninorth 0000:f0:0b.0: putting AGP V3 device into
4x mode
[    4.228582] radeon 0000:f0:10.0: putting AGP V3 device into 4x mode
[    4.228664] radeon 0000:f0:10.0: GTT: 256M 0x00000000 - 0x0FFFFFFF
[    4.228671] [drm] Generation 2 PCI interface, using max accessible memory
[    4.228681] radeon 0000:f0:10.0: VRAM: 128M 0x0000000098000000 -
0x000000009FFFFFFF (128M used)
[    4.228757] [drm] Detected VRAM RAM=128M, BAR=128M
[    4.228762] [drm] RAM width 128bits DDR
[    4.228947] [TTM] Zone  kernel: Available graphics memory: 1003744 KiB
[    4.228957] [TTM] Initializing pool allocator
[    4.228971] [TTM] Initializing DMA pool allocator
[    4.229090] [drm] radeon: 128M of VRAM memory ready
[    4.229097] [drm] radeon: 256M of GTT memory ready.
[    4.229210] [drm] radeon: 1 quad pipes, 1 Z pipes initialized
[    4.232377] radeon 0000:f0:10.0: WB disabled
[    4.232404] radeon 0000:f0:10.0: fence driver on ring 0 use gpu addr
0x0000000000000000 and cpu addr 0x(____ptrval____)
[    4.232420] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.232426] [drm] Driver supports precise vblank timestamp query.
[    4.232474] [drm] radeon: irq initialized.
[    4.232508] [drm] Loading R300 Microcode
[    4.232608] radeon 0000:f0:10.0: firmware: direct-loading firmware
radeon/R300_cp.bin
[    4.232773] [drm] radeon: ring at 0x0000000000010000

[...]

[    4.380999] [drm:.r100_ring_test [radeon]] *ERROR* radeon: ring test
failed (scratch(0x15E4)=0xCAFEDEAD)
[    4.381101] [drm:.r100_cp_init [radeon]] *ERROR* radeon: cp isn't
working (-22).
[    4.381111] radeon 0000:f0:10.0: failed initializing CP (-22).
[    4.381118] radeon 0000:f0:10.0: Disabling GPU acceleration

[...]

[    4.528393] [drm:.r100_cp_fini [radeon]] *ERROR* Wait for CP idle
timeout, shutting down CP.


[    4.675601] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[    4.679752] [drm] radeon: cp finalized
[    4.679890] radeon 0000:f0:10.0: (r300_asic_reset:428)
RBBM_STATUS=0x80010140
[    5.179885] radeon 0000:f0:10.0: (r300_asic_reset:447)
RBBM_STATUS=0x80010140
[    5.675886] radeon 0000:f0:10.0: (r300_asic_reset:459)
RBBM_STATUS=0x00000140
[    5.675920] radeon 0000:f0:10.0: GPU reset succeed
[    5.675986] [drm] radeon: cp finalized
[    5.676106] [TTM] Finalizing pool allocator
[    5.676127] [TTM] Finalizing DMA pool allocator
[    5.676270] [TTM] Zone  kernel: Used memory at exit: 0 KiB
[    5.676291] [drm] radeon: ttm finalized
[    5.676298] [drm] Forcing AGP to PCI mode
[    5.676350] radeon 0000:f0:10.0: Invalid PCI ROM header signature:
expecting 0xaa55, got 0xffff
[    5.735347] usb 4-1: new full-speed USB device number 2 using ohci-pci
[    5.781960] [drm] Not an x86 BIOS ROM, not using.
[    5.781995] [drm] Using device-tree clock info
[    5.782003] [drm] Generation 2 PCI interface, using max accessible memory
[    5.782018] radeon 0000:f0:10.0: VRAM: 128M 0x0000000098000000 -
0x000000009FFFFFFF (128M used)
[    5.782026] radeon 0000:f0:10.0: GTT: 512M 0x0000000078000000 -
0x0000000097FFFFFF
[    5.782036] [drm] Detected VRAM RAM=128M, BAR=128M
[    5.782041] [drm] RAM width 128bits DDR
[    5.782221] [TTM] Zone  kernel: Available graphics memory: 1003744 KiB
[    5.782230] [TTM] Initializing pool allocator
[    5.782244] [TTM] Initializing DMA pool allocator
[    5.782306] [drm] radeon: 128M of VRAM memory ready
[    5.782312] [drm] radeon: 512M of GTT memory ready.
[    5.782358] [drm] GART: num cpu pages 8192, num gpu pages 131072
[    5.784150] [drm] radeon: 1 quad pipes, 1 Z pipes initialized
[    5.784171] [drm] PCI GART of 512M enabled (table at 0x0000000060180000).
[    5.784270] radeon 0000:f0:10.0: WB enabled
[    5.784280] radeon 0000:f0:10.0: fence driver on ring 0 use gpu addr
0x0000000078000000 and cpu addr 0x(____ptrval____)
[    5.784293] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.784299] [drm] Driver supports precise vblank timestamp query.
[    5.784339] [drm] radeon: irq initialized.
[    5.784505] [drm] radeon: ring at 0x0000000078010000
[    5.784541] [drm] ring test succeeded in 1 usecs
[    5.784726] [drm] ib test succeeded in 0 usecs
[    5.785747] [drm] Connector Table: 12 (mac g5 9600)
[    5.785810] [drm] No valid Ext TMDS info found in BIOS
[    5.785821] [drm] No TV DAC info found in BIOS
[    5.786305] [drm] No TMDS info found in BIOS
[    5.787174] [drm] Radeon Display Connectors
[    5.787187] [drm] Connector 0:
[    5.787191] [drm]   DVI-I-1
[    5.787195] [drm]   HPD1
[    5.787200] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[    5.787207] [drm]   Encoders:
[    5.787212] [drm]     DFP2: INTERNAL_DVO1
[    5.787216] [drm]     CRT2: INTERNAL_DAC2
[    5.787220] [drm] Connector 1:
[    5.787224] [drm]   DVI-I-2
[    5.787228] [drm]   HPD2
[    5.787232] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[    5.787237] [drm]   Encoders:
[    5.787241] [drm]     DFP1: INTERNAL_TMDS1
[    5.787245] [drm]     CRT1: INTERNAL_DAC1
[    5.787250] [drm] Connector 2:
[    5.787253] [drm]   SVIDEO-1
[    5.787257] [drm]   Encoders:
[    5.787261] [drm]     TV1: INTERNAL_DAC2
[    5.794421] ata4: SATA link down (SStatus 4 SControl 300)
[    5.856996] [drm] fb mappable at 0x98040000
[    5.857010] [drm] vram apper at 0x98000000
[    5.857014] [drm] size 5242880
[    5.857018] [drm] fb depth is 24
[    5.857022] [drm]    pitch is 5120
[    5.957564] Console: switching to colour frame buffer device 128x48
[    5.974345] radeon 0000:f0:10.0: fb0: radeondrmfb frame buffer device
[    5.991387] [drm] Initialized radeon 2.50.0 20080528 for 0000:f0:10.0
on minor 0



Reply to: