[Bug 247416] x11-servers/xorg-server: DRI2 fails on AMD Polaris 10

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247416

Jan Beich <[email protected]> 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|[email protected]          |[email protected]

--- Comment #6 from Jan Beich <[email protected]> ---
(In reply to Adam Jimerson from comment #4)
> libGL: screen 0 does not appear to be DRI2 capable
> 709 frames in 5.0 seconds = 141.730 FPS

VSync is disabled, so you get more than 60 FPS. Looks generic to OpenGL under
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 @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfe900000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/65536

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

> [   141.333] (==) Matched ati as autoconfigured driver 0
> [   141.333] (==) Matched modesetting as autoconfigured driver 1
> [   141.333] (==) Matched scfb as autoconfigured driver 2
> [   141.333] (==) 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=YES in /boot/loader.conf
convert to kld_list=amdgpu in /etc/rc.conf. Modern GPUs need to load firmware
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.