maintainer-feedback requested: [Bug 222031] x11-drivers/xf86-video-ati: No accelerated rendering

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 3 17:16:44 UTC 2017


Alexander Klein <alexander.klein at physiologie.med.uni-giessen.de> has reassigned
Bugzilla Automation <bugzilla at FreeBSD.org>'s request for maintainer-feedback to
x11 at FreeBSD.org:
Bug 222031: x11-drivers/xf86-video-ati: No accelerated rendering
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222031



--- Description ---
I have a fresh install of 11.0/amd64 on a Fujitsu FUTRO S550-2, and for one
reason or another, accelerated rendering does not work.

The system is the following:

% uname -a

FreeBSD Fujitsu-TCL 11.0-RELEASE-p12 FreeBSD 11.0-RELEASE-p12 #0: Wed Aug  9
10:03:39 UTC 2017    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


I load the drivers in loader.conf, but this does not seem to be related to the
problem, as removing the relevant lines does nothing to remedy the problem:

% cat loader.conf 
loader_logo="beastie"

if_urtwn_load="YES"

linux_load="YES"

radeonkmsfw_RS690_cp_load="YES"
radeonkms_load="YES"


Here are the relevant messages from /var/log/messages, note the "*ERROR*
radeon: ring test failed"-message:

Sep  3 18:24:48 Fujitsu-TCL kernel: vgapci0: <VGA-compatible display> port
0x9000-0x90ff mem
0xf0000000-0xf7ffffff,0xf8200000-0xf820ffff,0xf8100000-0xf81fffff irq 18 a
t device 5.0 on pci1
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: <ATI Radeon RS690 X1270 IGP> on
vgapci0
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] RADEON_IS_PCI
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] initializing kernel modesetting
(RS690 0x1002:0x791F 0x1734:0x111D).
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] register mmio base: 0xF8200000
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] register mmio size: 65536
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_atrm_get_bios: ===> Try
ATRM...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_atrm_get_bios: IGP card
detected, skipping this method...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_acpi_vfct_bios: ===> Try
VFCT...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_acpi_vfct_bios: Get
"VFCT" ACPI table
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_acpi_vfct_bios: Failed
to get "VFCT" table: AE_NOT_FOUND
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] igp_read_bios_from_vram: ===>
Try IGP's VRAM...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] igp_read_bios_from_vram: VRAM
base address: 0xf0000000
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] igp_read_bios_from_vram: Map
address: 0xfffff800f0000000 (262144 bytes)
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] igp_read_bios_from_vram:
Incorrect BIOS signature: 0x0000
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_read_bios: ===> Try PCI
Expansion ROM...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_read_bios: Map address:
0xfffff800000c0000 (131072 bytes)
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] ATOM BIOS: FSC
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: info: VRAM: 128M 0x0000000038000000
- 0x000000003FFFFFFF (128M used)
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: info: GTT: 512M 0x0000000040000000 -
0x000000005FFFFFFF
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Supports vblank timestamp
caching Rev 1 (10.10.2010).
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Driver supports precise vblank
timestamp query.
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] MSI enabled 1 message(s)
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: info: radeon: using MSI.
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon: irq initialized.
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Detected VRAM RAM=128M,
BAR=128M
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] RAM width 128bits DDR
Sep  3 18:24:48 Fujitsu-TCL kernel: [TTM] Zone	kernel: Available graphics
memory: 439956 kiB
Sep  3 18:24:48 Fujitsu-TCL kernel: [TTM] Initializing pool allocator
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon: 128M of VRAM memory
ready
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon: 512M of GTT memory
ready.
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] GART: num cpu pages 131072, num
gpu pages 131072
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon: 1 quad pipes, 1 z pipes
initialized.
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] PCIE GART of 512M enabled
(table at 0x000000000365B000).
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: info: WB enabled
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: info: fence driver on ring 0 use gpu
addr 0x0000000040000000 and cpu addr 0x0xfffff8000254b000
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Loading RS690/RS740 Microcode
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon: ring at
0x0000000040001000
Sep  3 18:24:48 Fujitsu-TCL kernel: error: [drm:pid0:r100_ring_test] *ERROR*
radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
Sep  3 18:24:48 Fujitsu-TCL kernel: error: [drm:pid0:r100_cp_init] *ERROR*
radeon: cp isn't working (-22).
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: error: failed initializing CP (-22).
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: error: Disabling GPU acceleration
Sep  3 18:24:48 Fujitsu-TCL kernel: error: [drm:pid0:r100_cp_fini] *ERROR* Wait
for CP idle timeout, shutting down CP.
Sep  3 18:24:48 Fujitsu-TCL kernel: error: [drm:pid0:r100_cp_disable] *ERROR*
Failed to wait GUI idle while programming pipes. Bad things might happen.
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon: cp finalized
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_device_init: Taking over
the fictitious range 0xf0000000-0xf8000000

[...]
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Radeon Display Connectors
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Connector 0:
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   DVI-I-1
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   HPD2
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   DDC: 0x7e40 0x7e60 0x7e44
0x7e64 0x7e48 0x7e68 0x7e4c 0x7e6c
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   Encoders:
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]     DFP2: INTERNAL_DDI
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Connector 1:
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   HDMI-A-1
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   DDC: 0x7e40 0x7e50 0x7e44
0x7e54 0x7e48 0x7e58 0x7e4c 0x7e5c
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   Encoders:
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]     DFP3: INTERNAL_LVTM1
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Connector DVI-I-1: get mode
from tunables:
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   - kern.vt.fb.modes.DVI-I-1
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   - kern.vt.fb.default_mode
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Connector HDMI-A-1: get mode
from tunables:
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-1
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]   - kern.vt.fb.default_mode
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] fb mappable at 0xF0040000
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] vram apper at 0xF0000000
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] size 5242880
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] fb depth is 24
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm]    pitch is 5120
Sep  3 18:24:48 Fujitsu-TCL kernel: fbd0 on drmn0
Sep  3 18:24:48 Fujitsu-TCL kernel: VT: Replacing driver "vga" with new "fb".
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] Initialized radeon 2.29.0
20080528 for drmn0 on minor 0
Sep  3 18:24:48 Fujitsu-TCL kernel: vgapci0: Boot video device


I found an old problem reported for SUSE with very similar symptoms, which may
or may not be related to this problem:

https://forums.opensuse.org/showthread.php/450218-openSUSE-11-3-RS690-*ERROR*-r
adeon-ring-test-failed


More information about the freebsd-x11 mailing list