Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 17:49:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 247416] x11-servers/xorg-server: DRI2 fails on AMD Polaris 10
Message-ID:  <bug-247416-7141-JzUK92RfWJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247416-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247416-7141@https.bugs.freebsd.org/bugzilla/>

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

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(jbeich |maintainer-feedback+
                   |@FreeBSD.org)               |
            Summary|x11-wm/picom: Seg falts on  |x11-servers/xorg-server:
                   |startup                     |DRI2 fails on AMD Polaris
                   |                            |10
           Assignee|jbeich@FreeBSD.org          |x11@FreeBSD.org

--- Comment #6 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Adam Jimerson from comment #4)
> libGL: screen 0 does not appear to be DRI2 capable
> 709 frames in 5.0 seconds =3D 141.730 FPS

VSync is disabled, so you get more than 60 FPS. Looks generic to OpenGL und=
er
X11 -> reassigning. I've never used an AMD GPU myself, so may not be aware =
of
quirks.

> [   141.324] (--) PCI:*(8@0:0:0) 1002:67df:1da2:e353 rev 231, Mem @ 0xe00=
00000/268435456, 0xf0000000/2097152, 0xfe900000/262144, I/O @ 0x0000f000/25=
6, BIOS @ 0x????????/65536

67df (Polaris10) is listed in both drm-kmod and mesa-dri, so OpenGL
acceleration should work.

> [   141.333] (=3D=3D) Matched ati as autoconfigured driver 0
> [   141.333] (=3D=3D) Matched modesetting as autoconfigured driver 1
> [   141.333] (=3D=3D) Matched scfb as autoconfigured driver 2
> [   141.333] (=3D=3D) Matched vesa as autoconfigured driver 3
[...]
> [   141.335] (EE) open /dev/dri/card0: Operation not supported by device
> [   141.335] (WW) Falling back to old probe method for modesetting
> [   141.335] (EE) open /dev/dri/card0: Operation not supported by device
> [   141.335] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card =
support
> [   141.335] (EE) Screen 0 deleted because of no matching config section.
> [   141.335] (II) UnloadModule: "modesetting"

Can you show "dmesg" output? If you have amdgpu_load=3DYES in /boot/loader.=
conf
convert to kld_list=3Damdgpu in /etc/rc.conf. Modern GPUs need to load firm=
ware
which may not work from loader(8).

> [   141.337] (II) VESA(0): initializing int10
> [   141.337] (II) VESA(0): Primary V_BIOS segment is: 0xc000
> [   141.337] (II) VESA(0): VESA BIOS detected
> [   141.337] (II) VESA(0): VESA VBE Version 3.0
> [   141.337] (II) VESA(0): VESA VBE Total Mem: 49152 kB
[...]
> [   141.656] (II) AIGLX: Screen 0 is not DRI2 capable
> [   141.676] (II) IGLX: Loaded and initialized swrast
> [   141.676] (II) GLX: Initialized DRISWRAST GL provider for screen 0

xf86-video-vesa doesn't support OpenGL acceleration. Maybe deinstall all
xf86-video-* except xf86-video-amdgpu to facilitate debugging.

--=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-247416-7141-JzUK92RfWJ>