Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2012 13:53:51 -0400
From:      Adam Kirchhoff <adam.k.kirchhoff@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: radeon and xorg 7.7
Message-ID:  <CANzk6u2Z9v5hdETWYFvke7tYRCqUANKpgjkWfVSUd%2BTMgdHJdg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
 On 8/26/2012 8:44 AM, Jaap Boender wrote:

Hello everyone,
> I've got two machines, a desktop with a Radeon HD 5750 card, and a laptop
> with
> a HD 6320. Both run FreeBSD 9.1-PRERELEASE, with WITH_NEW_XORG enabled.
> The version of xorg in ports works; I need to explicitly disable loading
> the
> DRI modules (glx, dri2 and dri), but then I can run X without too many
> problems, except for some glitches (on the 6320, if I restart X, it behaves
> very strangely afterwards).
> However, 7.7 doesn't work at all: without configuration file, with the
> configuration file from X -configure, with a vanilla 'ati' configuration
> file,
> with a vanilla 'vesa' configuration file: in all cases, X segfaults during
> startup.
> Now, I've understood that the newer radeons don't work very well with X,
> so my
> question: is this normal behaviour, or should this work (without 3D and
> acceleration, I suppose) and is something going wrong somewhere?
> Thanks,
> Jaap
> P.S. I can send logs, pciconf results, config files, and all that, if
> necessary, just let me know what is needed.



I've been fighting the same problem for the past few days.  I've come to
realize that it has nothing to do with the GPU I use.  In each of these
scenaries, Xorg segfaults with "Segementation fault: 11 at address 0x8".

I initially tried with a radeon HD2600, and that failed:

0x00000008011d5d97 in pci_io_read8 () from /usr/local/lib/libpciaccess.so.0
(gdb) bt
#0  0x00000008011d5d97 in pci_io_read8 () from
/usr/local/lib/libpciaccess.so.0
#1  0x000000080498cad5 in stdReadMiscOut () from
/usr/local/lib/xorg/modules/libvgahw.so
#2  0x000000080498ceaa in vgaHWGetIOBase () from
/usr/local/lib/xorg/modules/libvgahw.so
#3  0x00000008044e2aff in RADEONPreInit () from
/usr/local/lib/xorg/modules/drivers/radeon_drv.so
#4  0x0000000000471145 in InitOutput ()

I then tried with the same installation, but booted in vmware player. It
attempted to use the vmware video driver, and that failed:

0x00000008011d5e23 in pci_io_write8 () from
/usr/local/lib/libpciaccess.so.0
(gdb) bt
#0  0x00000008011d5e23 in pci_io_write8 () from
/usr/local/lib/libpciaccess.so.0
#1  0x00000008046c3e35 in vgaHWSaveColormap () from
/usr/local/lib/xorg/modules/libvgahw.so
#2  0x00000008046c43c5 in vgaHWSave () from
/usr/local/lib/xorg/modules/libvgahw.so
#3  0x00000008042b1892 in VMWAREPreInit () from
/usr/local/lib/xorg/modules/drivers/vmware_drv.so
#4  0x0000000000471145 in InitOutput ()

I then swapped the video card with an nvidia 7800, booted off the physical
hardware, and that failed (sorry, no backtrace for that one).

Others have reported the similar segmentation faults with WITH_NEW_XORG,
but none (that I've seen) have gotten it working:

http://lists.freebsd.org/pipermail/freebsd-x11/2012-July/012161.html
http://lists.freebsd.org/pipermail/freebsd-x11/2012-July/012155.html

It would be really great to have a working Xorg again, without having to
downgrade...

Can anyone comment if this is being looked into?  I am now building Xorg
with debugging enabled in the hopes of getting information that is more
useful.

Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANzk6u2Z9v5hdETWYFvke7tYRCqUANKpgjkWfVSUd%2BTMgdHJdg>