From owner-freebsd-x11@FreeBSD.ORG Sat Mar 26 21:08:36 2011 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 7E0C9106564A; Sat, 26 Mar 2011 21:08:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 11F638FC16; Sat, 26 Mar 2011 21:08:35 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p2QL8VqD026251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Mar 2011 23:08:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p2QL8VFr061631; Sat, 26 Mar 2011 23:08:31 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p2QL8V01061630; Sat, 26 Mar 2011 23:08:31 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 26 Mar 2011 23:08:31 +0200 From: Kostik Belousov To: "Hartmann, O." Message-ID: <20110326210831.GG78089@deviant.kiev.zoral.com.ua> References: <4D8DAD7E.8090109@mail.zedat.fu-berlin.de> <4D8DC619.9080503@freebsd.org> <4D8DDFC4.9070003@mail.zedat.fu-berlin.de> <20110326134804.GA78089@deviant.kiev.zoral.com.ua> <4D8E2830.70105@mail.zedat.fu-berlin.de> <20110326191927.1bd25c06@ernst.jennejohn.org> <4D8E308C.2060004@mail.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0Wno+JmTDwXv9sgk" Content-Disposition: inline In-Reply-To: <4D8E308C.2060004@mail.zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-x11 , freebsd-current@freebsd.org, Andriy Gapon Subject: Re: XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":0.0" 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: Sat, 26 Mar 2011 21:08:36 -0000 --0Wno+JmTDwXv9sgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 26, 2011 at 07:29:32PM +0100, Hartmann, O. wrote: > On 03/26/11 19:19, Gary Jennejohn wrote: > >On Sat, 26 Mar 2011 18:53:52 +0100 > >"O. Hartmann" wrote: > > > >>On 03/26/11 14:48, Kostik Belousov wrote: > >>>On Sat, Mar 26, 2011 at 01:44:52PM +0100, O. Hartmann wrote: > >>>>On 26.03.2011 11:55, Andriy Gapon wrote: > >>>>>on 26/03/2011 11:10 O. Hartmann said the following: > >>>>>>Updating ports and source of my FreeBSD 9.0-CURRENT/amd64 host,=20 > >>>>>>equipted > >>>>>>with a > >>>>>>AMD/ATi HD4830 graphics board driven by X11 xf86-video-ati driver= =20 > >>>>>>(which > >>>>>>has > >>>>>>been recently update as far as I saw), > >>>>>>resulted this morning in an 'un-login-able' box. > >>>>>> > >>>>>>I see the xdm-login requester, but after successfully login, I see= =20 > >>>>>>for a > >>>>>>second > >>>>>>the desktop (windowmaker), but X11 immediately dies and resets to t= he=20 > >>>>>>xdm > >>>>>>requester again. > >>>>>Are you subscribed to our x11 list? It's quite low volume. > >>>>>Please see recent messages in its archive, perhaps they could help y= ou. > >>>>> > >>>> > >>>>Hello. > >>>> > >>>>No, I'm actually not subscribed to that list. Since the problem occur= ed > >>>>since yesterday's update out of the blue, I thought it could be more > >>>>FreeBSD related than X11 related. But I will reply to the X11 list as > >>>>well. I simply forgot in my desperate pain, sorry. > >>>> > >>>See > >>>http://lists.freebsd.org/pipermail/freebsd-x11/2011-March/010737.html > >> > >>I downgraded the AMD/ATi driver to version xf86-video-ati-6.14.0_1, I > >>desperately need my boxes since I have to finish work. > >>Three different types of AMD/ATi graphics cards out of the same product > >>class are not working with the new xf86-video-ati-6.14.1 and as the > >>above mentioned link suggests, the solution is well known. I was > >>wondering how this port could be so easily slipped into the repository = ... > >> > >>Since the patch Jun-uk Kim referred to is a GIT patch and it seems to > >>work, is there a 'simple' way without installing the GIT stuff from > >>ports to patch the defective port? > >> > >Have you looked at the link? The patch is trivial and can easily be > >applied by hand. > > > Yes I did. Put the following content into the ports/x11-drivers/xf86-video-ati/files/p= atch-all =46rom fe2e0ad3ffa58f40311319c950b842e2928a5740 Mon Sep 17 00:00:00 2001 From: matthew green Date: Mon, 21 Mar 2011 16:17:58 +0000 Subject: bug fix for r6xx/r7xx UMS Signed-off-by: Alex Deucher --- diff --git src/r600_exa.c src/r600_exa.c index 0ed0ced..7736d24 100644 --- src/r600_exa.c +++ src/r600_exa.c @@ -621,8 +621,12 @@ R600PrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, return FALSE; =20 if (accel_state->same_surface =3D=3D TRUE) { +#if defined(XF86DRM_MODE) unsigned height =3D RADEON_ALIGN(pDst->drawable.height, drmmode_get_height_align(pScrn, accel_state->dst_obj.tiling_fla= gs)); +#else + unsigned height =3D pDst->drawable.height; +#endif unsigned long size =3D height * accel_state->dst_obj.pitch * pDst->drawab= le.bitsPerPixel/8; =20 #if defined(XF86DRM_MODE) diff --git src/radeon_textured_video.c src/radeon_textured_video.c index c886ed0..d247db6 100644 --- src/radeon_textured_video.c +++ src/radeon_textured_video.c @@ -248,7 +248,11 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, BoxRec dstBox; int dst_width =3D width, dst_height =3D height; int aligned_height; +#ifdef XF86DRM_MODE int h_align =3D drmmode_get_height_align(pScrn, 0); +#else + int h_align =3D 1; +#endif /* make the compiler happy */ s2offset =3D s3offset =3D srcPitch2 =3D 0; =20 -- cgit v0.8.3-6-g21f6 --0Wno+JmTDwXv9sgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk2OVc8ACgkQC3+MBN1Mb4jZsACg1ALoMUJOAZEj175bqNuxUFrq D+8AnROQ1Bh/r4VLUOwWLfcFYwl4bxAe =7RHU -----END PGP SIGNATURE----- --0Wno+JmTDwXv9sgk--