You are not logged in.
OK, I'm not very sure if this is related to xorg, here is the situation:
After upgrading to xorg 1.6, I restart X and start firefox to surf the internet,
atfer a few hours of usage, my screen suddenly blackouts, and it seems like a hard crash,
I can't use crtl-alt-backspace to kill X nor use crtl-alt-Fn to switch between virtual consoles,
this is very frustrating since I'm always very proud of my super-rock-solid Arch,
I have NEVER had issue like this, since it happens after upgrading to xorg 1.6,
I suspect the incident is related to it,
does anyone have a similiar situation?
any suggests or thoughts would be very appriciated.
Sean
Offline
To confirm it's an xorg-server issue, try downgrading to the previous xorg-server release to see if the problem goes away.
oz
Offline
To confirm it's an xorg-server issue, try downgrading to the previous xorg-server release to see if the problem goes away.
Thanks for the reply, I would definitely try it,
After doing some research on the forum,
I find out that it also maybe related to the nvidia 180.44 driver, which I also updated with xorg 1.6
http://bbs.archlinux.org/viewtopic.php?id=69321
I will keep this thread updated.
Sean
Offline
Not sure if this is related in the same way to your problem or not, but after upgrading to Xorg 1.6, I have *seemingly* random crashes. At first I thought they were random, then I tried doing a few things to disable gdm before it crashed. The conclusions I came to were:
1) Xorg can't be killed with crtl+alt+backspace
2) If you hold down backspace in certain applications, you will crash Xorg. Firefox is one of these applications.
I also upgraded catalyst and about a hundred other packages at the same time, so I can't blame it for sure on Xorg, but try doing wierd things to kill it. Maybe we have the same problem.
I have tested the above 3 times, and it is consistent.
Offline
I can confirm it on x86_64 also with the nvidia 180.44 driver. Same problems ctrl-alt-backspace not working, Xorg crashes, cannot switch virtual consoles, and also when using Xinerama/seperate X the mouse cursor stays on both screens all the time. Also I am running Openbox. So I downgraded Xorg and everything is fixed.
Thanks
Last edited by securitybreach (2009-04-11 23:56:27)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
First of all crtl alt backspace in 1.6 is disabled by default. To enable it you need to add this to your xorg.conf
Section "ServerFlags"
Option "DontZap" "false"
EndSection
Last edited by dakor (2009-04-11 23:57:03)
freenode.net #linuxn00b
Offline
Ha that explains that part. Wonder why they disabled it.
Thanks
Last edited by securitybreach (2009-04-12 00:02:51)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
Ha that explains that part. Wonder why they disabled it.
Thanks
http://lists.x.org/archives/xorg-devel/ … 00522.html
The last discussion regarding this issue.
BTW i have been running xorg-server 1.6.0 for an hour with nouveau.
No crashes or anything weird yet. For some reason i cant switch to VT too, but its nouveau related cause it works with nv.
FTR im using an unpatched, hal disabled xorg-server: http://aur.archlinux.org/packages.php?ID=23750
Last edited by dolby (2009-04-12 00:23:42)
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
Well I tested it several times and with ANY application 3 backspaces and it crashes X. I tried weechat and firefox 4 times and it happens everytime.
Also, here is my xorg.conf if anyone wants to compare theirs.
http://pastebin.com/f74c61126
Thanks
Last edited by securitybreach (2009-04-12 00:39:55)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
Well I tested it several times and with ANY application 3 backspaces and it crashes X. I tried weechat and firefox 4 times and it happens everytime.
That is definately not happening here. I havent tried nvidia yet though.
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
Oh Xorg, how we love to hate you.
Edit: Oh, and backspace doesn't seem to kill X when held down in sakura. Interesting.
Last edited by tehfishman (2009-04-12 02:19:28)
Offline
Key repeats causing crashes appears to be tied to xinerama (at least for me). See:
http://cvs.fedoraproject.org/viewvc/rpm … iew=markup
I also noticed that when moving the cursor across screens that the cursor was left visible on the previous screen:
http://cvs.fedoraproject.org/viewvc/rpm … iew=markup
I am running with these patches right now and everything seems normal again.
Offline
How do you go about applying the patches?>
Thanks
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
You have to add the 2 patches given by mlee and recompile xorg-server
Here's my modified xorg-server PKGBUILD
# $Id$
# Maintainer: Alexander Baldeck <kth5@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-server
pkgver=1.6.0
pkgrel=4
pkgdesc="X.Org X servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('hal>=0.5.11' 'libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' 'xf86-input-evdev>=2.1.3')
makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'resourceproto>=1.0.2' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
conflicts=('catalyst-utils<=9.2')
options=('!libtool')
provides=('x-server')
groups=('xorg')
install=xorg-server.install
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
xorg-redhat-die-ugly-pattern-die-die-die.patch
server-1.6.patch
hal-wait.patch
xserver-1.6.0-xinerama-crashes.patch
xserver-1.6.0-xinerama-cursors.patch)
md5sums=('aafe73f5807ce8bb534727ecb72467c7'
'1a336eb22e27cbf443ec5a2ecddfa93c'
'064559385557ad02432a1e800b92b14e'
'f16d2caef84e1a9c4075b6c5e145512d'
'fdb4fb466459c32c897ee3b405b6f849'
'a30429f7c2114e7170d62858472ec102')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Get rid of the ugly pattern
patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
# Upstream fixes from server-1.6 branch
patch -Np1 -i "${srcdir}/server-1.6.patch" || return 1
# Revert waiting for hal, assume hal won't show up when initial connect fails
patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
# Avoid Crashes when Xinerama is enabled
patch -Np1 -i "${srcdir}/xserver-1.6.0-xinerama-crashes.patch" || return 1
# Avoid Cursors problem with xinerama
patch -Np1 -i "${srcdir}/xserver-1.6.0-xinerama-cursors.patch" || return 1
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
--disable-dmx \
--enable-xvfb \
--enable-xnest \
--enable-composite \
--enable-xcsecurity \
--enable-xorg \
--enable-xephyr \
--enable-glx-tls \
--enable-kdrive \
--enable-install-setuid \
--enable-config-hal \
--enable-config-dbus \
--enable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf "${pkgdir}/var/log" || return 1
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
For now the cursor is ok and I don't experience crashed when I hold keys.
-=<>=-
Archlinux French site : http://www.archlinux.fr
Offline
cool thanks
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
I have done PKGBUILDs before but when makepkg, I get:
[comhack@Venus ~]$ makepkg
==> ERROR: Install scriptlet (xorg-server.install) does not exist.
How do I make xorg-server.install? I see this line in the PKGBUILD
install=xorg-server.install
Thanks
Last edited by securitybreach (2009-04-13 17:00:38)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
You have to download all files required for the build frome here:
http://repos.archlinux.org/viewvc.cgi/x … xtra-i686/
Or use tools like yaourt (http://archlinux.fr/yaourt-en)
And do a
yaourt -G xorg-server
wget http://cvs.fedoraproject.org/viewvc/rpms/xorg-x11-server/devel/xserver-1.6.0-xinerama-crashes.patch?revision=1.1
wget http://cvs.fedoraproject.org/viewvc/rpms/xorg-x11-server/devel/xserver-1.6.0-xinerama-cursors.patch?revision=1.1
copy/paste the PKGBUILD from my previous post and run makepkg
I've uploaded the pkg in 32bit on my site: http://arnaud.fortier.free.fr/archlinux … pkg.tar.gz
-=<>=-
Archlinux French site : http://www.archlinux.fr
Offline
Thanks alot.
I get this error on makepkg:
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of AC_CHECK_LIBREISERFS
/usr/share/aclocal/progsreiserfs.m4:13: run info '(automake)Extending aclocal'
/usr/share/aclocal/progsreiserfs.m4:13: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
==> ERROR: Build Failed.
Aborting...
[comhack@Venus X]$
Sorry to hijack the thread.
Installed xorg-util-macros and it is building now.
WORKS PERFECTLY..E Big difference in your PKGBUILD. I am grateful.
Thanks
Last edited by securitybreach (2009-04-14 00:17:59)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
Yeeehaa xorg 1.6.1 and again the first patched pkgbuild ...
# $Id$
# Maintainer: Alexander Baldeck <kth5@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-server
pkgver=1.6.1
pkgrel=2
pkgdesc="X.Org X servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('hal>=0.5.11' 'libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' 'xf86-input-evdev>=2.1.3')
makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
conflicts=('catalyst-utils<=9.2')
options=('!libtool')
provides=('x-server')
groups=('xorg')
install=xorg-server.install
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
xorg-redhat-die-ugly-pattern-die-die-die.patch
hal-wait.patch
xserver-1.6.0-xinerama-crashes.patch
xserver-1.6.0-xinerama-cursors.patch)
md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
'1a336eb22e27cbf443ec5a2ecddfa93c'
'f16d2caef84e1a9c4075b6c5e145512d'
'fdb4fb466459c32c897ee3b405b6f849'
'a30429f7c2114e7170d62858472ec102')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Get rid of the ugly pattern
patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
# Revert waiting for hal, assume hal won't show up when initial connect fails
patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
# Avoid Crashes when Xinerama is enabled
patch -Np1 -i "${srcdir}/xserver-1.6.0-xinerama-crashes.patch" || return 1
# Avoid Cursors problem with xinerama
patch -Np1 -i "${srcdir}/xserver-1.6.0-xinerama-cursors.patch" || return 1
# Fix dbus config path
sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
--disable-dmx \
--enable-xvfb \
--enable-xnest \
--enable-composite \
--enable-xcsecurity \
--enable-xorg \
--enable-xephyr \
--enable-glx-tls \
--enable-kdrive \
--enable-install-setuid \
--enable-config-hal \
--enable-config-dbus \
--enable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf "${pkgdir}/var/log" || return 1
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
Looks stable for me, at least more than the stock xorg-server ... I can't wait for xorg-server 1.6.2 \o/
-=<>=-
Archlinux French site : http://www.archlinux.fr
Offline
Removing the nvidia driver is solving the problem for me. Though it was not easy. Each time I booted into X it was totally crashing.
So I hitted Control-Alt-F1 like a madmen in the boot process, logged in and fired pacman -R nvidia. Another poweroff and start (reset was not enough) later I got into X with the standard vesa driver. No problems except the terrible resolution. I've installed the nouveau driver like some suggested, but xorg didn't recognized it automatically. Doing Xorg -configure as root did make a proper xorg.conf however. After moving it to /etc/X11/xorg.conf I got a working machine again.
I do feel a bit disappointed that a xorg release isn't first going into test before moving to extra. Let's hope things will go better in the future. I will keep an eye on future releases of xorg though. When nobody complains within a week, it will be save to update I reckon.
<edit> updating to the nouveau driver didn't solve it completely. I still got lock ups, though it now takes a while (about 30 minutes) </edit>
Last edited by frodoontop (2009-04-16 05:51:59)
Offline
Yeeehaa xorg 1.6.1 and again the first patched pkgbuild ...
The 2 patches were not in the new PKGBUILD so it was doing the odd behavior again:
# Avoid Crashes when Xinerama is enabled
patch -Np1 -i "${srcdir}/xserver-1.6.0-xinerama-crashes.patch" || return 1
# Avoid Cursors problem with xinerama
patch -Np1 -i "${srcdir}/xserver-1.6.0-xinerama-cursors.patch" || return 1
Added to the pkgbuild and it worked great even though the patches are 1.6.0.
[comhack@Venus ~]$ pacman -Q xorg-server
xorg-server 1.6.1-1
Thanks
Last edited by securitybreach (2009-04-15 21:54:37)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
I suppose xorg-util-macros should be in the build-dependencies of xorg-server then? if you agree, I'll file a bug report.
cheers Barde
Offline
I've stuck the above pkgbuild in the aur as xorg-server-warnaud. Hope it fixes my occasional but very annoying freezes.
edit: Didn't fix my freezes...I'll continue to use it though.
Last edited by rocktorrentz (2009-04-21 17:20:31)
Offline
I've got this problem both with nvidia and intel driver (two differente computers).
Running 1.6.3
Offline
Turns out my freezing was caused by mitter (my twitter app)...not sure how, but I stopped using it and my problems are gone! Maybe a pygtk problem?
Offline