Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2017 11:13:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217886] xorg fails to init GL on stable/11 because of a libdevq bug(?)
Message-ID:  <bug-217886-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 217886
           Summary: xorg fails to init GL on stable/11 because of a
                    libdevq bug(?)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: holindho@saunalahti.fi

Created attachment 180922
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180922&action=
=3Dedit
Fix libdevq on stable/11

Machine is macpro1,1 and video card ATI Radeon 5xxx. Xorg fails to init GL =
as
follows on FreeBSD stable/11 amd64 with xorg ati driver:

pci id for fd 6: 0000:0000, driver (null)
EGL_MESA_drm_image required.
pci id for fd 7: 0000:0000, driver (null)

The error means that gbm/EGL cannot init and that will cause rest of the
xorg/mesa GL to fail. Xorg works in software renderer mode though.

The reason seems to be in the (fragile) libdevq and kernel interaction.=20

Sysctl gives:
dev.vgapci.0.%location: slot=3D0 function=3D0 dbsf=3Dpci0:8:0:0

...which is not supported by libdevq.

Attached a patch to correct libdevq's behaviour.

--=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-217886-13>