You are not logged in.

#1 2011-05-04 11:34:25

k4misiek
Member
Registered: 2008-02-10
Posts: 11

[+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

Hello. I have to install nvidia 260.19.36(I don't have package for kernel26-lts) so I was trying modify PKGBUILD(nvidia-utils first) but I have problem with libnvidia-ml.
What can I do?

[k4misiek@arch nvidia-utils]$ LANG=C makepkg 
==> Making package: nvidia-utils 260.19.36-1 (Wed May  4 13:28:54 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found NVIDIA-Linux-x86-260.19.36.run
  -> Found 20-nvidia.conf
==> Validating source files with md5sums...
    NVIDIA-Linux-x86-260.19.36.run ... Passed
    20-nvidia.conf ... Passed
==> Extracting Sources...
==> Starting build()...
Creating directory NVIDIA-Linux-x86-260.19.36
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 260.19.36.....................................................................................................................
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat `libnvidia-ml.so.260.19.36': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting..
# $Id$
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Contributor: James Rayner <iphitus@gmail.com>

pkgname=nvidia-utils
pkgver=260.19.36
pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries."
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
depends=('xorg-server' 'libxvmc')
optdepends=('gtk2: nvidia-settings' 'pkg-config: nvidia-xconfig')
conflicts=('libgl')
provides=('libgl' 'libcl')
license=('custom')
install=nvidia.install
options=('!strip')
backup=('etc/X11/xorg.conf.d/20-nvidia.conf')

if [ "$CARCH" = "i686" ]; then
        _arch='x86'
        _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
        source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
        md5sums=('2826484d87827351774449382e45c4a9')
elif [ "$CARCH" = "x86_64" ]; then
        _arch='x86_64'
        _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
        source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
        md5sums=('d62243b91d0dc8f2c4b2ab646b72ca65')
fi

source[1]='20-nvidia.conf'
md5sums[1]='541cb36684b6764ccba73d7afe268bf5'

build() {
        cd $srcdir
        sh ${_pkg}.run --extract-only
}

package() {
        cd $srcdir/${_pkg}

        # X driver
        install -D -m755 nvidia_drv.so $pkgdir/usr/lib/xorg/modules/drivers/nvidia_drv.so
        # GLX extension module for X
        install -D -m755 libglx.so.$pkgver $pkgdir/usr/lib/xorg/modules/extensions/libglx.so.$pkgver
        ln -s libglx.so.$pkgver $pkgdir/usr/lib/xorg/modules/extensions/libglx.so       # X doesn't find glx otherwise
        # OpenGL library
        install -D -m755 libGL.so.$pkgver $pkgdir/usr/lib/libGL.so.$pkgver
        # OpenGL core library
        install -D -m755 libnvidia-glcore.so.$pkgver $pkgdir/usr/lib/libnvidia-glcore.so.$pkgver
        # XvMC
        install -D -m644 libXvMCNVIDIA.a $pkgdir/usr/lib/libXvMCNVIDIA.a
        install -D -m755 libXvMCNVIDIA.so.$pkgver $pkgdir/usr/lib/libXvMCNVIDIA.so.$pkgver
        # VDPAU
        install -D -m755 libvdpau_nvidia.so.$pkgver $pkgdir/usr/lib/vdpau/libvdpau_nvidia.so.$pkgver
        # CUDA
        install -D -m755 libcuda.so.$pkgver $pkgdir/usr/lib/libcuda.so.$pkgver
        install -D -m755 libnvcuvid.so.$pkgver $pkgdir/usr/lib/libnvcuvid.so.$pkgver
        # nvidia-tls library
        install -D -m755 tls/libnvidia-tls.so.$pkgver $pkgdir/usr/lib/libnvidia-tls.so.$pkgver
        # OpenCL
        install -D -m755 libnvidia-compiler.so.$pkgver $pkgdir/usr/lib/libnvidia-compiler.so.$pkgver
        install -D -m755 libOpenCL.so.1.0.0 $pkgdir/usr/lib/libOpenCL.so.1.0.0
        install -D -m644 nvidia.icd $pkgdir/etc/OpenCL/vendors/nvidia.icd

        install -D -m755 libnvidia-cfg.so.$pkgver $pkgdir/usr/lib/libnvidia-cfg.so.$pkgver

        install -D -m755 libnvidia-ml.so.$pkgver $pkgdir/usr/lib/libnvidia-ml.so.$pkgver

        # create soname links
        for _lib in $(find $pkgdir -name '*.so*'); do
                _soname="$(dirname ${_lib})/$(readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
                if [ ! -e "${_soname}" ]; then
                        ln -s "$(basename ${_lib})" "${_soname}"
                        ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}"
                fi
        done


        # nvidia-xconfig
        install -D -m755 nvidia-xconfig $pkgdir/usr/bin/nvidia-xconfig
        install -D -m644 nvidia-xconfig.1.gz $pkgdir/usr/share/man/man1/nvidia-xconfig.1.gz
        # nvidia-settings
        install -D -m755 nvidia-settings $pkgdir/usr/bin/nvidia-settings
        install -D -m644 nvidia-settings.1.gz $pkgdir/usr/share/man/man1/nvidia-settings.1.gz
        install -D -m644 nvidia-settings.desktop $pkgdir/usr/share/applications/nvidia-settings.desktop
        install -D -m644 nvidia-settings.png $pkgdir/usr/share/pixmaps/nvidia-settings.png
        sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $pkgdir/usr/share/applications/nvidia-settings.desktop
        # nvidia-bug-report
        install -D -m755 nvidia-bug-report.sh $pkgdir/usr/bin/nvidia-bug-report.sh
        # nvidia-smi
        install -D -m755 nvidia-smi $pkgdir/usr/bin/nvidia-smi
        install -D -m644 nvidia-smi.1.gz $pkgdir/usr/share/man/man1/nvidia-smi.1.gz


        install -D -m644 LICENSE $pkgdir/usr/share/licenses/nvidia/LICENSE
        ln -s nvidia $pkgdir/usr/share/licenses/nvidia-utils
        install -D -m644 README.txt $pkgdir/usr/share/doc/nvidia/README
        install -D -m644 NVIDIA_Changelog $pkgdir/usr/share/doc/nvidia/NVIDIA_Changelog
        ln -s nvidia $pkgdir/usr/share/doc/nvidia-utils

        # Install xorg.conf.d file for nvidia autodetection in xorg.conf-less configurations
        install -D -m644 $srcdir/20-nvidia.conf $pkgdir/etc/X11/xorg.conf.d/20-nvidia.conf
}

Last edited by k4misiek (2011-05-10 08:15:03)

Offline

#2 2011-05-04 11:37:17

hume's doona
Member
Registered: 2009-12-11
Posts: 206

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

 clyde -Ss nvidia-lts
extra/nvidia-lts 270.41.06-1 [3.61 MB]
    NVIDIA drivers for kernel26-lts

I should have used pacman to make it more obvious, but that's the package you want

Offline

#3 2011-05-04 12:33:46

k4misiek
Member
Registered: 2008-02-10
Posts: 11

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

hume's doona wrote:
 clyde -Ss nvidia-lts
extra/nvidia-lts 270.41.06-1 [3.61 MB]
    NVIDIA drivers for kernel26-lts

I should have used pacman to make it more obvious, but that's the package you want


No it's not package that I want.
I want 260.19.36.

Look at this 2 pictures, this is reason why I want 260.19.36 instead 270.41.06.

0504143411.th.jpg
0504143424.th.jpg

Last edited by k4misiek (2011-05-04 12:39:30)

Offline

#4 2011-05-04 12:42:14

vinayv
Member
From: Bangalore, India
Registered: 2008-08-11
Posts: 89

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

Any specific reason that you want a lower version?
I mean, I had a look at those 2 images, but I couldn't figure out what you were pointing at..

Last edited by vinayv (2011-05-04 12:44:29)

Offline

#5 2011-05-04 12:51:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

You can find older packages here.

Offline

#6 2011-05-04 12:59:25

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

just remove the "install -D -m755 libnvidia-ml.so.$pkgver $pkgdir/usr/lib/libnvidia-ml.so.$pkgver" line. this was introduced in 270.30-1.

Offline

#7 2011-05-04 13:05:44

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,927
Website

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

You will have to recompile the older versions of the packages if you want to keep the newer kernel.
You can find the older versions of the PKGBUILDs in the svn entries of the individual packages,
nvidia: http://projects.archlinux.org/svntogit/ … fc47b04589
nvidia-utils: http://projects.archlinux.org/svntogit/ … 6653ad0b8f


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#8 2011-05-04 13:09:38

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

nvidia-lts maybe.

Offline

#9 2011-05-04 13:11:51

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,927
Website

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

oops, right!


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#10 2011-05-04 13:35:00

k4misiek
Member
Registered: 2008-02-10
Posts: 11

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

vinayv wrote:

Any specific reason that you want a lower version?
I mean, I had a look at those 2 images, but I couldn't figure out what you were pointing at..

Please look at this video, http://www.youtube.com/watch?v=sVTXY7TxpZk
Top - right, shifted image. I have no idea why this happens.

karol wrote:

You can find older packages here.

Thanks You very much. I didn't know this site. Now, I do not need to compile, but only install the package.


Anyway, Xorg is too new for nvidia 260.19.36
screenshotkd.th.png
screenshotignoreabi.th.png


But I am sure that the fault of nvidia because on vesa driver everything works fine.

What can I do?

Last edited by k4misiek (2011-05-04 13:35:29)

Offline

#11 2011-05-04 13:49:20

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,927
Website

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

k4misiek wrote:

Thanks You very much. I didn't know this site. Now, I do not need to compile, but only install the package.

That is only true if you use the same kernel that the package was compiled against.

You have to downgrade 
xf86-input-evdev xf86-video-vesa xorg-server-common xorg-server
as well.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#12 2011-05-04 22:06:51

k4misiek
Member
Registered: 2008-02-10
Posts: 11

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

SanskritFritz wrote:
k4misiek wrote:

Thanks You very much. I didn't know this site. Now, I do not need to compile, but only install the package.

That is only true if you use the same kernel that the package was compiled against.

You have to downgrade 
xf86-input-evdev xf86-video-vesa xorg-server-common xorg-server
as well.

Too many packages to downgrade.
Maybe there is some other way to get work nvidia drivers properly ?

Offline

#13 2011-05-05 07:25:47

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,927
Website

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

No, there is none ATM. Follow this thread:
http://www.nvnews.net/vbulletin/showthr … ?p=2427357


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#14 2011-05-05 08:39:37

lgolebio
Member
From: Poland / Wroclaw
Registered: 2008-07-28
Posts: 101

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

@k4misiek you didn't exactly said what is wrong, but I suggest that this is not a problem witch graphic card drivers but with flashplugin.

Try

yaourt -S flasplugin-10.1

Offline

#15 2011-05-05 09:52:10

k4misiek
Member
Registered: 2008-02-10
Posts: 11

Re: [+]nvidia 260.19.36 (shifted image on the newer drivers - flashplugin]

lgolebio wrote:

@k4misiek you didn't exactly said what is wrong, but I suggest that this is not a problem witch graphic card drivers but with flashplugin.

Try

yaourt -S flasplugin-10.1

Thanks a lot. In this version works correctly. 10.1 has security vulnerabilities so I started to combine with newer versions.
On the version flashplugin-prerelease32 11.0.0.60-2 also works as it should.

I changed the name of the topic a little bit to reflect the problem.
After a few days I add [solved] if problem does not occur.

Thanks everyone for help in solving the problem.

Offline

Board footer

Powered by FluxBB