You are not logged in.

#1 2009-02-02 10:40:20

Blue Peppers
Member
From: Newbury, UK
Registered: 2009-02-01
Posts: 178

[SOLVED]API mismatch: NVIDIA

Hi,

This is my first post here, so I'm realy sorry if this is obvious or stupid. I've come from ubuntu (does that make me an idiot? Probabaly) so I'm more used to auto config and stuff, but I want to learn. Anyway, to my problem.

When starting a game through wine, I get an error message:

Unable to initialize 3D output. Please verify that you have installed DirectX 8 and an updated video driver.

I then ran it through terminal and noticed this error message:

Error: API mismatch: the NVIDIA kernel module has version 173.14.12,
but this NVIDIA driver component has version 180.22.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.

Can anyone help? I have managed to run the game before (ubuntu xD) but can't seem to now.

Thanks,

Laurie

Last edited by Blue Peppers (2009-02-02 13:49:09)


Consistency is not a virtue.

Offline

#2 2009-02-02 10:44:51

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]API mismatch: NVIDIA

you updated to nvidia along with nvidia-utils but you didn't reloaded nvidia modules.
reboot should fix that or if that isn't the case you should upgrade both packages nvidia and nvidia-utils with pacman


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-02-02 10:58:38

Blue Peppers
Member
From: Newbury, UK
Registered: 2009-02-01
Posts: 178

Re: [SOLVED]API mismatch: NVIDIA

wonder wrote:

you updated to nvidia along with nvidia-utils but you didn't reloaded nvidia modules.
reboot should fix that or if that isn't the case you should upgrade both packages nvidia and nvidia-utils with pacman

My nvida driver pacages (nvidia-173xx and nvidia-173xx-utils) are fully up to date. I have restarted my computer and it hasn't changed anything. I also tried reinstalling the drivers and reconfiguring my xconf, but still no luck.


Consistency is not a virtue.

Offline

#4 2009-02-02 11:01:38

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]API mismatch: NVIDIA

do pacman -Q | grep nvidia


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-02-02 11:04:32

Blue Peppers
Member
From: Newbury, UK
Registered: 2009-02-01
Posts: 178

Re: [SOLVED]API mismatch: NVIDIA

[laurie@Edgar ~]$ pacman -Q | grep nvidia
lib32-nvidia-utils 180.22-1
nvidia-173xx 173.14.12-3
nvidia-173xx-utils 173.14.12-1
[laurie@Edgar ~]$

Ok?


Consistency is not a virtue.

Offline

#6 2009-02-02 11:09:22

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]API mismatch: NVIDIA

that's the problem. lib32-nvidia-utils. it should be the same version as nvidia-173xx-utils


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2009-02-02 11:11:06

Blue Peppers
Member
From: Newbury, UK
Registered: 2009-02-01
Posts: 178

Re: [SOLVED]API mismatch: NVIDIA

Um, do you mean downgrading it? How can I do that? Sorry, I'm not to used to pacman.


Consistency is not a virtue.

Offline

#8 2009-02-02 12:40:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]API mismatch: NVIDIA

i don't have x86_64 machine but i used a build from aur to make this one. i hope that's working. first remove lib32-nvidia-utils and then make a directory lib32-nvidia-utils-173xx and then put in that directory that code into a file named PKGBUILD. then run makepkg -i when you are inside that directory

pkgname=lib32-nvidia-utils-173xx
pkgver=173.14.12
pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries for legacy driver."
url="http://www.nvidia.com/"
arch=(x86_64)
groups=('lib32')
depends=('lib32-libxext')
conflicts=('lib32-libgl' 'lib32-ati-fglrx-utils' 'lib32-nvidia-utils')
provides=('lib32-libgl')
source=(ftp://ftp.archlinux.org/extra/os/i686/nvidia-173xx-utils-$pkgver-$pkgrel-i686.pkg.tar.gz)
md5sums=('2b496e7c9e31bfc9919c4e655a1b75b0')

build() {
    cd $startdir/src
    mkdir -p $startdir/pkg/opt/lib32/usr/lib
    cp -dp usr/lib/*.so* $startdir/pkg/opt/lib32/usr/lib
    
    # fix wrnog links
    cd $startdir/pkg/opt/lib32/usr/lib
    ln -sf libGL.so.$pkgver libGL.so
    ln -sf libGL.so.$pkgver libGL.so.1
    ln -sf libGLcore.so.$pkgver libGLcore.so.1
    ln -sf libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
    ln -sf libnvidia-tls.so.$pkgver libnvidia-tls.so.1
}

Last edited by wonder (2009-02-02 12:40:50)


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2009-02-02 13:48:16

Blue Peppers
Member
From: Newbury, UK
Registered: 2009-02-01
Posts: 178

Re: [SOLVED]API mismatch: NVIDIA

wonder wrote:

i don't have x86_64 machine but i used a build from aur to make this one. i hope that's working. first remove lib32-nvidia-utils and then make a directory lib32-nvidia-utils-173xx and then put in that directory that code into a file named PKGBUILD. then run makepkg -i when you are inside that directory

pkgname=lib32-nvidia-utils-173xx
pkgver=173.14.12
pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries for legacy driver."
url="http://www.nvidia.com/"
arch=(x86_64)
groups=('lib32')
depends=('lib32-libxext')
conflicts=('lib32-libgl' 'lib32-ati-fglrx-utils' 'lib32-nvidia-utils')
provides=('lib32-libgl')
source=(ftp://ftp.archlinux.org/extra/os/i686/nvidia-173xx-utils-$pkgver-$pkgrel-i686.pkg.tar.gz)
md5sums=('2b496e7c9e31bfc9919c4e655a1b75b0')

build() {
    cd $startdir/src
    mkdir -p $startdir/pkg/opt/lib32/usr/lib
    cp -dp usr/lib/*.so* $startdir/pkg/opt/lib32/usr/lib
    
    # fix wrnog links
    cd $startdir/pkg/opt/lib32/usr/lib
    ln -sf libGL.so.$pkgver libGL.so
    ln -sf libGL.so.$pkgver libGL.so.1
    ln -sf libGLcore.so.$pkgver libGLcore.so.1
    ln -sf libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
    ln -sf libnvidia-tls.so.$pkgver libnvidia-tls.so.1
}

Thanks that worked XD


Consistency is not a virtue.

Offline

Board footer

Powered by FluxBB