LinHES Forums http://forum.linhes.org/ |
|
help installing nvidia-304xx on older pc http://forum.linhes.org/viewtopic.php?f=14&t=24119 |
Page 1 of 1 |
Author: | jeremycobert [ Tue Dec 30, 2014 6:01 pm ] |
Post subject: | help installing nvidia-304xx on older pc |
Hey guys, I recently switched over to linhes from myhtbuntu and I am not entirely familiar with linhes yet. I have my daughters PC and I had installed mythbuntu with the nvidia 304 drivers. I am now trying to install linhes 8.1 on it and I am forced to use the VESA driver to install . everything is up and working but the menu is not very responsive, I think it needs the nvidia legacy driver for the nvidia 6100 LE. The arch linux site suggest the 304 driver. I thought this was the command but this command is not working Code: sudo pacman -S nvidia-304xx Is that the correct format to install it or am I missing something ?
|
Author: | tscholl [ Tue Dec 30, 2014 6:12 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
The nvidia drivers available in the 8.1 repo are version 310 and I don't know if they will work for you or not. I not at my system at the moment but I believe: Code: sudo pacman -S nvidia sudo pacman -S nvidia-utils Should install the nvidia-310 version of the packages required. |
Author: | mattbatt [ Tue Dec 30, 2014 10:16 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
the Legacy Nvidia drivers are not supported in LinHES 8.0+ http://linhes.org/projects/linhes/versions/22 You can install them as This guy did although I wish they had documented it. viewtopic.php?f=22&t=24041&hilit=legacy+nvidia According to Nvidia you do indeed need the 304.88 driver and you can download it from their site http://www.nvidia.com/download/driverRe ... 9826/en-us The Arch wiki has a guide for installing the driver... I would wait for one of the real Linux people (ie not me) to guide you on the best way to install the driver. https://wiki.archlinux.org/index.php/NVIDIA#Installing Are you opposed to buying a new card? |
Author: | graysky [ Wed Dec 31, 2014 5:59 am ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
There should be no need to buy a new card; I have an old 6600 running the 304xx driver just fine (Arch). For LH, it looks like only the following are available: [core] = 310.19 [core-testing] = 337.12 Looks like LH is on the 3.13.x series of kernel so you likely only need to download the linux-headers package and build your own version of 304xx. I assume LH includes an equivalent of 'base-devel'? You will need to adapt the Arch PKGBUILDs for LH which shouldn't be hard. I can help if you wish to proceed. |
Author: | graysky [ Wed Dec 31, 2014 6:58 am ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
I put R8.2 in a VM and modified the Arch PKGBUILDs. They built in the VM just fine. You can get them here: http://repo-ck.com/source/LH/nvidia-304 ... 8.2.tar.gz You will need the base-devel group installed in order to build these. These should not harm your system since they can be removed. I don't know the inner workings of LH so try it at your own risk. Maybe wait for one of the devs to comment. EDIT: Code: tar xcf nvidia-304xx_driver_for_R8.2.tar.gz cd nvidia-304xx-utils makepkg -srci cd .. cd nvidia-304xx makepkg -srci I dunno how to restart X in LH so probably just easier to reboot. |
Author: | mattbatt [ Wed Dec 31, 2014 11:54 am ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
thanks Graysky you are one of Linux experts I was thinking of. |
Author: | jeremycobert [ Wed Dec 31, 2014 6:18 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
graysky wrote: I put R8.2 in a VM and modified the Arch PKGBUILDs. They built in the VM just fine. You can get them here: http://repo-ck.com/source/LH/nvidia-304 ... 8.2.tar.gz You will need the base-devel group installed in order to build these. These should not harm your system since they can be removed. I don't know the inner workings of LH so try it at your own risk. Maybe wait for one of the devs to comment. EDIT: Code: tar xcf nvidia-304xx_driver_for_R8.2.tar.gz cd nvidia-304xx-utils makepkg -srci cd .. cd nvidia-304xx makepkg -srci I dunno how to restart X in LH so probably just easier to reboot. well I gave that a shot but it failed , missing some package dependency. Oh well, dont worry about it, I think I just need to replace this old pc. Life is pretty hard making the switch from a gui to text only, but my main machines are working perfectly. |
Author: | graysky [ Wed Dec 31, 2014 9:03 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
jeremycobert wrote: well I gave that a shot but it failed , missing some package dependency. Oh well, dont worry about it, I think I just need to replace this old pc. Life is pretty hard making the switch from a gui to text only, but my main machines are working perfectly. No, it should not fail. Build and install the first ones, then the 2nd one. Work for me on a virgin install. |
Author: | jeremycobert [ Thu Jan 01, 2015 11:25 am ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
graysky wrote: jeremycobert wrote: No, it should not fail. Build and install the first ones, then the 2nd one. Work for me on a virgin install. O.k., I will give it another shot. I will do a virgin install. also , did you run it as root ? I aasume i need to su or sudo and run it. also, "tar xcf nvidia-304xx_driver_for_R8.2.tar.gz' " did you mean tar xvf ? instead of xcf ? |
Author: | graysky [ Thu Jan 01, 2015 11:49 am ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
jeremycobert wrote: graysky wrote: jeremycobert wrote: No, it should not fail. Build and install the first ones, then the 2nd one. Work for me on a virgin install. O.k., I will give it another shot. I will do a virgin install. also , did you run it as root ? I aasume i need to su or sudo and run it. also, "tar xcf nvidia-304xx_driver_for_R8.2.tar.gz' " did you mean tar xvf ? instead of xcf ? Opps, yes, typo on the untar command. There is no reason to try it on a virgin install by the way. You do not need to run makepkg as root, if you include the "-i" switch which means install, it will build and they try to install if you user has sudo rights. |
Author: | jeremycobert [ Thu Jan 01, 2015 5:11 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
graysky wrote: Opps, yes, typo on the untar command. There is no reason to try it on a virgin install by the way. You do not need to run makepkg as root, if you include the "-i" switch which means install, it will build and they try to install if you user has sudo rights. Well, i gave it another shot on a virgin install of 8.1.0 and it fails. I wonder if its because I am running it as root . I really have no idea how to use VI, so adding myself to the sudo users is out of the question. Code: [root@gabbybox ~]# ls
LinHES-install.sh~ nvidia-304xx_driver_for_R8.2.tar.gz [root@gabbybox ~]# [root@gabbybox ~]# tar xvf nvidia-304xx_driver_for_R8.2.tar.gz nvidia-304xx_driver_for_R8.2/ nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/ nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD nvidia-304xx_driver_for_R8.2/nvidia-304xx/ nvidia-304xx_driver_for_R8.2/nvidia-304xx/PKGBUILD nvidia-304xx_driver_for_R8.2/nvidia-304xx/nvidia.install [root@gabbybox ~]# cd nvidia-304xx_driver_for_R8.2 [root@gabbybox nvidia-304xx_driver_for_R8.2]# cd ../ [root@gabbybox ~]# ls LinHES-install.sh~ nvidia-304xx_driver_for_R8.2.tar.gz nvidia-304xx_driver_for_R8.2 [root@gabbybox ~]# cd nvidia-304xx_driver_for_R8.2 [root@gabbybox nvidia-304xx_driver_for_R8.2]# ls nvidia-304xx nvidia-304xx-utils [root@gabbybox nvidia-304xx_driver_for_R8.2]# cd nvidia-304xx-utils/ [root@gabbybox nvidia-304xx-utils]# makepkg -srci ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option. [root@gabbybox nvidia-304xx-utils]# makepkg -srci --asroot ==> Making package: nvidia-304xx-utils 304.125-1 (Thu Jan 1 17:03:53 CST 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading NVIDIA-Linux-x86_64-304.125-no-compat32.run... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 39.6M 100 39.6M 0 0 353k 0 0:01:54 0:01:54 --:--:-- 356k ==> Validating source files with md5sums... NVIDIA-Linux-x86_64-304.125-no-compat32.run ... Passed ==> Extracting sources... ==> Starting build()... Creating directory NVIDIA-Linux-x86_64-304.125-no-compat32 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 304.125....... ................................................................................ ............................................................ ==> Starting package_nvidia-304xx-utils()... /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found ==> Tidying install... -> Purging unwanted files... -> Compressing man and info pages... ==> Creating package "nvidia-304xx-utils"... -> Generating .PKGINFO file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_nvidia-304xx-libgl()... ==> Tidying install... -> Purging unwanted files... -> Compressing man and info pages... ==> Creating package "nvidia-304xx-libgl"... -> Generating .PKGINFO file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_opencl-nvidia-304xx()... /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf : command not found ==> Tidying install... -> Purging unwanted files... -> Compressing man and info pages... ==> Creating package "opencl-nvidia-304xx"... -> Generating .PKGINFO file... -> Generating .MTREE file... -> Compressing package... ==> Finished making: nvidia-304xx-utils 304.125-1 (Thu Jan 1 17:07:55 CST 2015) ==> Installing nvidia-304xx-utils package group with pacman -U... loading packages... error: '/root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/nvidia-304xx-libgl -304.125-1-x86_64.pkg.tar.xz': duplicate target error: '/root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/opencl-nvidia-304x x-304.125-1-x86_64.pkg.tar.xz': duplicate target ==> WARNING: Failed to install built package(s). ==> Cleaning up... [root@gabbybox nvidia-304xx-utils]# |
Author: | graysky [ Fri Jan 02, 2015 6:23 am ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
Doesn't look like you installed the base-devel group... Quote: /root/nvidia-304xx_driver_for_R8.2/nvidia-304xx-utils/PKGBUILD: line 26: readelf command not found You shouldn't run makepkg as root, in fact, the latest version of pacman/makepkg has removed this option. If you are more comfortable with nano, type this as root to allow the visudo command to work: Code: export EDITOR=nano Now you may add this line to allow your user (not mythtv) to have sudo rights: Code: youusername ALL=(ALL) NOPASSWD: ALL Try it to install the basedevel group: Code: sudo pacman -S base-devel Now try building as your user (make sure you're not in /root when you do it. |
Author: | jeremycobert [ Fri Jan 02, 2015 3:41 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
[quote="graysky"Try it to install the basedevel group: Code: sudo pacman -S base-devel got myself added to the sudo users list. is this normal ? It appears to error out . I selected all. Quote: ]$ sudo pacman -S base-devel :: There are 13 members in group base-devel: :: Repository core 1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) flex 7) gcc libtool 9) m4 10) make 11) pacman 12) patch 13) pkg-config Enter a selection (default=all): warning: pacman-4.1.0-1 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts... Packages (18): Name Old Version New Version Net Change Download Size core/cloog 0.17.0-2 0.55 MiB core/isl 0.10-1 2.94 MiB core/libmpc 1.0.1-1 0.38 MiB core/mpfr 3.1.1-1 1.50 MiB core/ppl 1.0-1 25.18 MiB core/autoconf 2.69-1 2.18 MiB core/automake 1.12.5-1 1.83 MiB core/binutils 2.23.1-1 19.73 MiB core/bison 2.6-1 2.08 MiB core/fakeroot 1.18.4-1 0.22 MiB core/flex 2.5.36-1 1.77 MiB core/gcc 4.7.2-2 72.84 MiB core/libtool 2.4.2-7 1.28 MiB core/m4 1.4.16-2 0.28 MiB core/make 3.82-4 1.29 MiB core/pacman 4.1.0-1 4.1.0-1 0.00 MiB 0.57 MiB core/patch 2.6.1-3 0.14 MiB 0.06 MiB core/pkg-config 0.27-1 0.11 MiB Total Download Size: 0.63 MiB Total Installed Size: 138.21 MiB Net Upgrade Size: 134.31 MiB :: Proceed with installation? [Y/n] Y :: Retrieving packages ... error: failed retrieving file 'pacman-4.1.0-1-x86_64.pkg.tar.xz' from bits.linhe s.org : Maximum file size exceeded warning: failed to retrieve some files error: failed retrieving file 'patch-2.6.1-3-x86_64.pkg.tar.xz' from bits.linhes .org : The requested URL returned error: 404 warning: failed to retrieve some files error: failed to commit transaction (download library error) Errors occurred, no packages were upgraded. |
Author: | graysky [ Fri Jan 02, 2015 5:27 pm ] |
Post subject: | Re: help installing nvidia-304xx on older pc |
Guessing your database if out of date. Try this: Code: pacman -Syyu then Code: pacman -S base-devel
|
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |