You are not logged in.

#1 2008-03-15 14:12:44

thorstenhirsch
Member
Registered: 2005-08-03
Posts: 102

[nvidia] graphics errors in games since upgrade of 03/12/08

Hi,

since I did a "pacman -Syu" on 03/12/08, I have problems with the graphics of sdl/open gl games, e.g. urban terror and unreal tournament. There are graphical errors (textures are missing or have the wrong color) and the games are very unstable, hang very often, have low frame rates.

The last "pacman -Syu" was on 03/02/08, so the "bad" new package must have been released in this time. Only nvidia cards are affected, because my laptop with intel chip has no problems, though I also did a "pacman -Syu" on it. I could not solve the problem by changing the available settings in nvidia-settings. Even disabling the composite and renderaccel options in xorg.conf did not help. But I could solve the visual problems by upgrading xorg-server to 1.4.0.90-7 (testing). The current one is 1.4.0.90-6. However, the games are still very unstable, which is a even bigger problem that the visual issues. I also tried out the new beta nvidia driver (171.06), but it didn't help at all.

Best regards,
Thorsten

P.S.: hardware is GF6600GT

Offline

#2 2008-03-17 07:42:05

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

Same problem here... I downgraded to 100.14.19 because of this and all is well again.
It's a problem in the >= 169 series of drivers.
If you don't have any packages lying around in pacman's cache, I can post PKGBUILD for you when i come home tonight.

Last edited by klixon (2008-03-17 07:42:31)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2008-03-17 22:59:14

thorstenhirsch
Member
Registered: 2005-08-03
Posts: 102

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

Yes, please do so.
I just upgraded xorg-server to version 1.4.0.90-8 (current), but still the same problem.

Offline

#4 2008-03-17 23:10:24

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

here ya go:

first the kernel module:

# $Id: PKGBUILD,v 1.87 2008/02/27 08:20:11 thomas Exp $
# Maintainer : Thomas Baechler <thomas@archlinux.org>

pkgname=nvidia
pkgver=100.14.19
_kernver='2.6.24-ARCH'
pkgrel=1
pkgdesc="NVIDIA drivers for kernel26."
arch=('i686' 'x86_64')
[ "$CARCH" = "i686"   ] && ARCH=x86
[ "$CARCH" = "x86_64" ] && ARCH=x86_64
url="http://www.nvidia.com/"
depends=('kernel26>=2.6.24-2' 'kernel26<=2.6.25-0' 'nvidia-utils')
conflicts=('nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy')
license=('custom')
install=nvidia.install
source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run)

build()
{
  # Extract
  cd $startdir/src/
  sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
  cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
  
  # Any extra patches are applied in here...

  cd usr/src/nv/
  ln -s Makefile.kbuild Makefile
  make SYSSRC=/lib/modules/${_kernver}/build module 
  
  # install kernel module
  mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
  install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/

  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
}

and nvidia-utils:

# $Id: PKGBUILD,v 1.31 2008/02/27 08:17:30 thomas Exp $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Contributor: James Rayner <iphitus@gmail.com>

pkgname=nvidia-utils
pkgver=100.14.19
pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries."
arch=('i686' 'x86_64')
[ "$CARCH" = "i686"   ] && ARCH=x86      
[ "$CARCH" = "x86_64" ] && ARCH=x86_64
url="http://www.nvidia.com/"
depends=('xorg-server')
conflicts=('libgl' 'libgl-dri' 'ati-fglrx-utils' 'nvidia-legacy-utils' \
           'nvidia-71xx-utils' 'nvidia-96xx-utils')
provides=('libgl')
license=('custom')
install=nvidia.install
source=(http://us.download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0.run \
        supported-cards.txt)
options=(docs !strip)

build()
{
  # override nvida install routine and do it the long way.
  cd $startdir/src/
  sh NVIDIA-Linux-${ARCH}-${pkgver}-pkg0.run --extract-only
  cd NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/usr/

  mkdir -p $startdir/pkg/usr/{lib,bin,share/applications,share/pixmaps,man/man1}
  mkdir -p $startdir/pkg/usr/lib/xorg/modules/{extensions,drivers}
  mkdir -p $startdir/pkg/usr/share/licenses/nvidia/
 
  install lib/{libGLcore,libGL,libnvidia-cfg,tls/libnvidia-tls}.so.${pkgver} \
       $startdir/pkg/usr/lib/ || return 1
  install -m644 share/man/man1/* $startdir/pkg/usr/man/man1/ || return 1
  rm $startdir/pkg/usr/man/man1/nvidia-installer.1.gz || return 1
  install X11R6/lib/libXv* $startdir/pkg/usr/lib/ || return 1
  install -m644 share/applications/nvidia-settings.desktop $startdir/pkg/usr/share/applications/ || return 1
  # fix nvidia .desktop file
  sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $startdir/pkg/usr/share/applications/nvidia-settings.desktop
  install -m644 share/pixmaps/nvidia-settings.png $startdir/pkg/usr/share/pixmaps/ || return 1
  install X11R6/lib/modules/libnvidia-wfb.so.$pkgver $startdir/pkg/usr/lib/xorg/modules || return 1
  install X11R6/lib/modules/drivers/nvidia_drv.so $startdir/pkg/usr/lib/xorg/modules/drivers || return 1
  install X11R6/lib/modules/extensions/libglx.so.$pkgver $startdir/pkg/usr/lib/xorg/modules/extensions || return 1
  install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $startdir/pkg/usr/bin/ || return 1
  cd $startdir/pkg/usr/lib/
  ln -s libGL.so.$pkgver libGL.so || return 1
  ln -s libGL.so.$pkgver libGL.so.1 || return 1
  ln -s libGLcore.so.$pkgver libGLcore.so.1 || return 1
  ln -s libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1 || return 1
  ln -s libnvidia-tls.so.$pkgver libnvidia-tls.so.1 || return 1
  ln -s libcuda.so.$pkgver libcuda.so.1 || return 1
  ln -s libXvMCNVIDIA.so.$pkgver libXvMCNVIDIA_dynamic.so.1 || return 1
  cd $startdir/pkg/usr/lib/xorg/modules/extensions
  ln -s libglx.so.$pkgver libglx.so || return 1

  install -m644 $startdir/src/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/LICENSE $startdir/pkg/usr/share/licenses/nvidia/ || return 1
  ln -s nvidia $startdir/pkg/usr/share/licenses/nvidia-utils || return 1
  install -D -m644 $startdir/src/NVIDIA-Linux-${ARCH}-${pkgver}-pkg0/usr/share/doc/README.txt $startdir/pkg/usr/share/doc/nvidia/README || return 1
  install -D -m644 $startdir/src/supported-cards.txt $startdir/pkg/usr/share/doc/nvidia/supported-cards.txt || return 1
  
  find $startdir/pkg/usr -type d -exec chmod 755 {} \;
  # phew :)
}

PS: I removed the mdsums as i am on i686 and i don't have the "sources" for x86_64. These are edited 169.12 PKGBUILDs


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#5 2008-03-18 21:01:13

thorstenhirsch
Member
Registered: 2005-08-03
Posts: 102

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

Thank you.

Offline

#6 2008-04-21 02:12:05

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

I have the same problem in ut2004.  Should I just stay downgraded for now? tongue

Last edited by synthead (2008-04-21 02:12:24)

Offline

#7 2008-04-21 07:26:14

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

The new beta drivers seem to fix the problems:
32-bit version's page
64-bit version's page

I haven't tried them myself, and i read on the nvforums that 2d performance is crap, but you might give it a go...

EDIT: typo

Last edited by klixon (2008-04-21 07:26:55)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#8 2008-04-22 20:39:51

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: [nvidia] graphics errors in games since upgrade of 03/12/08

Thanks, the beta driver fixed my problems with ut2004...

2d performance is crap indeed, you'll notice it on the translucent selection rectangle in KDEmod for example, but otherwise the driver runs stable and fast so far...


want a modular and tweaked KDE for arch? try kdemod

Offline

Board footer

Powered by FluxBB