Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Sep 2017 17:16:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 222031] x11-drivers/xf86-video-ati: No accelerated rendering
Message-ID:  <bug-222031-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222031

            Bug ID: 222031
           Summary: x11-drivers/xf86-video-ati: No accelerated rendering
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: alexander.klein@physiologie.med.uni-giessen.de
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

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=20=20=20=20
root@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=20
loader_logo=3D"beastie"

if_urtwn_load=3D"YES"

linux_load=3D"YES"

radeonkmsfw_RS690_cp_load=3D"YES"
radeonkms_load=3D"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 modeset=
ting
(RS690 0x1002:0x791F 0x1734:0x111D).
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] register mmio base: 0xF8200=
000
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: =3D=
=3D=3D> Try
ATRM...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_atrm_get_bios: IGP c=
ard
detected, skipping this method...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_acpi_vfct_bios: =3D=
=3D=3D> 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: Fail=
ed
to get "VFCT" table: AE_NOT_FOUND
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] igp_read_bios_from_vram: =
=3D=3D=3D>
Try IGP's VRAM...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] igp_read_bios_from_vram: VR=
AM
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: =3D=3D=3D=
> Try PCI
Expansion ROM...
Sep  3 18:24:48 Fujitsu-TCL kernel: info: [drm] radeon_read_bios: Map addre=
ss:
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 0x0000000038000=
000
- 0x000000003FFFFFFF (128M used)
Sep  3 18:24:48 Fujitsu-TCL kernel: drmn0: info: GTT: 512M 0x00000000400000=
00 -
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 vbl=
ank
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=3D128M,
BAR=3D128M
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 p=
ipes
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 Microco=
de
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)=3D0xCAFEDEAD)
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] *ERRO=
R*
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_D=
AC1
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-*ERRO=
R*-radeon-ring-test-failed

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222031-7141>