From owner-freebsd-x11@FreeBSD.ORG Sun Aug 26 17:53:53 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05EE91065670 for ; Sun, 26 Aug 2012 17:53:53 +0000 (UTC) (envelope-from adam.k.kirchhoff@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B94528FC0A for ; Sun, 26 Aug 2012 17:53:52 +0000 (UTC) Received: by obbun3 with SMTP id un3so9173238obb.13 for ; Sun, 26 Aug 2012 10:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/pCQ2oAzNbT+SIxhi1c9yVH6NSJlMXGVSI0diF/BTjg=; b=w842mapASVqvvJO2wwPHVCjh4BXUxVsdpBgZG7PjqzFjz2wxF1Xdk6wt659tJPn0SB Su0tdeqXuqA7q/oEi8P39kntZ3PKPh0o1sWV9miojw8RW+9uN+OI+BqtA+qwAe9zVzKV kx7aevGF+ObT/ageY9UEUnmsUUbm/uCyZ8qF4av/C3GFixTpY+y3eXQcD4lwdXskJwFD /K+nn2dIsNnMsvUaA1/TOH7eOzmP2M4ZmnC+GslOTL4sRsbEIFy7Dx8MvOQEX581bK5L YH3e+6DuDExO5cLGpiIPax/zd/KI2K/MTC6IFYu8wQKshPMmod4wlhtlM+jK1h2Vh0Tj 7jjA== MIME-Version: 1.0 Received: by 10.182.202.6 with SMTP id ke6mr8397827obc.83.1346003631924; Sun, 26 Aug 2012 10:53:51 -0700 (PDT) Received: by 10.60.14.3 with HTTP; Sun, 26 Aug 2012 10:53:51 -0700 (PDT) Date: Sun, 26 Aug 2012 13:53:51 -0400 Message-ID: From: Adam Kirchhoff To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: radeon and xorg 7.7 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2012 17:53:53 -0000 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