From owner-freebsd-x11@FreeBSD.ORG Sun Apr 5 17:56:40 2009 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 1965B106566B; Sun, 5 Apr 2009 17:56:40 +0000 (UTC) (envelope-from ekarkkai@pp.htv.fi) Received: from smtp6.welho.com (smtp6.welho.com [213.243.153.40]) by mx1.freebsd.org (Postfix) with ESMTP id C101F8FC0A; Sun, 5 Apr 2009 17:56:39 +0000 (UTC) (envelope-from ekarkkai@pp.htv.fi) Received: from zero.my.domain (cs181103178.pp.htv.fi [82.181.103.178]) by smtp6.welho.com (Postfix) with ESMTP id 050D15BC032; Sun, 5 Apr 2009 20:25:57 +0300 (EEST) Received: from thunderbolt.my.domain (thunderbolt.my.domain [10.192.168.30]) by zero.my.domain (8.14.3/8.14.3) with ESMTP id n35HPu7S003067; Sun, 5 Apr 2009 20:25:56 +0300 (EEST) (envelope-from ekarkkai@pp.htv.fi) Received: from thunderbolt.my.domain (localhost [127.0.0.1]) by thunderbolt.my.domain (8.14.3/8.14.3) with ESMTP id n35HPuCe014445; Sun, 5 Apr 2009 20:25:56 +0300 (EEST) (envelope-from ejk@thunderbolt.my.domain) Received: (from ejk@localhost) by thunderbolt.my.domain (8.14.3/8.14.3/Submit) id n35HPtUj014444; Sun, 5 Apr 2009 20:25:55 +0300 (EEST) (envelope-from ejk) Date: Sun, 5 Apr 2009 20:25:55 +0300 From: Esa Karkkainen To: freebsd-x11@freebsd.org Message-ID: <20090405172555.GA14135@pp.htv.fi> Mail-Followup-To: Esa Karkkainen , freebsd-x11@freebsd.org, danfe@FreeBSD.org References: <20090213113025.GA23048@saltmine.radix.net> <20090218140658.GA16987@pp.htv.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: danfe@freebsd.org Subject: Re: x48 broken with X.org 7.4 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, 05 Apr 2009 17:56:40 -0000 On Wed, Feb 18, 2009 at 12:47:10PM -0700, Warren Block wrote: > That's about what it looks like here on a Radeon. My guess would be the > emulator is using an outdated assumption in drawing the calculator's > display bitmap. I had some spare time and I fiddled with this port. I found out that when I disabled XShm extension, the x48 "display" corruption disappeared, as you can see from this screenshot: http://koti.welho.com/ekarkkai/x48_snap_4.jpg If you want to try this in your system, you can do it following these copy&paste instructions: # pkg_delete x48-0.4.3_1 # cd ports/emulators/x48 # make patch # cd work/x48-0.4.3 # sed -i .orig -e 's|^#define HAVE_XSHM$|/* & */|' config.h # cd ../.. # make all # make install # make clean I'll probably submit a PR today. -- "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." -- Douglas Adams 1952 - 2001