tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: many in-tree xorg packages updated



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 12, 2009, at 4:51 PM, Nicolas Joly wrote:

On Fri, Jun 12, 2009 at 02:27:38PM -0600, Sverre Froyen wrote:
On Friday 12 June 2009 12:10:10 Nicolas Joly wrote:
On Sat, Jun 13, 2009 at 03:42:19AM +1000, matthew green wrote:
  I updated my amd64 laptop, and encountered some problems.

[...]

2) Trying to start the X server fails because of missing default `glx'
     module which does not exists anymore ...

this shouldn't be fatal... i do see it myself, but i'm not sure what
is up.  i won't be able to look at this for a couple of days.

Indeed. The real problem comes from libpciaccess which is not able to
read the video bios for the intel driver ...

root@nicodeme [~]# gdb Xorg Xorg.core
[...]
#8  0x00007f7ffa23a4a6 in i830_bios_init (pScrn=0x7f7ffb05f800)
   at
/local/src/NetBSD/xsrc/external/mit/xf86-video-intel/dist/src/ i830_bios.c:2
37 237         ret = pci_device_read_rom (pI830->PciInfo, bios);

Looking at the code, pci_device_read_rom() is not implemented for
NetBSD :(

static const struct pci_system_methods netbsd_pci_methods = {
       pci_system_netbsd_destroy,
       NULL,
       NULL,                        <--- read_rom()
       pci_device_netbsd_probe,
       pci_device_netbsd_map_range,
       pci_device_netbsd_unmap_range,
       pci_device_netbsd_read,
       pci_device_netbsd_write,
       pci_fill_capabilities_generic
};

Do you have the latest libpciaccess?  0.10.6 (from pkgsrc) shows:

That's the one from xsrc.

static const struct pci_system_methods netbsd_pci_methods = {
       pci_system_netbsd_destroy,
       NULL,
       pci_device_netbsd_read_rom,
...

Ah ... pci_device_netbsd_read_rom() comes from patch-ac.

That said, I cannot get the radeon driver to work.

With the attached patch, X is back with the intel driver.
But i'm pretty sure this will break on non x86 archs.

That reads the legacy VGA ROM and is indeed PC specific. Other archs will have to find its bus address from the ROM BAR, hope it's valid, enable it, map it etc.
Also, OF ROMs on graphics boards tend to be bigger than 64KB.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSjLFDcpnzkX8Yg2nAQKaCgf/d2EtdB6GGD6MYufud1CmvWg+p71YgSEQ
Wh6/iF/c6bWQUWGNJoJTVWzOZE8KTChA9mAtqIYvF/vJTUzyEvwjPeUkfoNOq7wB
HzQgh/EsobrQOw0+RsKLbDr5U8Kx7LDSrjAyE9b24uQOBTiyhdJoQ7scCyiE4TRo
Z2/cOV8I/0KMBsOjHaIN+OR7ZMw9ycM5LGnkjE4KxVjwcFke/UC1LNF5ABezNA4h
x+Z9ZX42B4OwE5uL2W5qkA9fvXbfQEmgCumzL6SOYOJkUBn6GAjBtKRWPF+b+dpk
Icu7lEp5G1/ewBk1cEvA45wVvYz+lkqKbmbHB6GaSanlwfk2e/CabQ==
=Sznu
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index