You are not logged in.
I'm a victim of the notorious problems with the i915 module's failure after resume (problem is present both with suspend-to-ram and swsusp2). However, I know the ubuntu guys have fixed it somehow, and I found this bug report (https://bugzilla.redhat.com/bugzilla/sh … ?id=159960) which gives rather good overview over the problem, possible solution, and links. However, I still haven't managed to sort it out. So, has anyone managed to resolve this problem under arch? It doesn't seem to be a too hard to solve though. One thing is, I can't find the ubuntu patch everyone talks about...
Cheers.
Offline
Sounds like it should have been merged into 2.6.12.
Offline
I would've expected that too, but I still have the same problems. Judging from the bug report I linked to, it seems like the kernel module is only half the issue, and that the other part has to do with xorg... I'm not sure what that means though. Could it be that the ubuntu-devs have used some cvs code in their xorg-package?
Offline
dont know, but feel free to make a cvs pkgbuild of X. shouldnt be hard, just base it off the standard xorg pkgbuild.
i'll give it a shot
Offline
hm... good idea
Offline
Just thought I'd post to say it's not going too well with the PKGBUILD. I'm confused about the settings that are written to config/cf/host.def (should they be the same for the CVS-version?). Also, I don't know how to automate the cvs lookup.
I've been looking through ubuntu's patch file (can be found at the bottom of this page if anyone's interested: http://packages.ubuntu.com/hoary/x11/xserver-xorg). It's one big patch file with lots and lots of debian- and ubuntu-specific changes; and I've no clue of how to extract the relevant bits and pieces.
Anyway, I'll be poking around some more; see what I can do...
C heers-
Offline
I managed to compile a CVS-package of xorg, but now I'm just really confused! I still have the same problem after resume. It should work now. Could it be that the ubuntu-devs are using some patches of their own? That would be sort of strange. This issue isn't present in hoary which was released in april. Shouldn't a patch like that have made into xorg-cvs? Ah well; if anything comes to mind, please let me know. Here's the PKGBUILD I used by the way, *heavily* based on the standard xorg PKGBUILD.
pkgname=xorg
pkgver=6.8.9999
pkgrel=1
pkgdesc="A fork of the XFree86 Project with a GPL-compatible license - CVS snapshot"
url="http://www.x.org"
depends=('glibc' 'freetype1' 'fontconfig' 'gcc' 'libpng')
makedepends=('perl')
source=(http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz xdm.pam
libGL.la xorg.sh vm86-tls.patch)
conflicts=('ttf-bitstream-vera' 'xfree86')
provides=('x-server' 'xfree86')
replaces=('x')
install=x.install
build() {
cd $startdir/src
cvs -d :pserver:anoncvs:@cvs.freedesktop.org:/cvs/xorg login
cvs -d :pserver:anoncvs:@cvs.freedesktop.org:/cvs/xorg co -P xc
make FREETYPE_INCL=/usr/include/freetype || return 1
install -D ttmkfdir $startdir/pkg/usr/X11R6/bin/ttmkfdir
cd $startdir/src/xc
# patch -Np0 -i ../vm86-tls.patch || return 1
# build fixes
sed -i 's|$(HARDCOPYDIR)||g' doc/Imakefile || return 1
echo $"#define DefaultGcc2i386Opt $CFLAGS -fno-strength-reduce -fno-strict-aliasing" >config/cf/host.def
echo $'#define HasZlib YESn' >>config/cf/host.def
echo $'#define HasNCurses YESn' >>config/cf/host.def
echo $'#define HasFontconfig YESn' >>config/cf/host.def
echo $'#define HasFreetype2 YESn' >>config/cf/host.def
echo $'#define HasLibpng YESn' >>config/cf/host.def
echo $'#define HasExpat YESn' >>config/cf/host.def
echo $'#define BuildLinuxDocHtml NOn' >>config/cf/host.def
echo $'#define BuildLinuxDocPS NOn' >>config/cf/host.def
echo $'#define BuildAllSpecsDocs NOn' >>config/cf/host.def
echo $'#define BuildSpecsDocs NOn' >>config/cf/host.def
echo $'#define BuildHtmlManPages NOn' >>config/cf/host.def
# echo $'#define ForceNormalLib YESn' >>config/cf/host.def
echo $'#define HasMTRRSupport YESn' >>config/cf/host.def
echo $'#define HasMMXSupport YESn' >>config/cf/host.def
# Katmai: PIII SSE instructions; 3DNow: AMD instructions
echo $'#define HasKatmaiSupport YESn' >>config/cf/host.def
#echo $'#define Has3DNowSupport YESn' >>config/cf/host.def
make World || return 1
make DESTDIR=$startdir/pkg install
rm -f programs/xkbcomp/rules/xfree86*
make DESTDIR=$startdir/pkg install.man
(cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/X11 X11)
(cd $startdir/pkg/usr/include && ln -sf ../X11R6/include/GL GL)
# exorcise the SysV demons and set up environment stuff
rm -rf $startdir/pkg/etc/rc.d/rc?.d
rm -f $startdir/pkg/etc/profile.d/xprint.csh
mv $startdir/pkg/etc/init.d/xprint $startdir/pkg/etc/rc.d/xprint
sed -i 's|init.d|rc.d|g' $startdir/pkg/etc/profile.d/xprint.sh
rmdir $startdir/pkg/etc/init.d
# get the pkgconfig .pc files in the right place
mkdir -p $startdir/pkg/usr/lib/pkgconfig
mv $startdir/pkg/usr/X11R6/lib/pkgconfig/* $startdir/pkg/usr/lib/pkgconfig
# provide libX11.a
#cd $startdir/src/xc/lib/X11
#ar r libX11.a *.o
#install -d -m644 libX11.a $startdir/pkg/usr/X11R6/lib/libX11.a
# XDG stuff
install -d -m755 $startdir/pkg/etc/xdg
install -D -m644 $startdir/src/xdm.pam $startdir/pkg/etc/pam.d/xdm
install -D -m755 $startdir/src/xorg.sh $startdir/pkg/etc/profile.d/xorg.sh
install -D -m644 $startdir/src/libGL.la $startdir/pkg/usr/lib/libGL.la
}
Offline