Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2009 20:25:55 +0300
From:      Esa Karkkainen <ejk@iki.fi>
To:        freebsd-x11@freebsd.org
Cc:        danfe@freebsd.org
Subject:   Re: x48 broken with X.org 7.4
Message-ID:  <20090405172555.GA14135@pp.htv.fi>
In-Reply-To: <alpine.BSF.2.00.0902181244240.15654@wonkity.com>
References:  <F4096767-1C72-46A4-AE72-F89DA0150950@airwired.net> <20090213113025.GA23048@saltmine.radix.net> <20090218140658.GA16987@pp.htv.fi> <alpine.BSF.2.00.0902181244240.15654@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090405172555.GA14135>