You are not logged in.

#26 2006-02-22 09:41:24

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I do not use dri, but have glx. Maybe I shall try and comment that out as well?

Offline

#27 2006-02-22 09:54:12

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

I'm on a machine at work at the mo, so cannot do further checks (this is also running Arch, but I am loath to update it in case this starts freezing as well - wouldn't be good  :shock: )

I don't think disabling glx would make much difference unless the freeze is happening running OpenGL - which it's not.

In the past, absolute hard-locks for me have generally been caused by drivers either on the video card or the AGP slot, but I don't want to change from the xorg ati driver to the fglrx because of the 'black screen' issue with kernel 2.6.15 which has been around.  It's also odd that my lockups (so far) have only happened when running Tbird (gtk based) - now I've done it, I'll have nothing but trouble tonight  :twisted:

Offline

#28 2006-02-22 10:07:19

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I have asked a couple of times here but have not gotten any answers ... is it possible to downgrade the system using pacman? I guess it wont help only installing an older version of xorg since oll the other packages needs to be reinstalled as well...

Offline

#29 2006-02-22 13:29:35

bardo
Member
Registered: 2004-12-06
Posts: 96

Re: Xorg7 - system freezing [split]

Same for me. I have an ATI card, too, and I think that this is the problem. I just bugreported to the dev team, and I already have one comment: https://bugs.freedesktop.org/show_bug.cgi?id=5997

So I'm trying to build my xf86-video-ati-cvs package starting from the original one, with this PKGBUILD:

# $Id: PKGBUILD,v 1.2 2006/02/18 14:19:19 jgc Exp $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-ati-cvs
pkgver=20060222
pkgrel=1
pkgdesc="X.org ati video driver"
url="http://xorg.freedesktop.org/"
depends=(libdrm expat)
makedepends=(pkgconfig xorg-server)
conflicts=(xf86-video-ati)
provides=(xf86-video-ati)
groups=(xorg-video-drivers)
_xorg=X11R7.0
_relname=xf86-video-ati
_mesaver=6.4.2
source=(http://dl.sourceforge.net/mesa3d/MesaLib-${_mesaver}.tar.bz2)
md5sums=(7674d2c603b5834259e4e5a820cefd5b)

_cvsroot=":pserver:anoncvs:@cvs.freedesktop.org:/cvs/xorg"
_cvsmod="driver/xf86-video-ati"

build() {
  cd ${startdir}/src
  msg "Connecting to cvs.freedesktop.org CVS server..."
  cvs -z3 -d ${_cvsroot} co -D ${pkgver} -f ${_cvsmod}
  cd ${_cvsmod}
  ./autogen.sh

  msg "CVS checkout done or server timeout"
  msg "Starting make..."

  cp -r ../${_cvsmod} ../${_cvsmod}-build
  cd ../${_cvsmod}-build
  #cd ${startdir}/src/${_relname}-${_xorg}-${pkgver}
  ./configure --prefix=/usr 
              --enable-dri 
              --build=${CHOST} --host=${CHOST}
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  cd ${startdir}/src/Mesa-${_mesaver}/configs
  CONFIG="linux-dri-x86"
  echo "EXTRA_LIB_PATH =" >> ${CONFIG}
  echo "OPT_FLAGS = ${CFLAGS}" >> ${CONFIG}
  echo "SRC_DIRS = glx/x11 mesa" >> ${CONFIG}
  echo "USING_EGL = 0" >> ${CONFIG}
  echo "PROGRAM_DIRS =" >> ${CONFIG}
  echo "MKDEP = makedepend" >> ${CONFIG}
  echo "DRI_DIRS = mach64 r128 radeon r200 r300" >> ${CONFIG}

  ln -s ${CONFIG} current
  cd ${startdir}/src/Mesa-${_mesaver}/src/mesa/x86
  make
  cd ..
  make mesa.a
  cd drivers/dri

  mkdir -p ${startdir}/pkg/usr/lib/xorg/modules/dri
  make
  install -m 755 */*_dri.so ${startdir}/pkg/usr/lib/xorg/modules/dri/

  find ${startdir}/pkg -name '*.la' -exec rm {} ;
}

But I get an error message:

[...]
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for DRI... configure: error: Package requirements (libdrm >= 2.0 xf86driproto) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the DRI_CFLAGS and DRI_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

Obviously the above stated packages are installed, I think it's a path problem (see L0cutus post, I think the two problems are related).


dreaming in digital / living in realtime / thinking in binary / talking in ip / welcome to our world

Offline

#30 2006-02-22 13:39:13

Infracephas
Member
From: Mint Hill, NC
Registered: 2005-11-25
Posts: 34
Website

Re: Xorg7 - system freezing [split]

Oh yeah, I also have an ATI card (Radeon Mobility 9600).  I'd be willing to bet that it could be interaction between the "radeon" xorg driver and the "glx" module.  I haven't experienced any crashes since disabling glx and dri.  I did experienc 4 crashes before doing so.  I'll keep you posted as to whether I experience any more crashes.


Russ

Offline

#31 2006-02-22 14:49:56

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Xorg7 - system freezing [split]

I fired Thunderbird out of curiosity, nothing evil happened...
After RTFM, transition to xorg 7 was suprisingly smooth here, I expected way worse... the only thing not mentioned in the wiki was that after upgrading xterm was removed, and so startx failed. By simply doing from CLI
pacman -S xterm
and then starting the xserver evrything is running great! Hats off to the Arch devel team.
Off topic (probably): Nvidia FX 5200, using the stock Arch "nvidia" package.


Microshaft delenda est

Offline

#32 2006-02-22 15:26:27

Infracephas
Member
From: Mint Hill, NC
Registered: 2005-11-25
Posts: 34
Website

Re: Xorg7 - system freezing [split]

Talk about missing the obvious.  I couldn't understand for the life of me why xterm was missing. Thanks!  Still no crashes.


Russ

Offline

#33 2006-02-22 16:07:29

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

scarecrow wrote:

Off topic (probably): Nvidia FX 5200, using the stock Arch "nvidia" package.

Possibly not, from what I can tell, all the problems are with ATI owners (someone will probably tell me different now!)

I'll probably give the CVS driver a go when I get back, and see how it goes.  Although, if it is only GTK based apps for some nutty reason, I wouldn't be too bothered as I hardly use any.

Offline

#34 2006-02-22 18:52:33

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I have an ATI Mobility Fire GL T2 and I use the ati driver in xorg.conf. Is there some other driver I could test? I tested the vesa driver yesteday, but the same thing happened.

Offline

#35 2006-02-23 08:48:41

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

You could try the fglrx driver, but last I tried it had issues with kernel 2.6.15.  Don't know if they are solved yet.  (Issues being unable to swtch to a console, and complete loss of video after logging out of X)

I never had chance to try the CVS driver, so if anybody else has it would be good to hear if it solves this freeze problem

Offline

#36 2006-02-23 09:44:38

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

It seems this is a known problem.

https://bugs.freedesktop.org/show_bug.cgi?id=4847

There are a couple of suggestions in there that might help until a new driver is out, or you are able to try the CVS driver at least.[/url]

I'm unable to try anything at the moment, so cannot comment on effectiveness.

Offline

#37 2006-02-23 12:37:21

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

What would happen if I took an older PKGBUILD file for xorg < 7? I guess there are loads of other packages that would go bananas if they had an older version of xorg?

Offline

#38 2006-02-23 13:04:34

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

I imagine that as anything that needs X will have been rebuilt/packaged against the new libraries, there would be a lot of failures (!) and you would effectively have to build everything yourself against the old libraries.

Did you try disabling both dri and glx as Infracephas suggested?

Originally I didn't see how removing glx would help, but it seemingly does in some cases.

The other thing to try is forcing down the AGPMode (to 2 or 1) as suggested in the link above.

Offline

#39 2006-02-23 16:34:46

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I tried disabling glx but that did not help. Have not tried the AGPMode fix yet. Will try in a few minutes. smile

Offline

#40 2006-02-23 16:49:28

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

Setting AGPMode to 2 or 1 did not help.

I was just wondering about one thing ... since I tried the vesa driver, and it still hung ... is it sure that this is a problem with ati? Maybe I'm asking a stupid question here, but I do that all the time anyways so... smile

Offline

#41 2006-02-24 07:34:43

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

At least you get to ssh to your computer after it hangs ... I can't do that either. Everythings dead... sad

If this isnt fixed soon the only solution for me is to switch to another distro. I cant afford to wait much longer for this...

Offline

#42 2006-02-25 16:38:44

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

Any news about this? My system is still hanging. sad

Offline

#43 2006-02-25 17:35:36

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Xorg7 - system freezing [split]

try the official ati drivers?


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#44 2006-02-26 11:59:39

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

On ati.com I find drivers for Xorg 6.8, and that is only an .rpm file. If someone could guide me on how to install from .rpm, I can try that one. smile

Offline

#45 2006-02-26 12:35:24

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

The ati drivers are in the repositories:

pacman -S ati-drivers ati-drivers-arch

or use ati-drivers-archck if you're using the ck kernel release.

I have trouble with these and kernel 2.6.15, but you may have more luck.

Offline

#46 2006-02-26 12:42:18

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I don't use the arch kernels as I have compiled one myself. Do I have to do things differently then?

Offline

#47 2006-02-26 12:55:56

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: Xorg7 - system freezing [split]

Probably the best method would be to take the PKGBUILD from ABS, create a directory for local builds (assuming you don't have one already) and edit the PKGBUILD to remove the dependency on 'kernel26', and change the pkgname option so a new update doesn't automatically overwrite this install (assuming it works!) 

Then run 'makepkg' as root, or install 'fakeroot'.

Assuming all goes ok, you will be left with a package you can install manually with 'pacman -A pkgname'

I've only done this a couple of times and it is fairly easy if you are only slightly modifying an existing build.  Hopefully if I've left anything out somebody will chime in  wink

Offline

#48 2006-02-26 13:03:48

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I will try this soon. Just have to finish some schoolwork ... in Windows. sad

Offline

#49 2006-02-26 13:54:44

cogo
Member
From: no_NO
Registered: 2006-01-19
Posts: 56
Website

Re: Xorg7 - system freezing [split]

I made a package of ati-drivers and ati-drivers-arch making the necessary changes to the PKGBUILD files. I also added fglrx to the MODULES part of /etc/rc.conf. When I rebooted I got "operation not permitted" when trying to load the fglrx module.

Offline

#50 2006-02-26 14:17:33

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Xorg7 - system freezing [split]

cogo:  You'll get that if you try to modprobe fglrx as a non-root user, or if there's already a video module loaded (like 'radeon').  Check the output of lsmod or lsmod|grep agp and see what's loaded already.

Offline

Board footer

Powered by FluxBB