Dpup Exprimo 5.X.3.4.12 with 3.4.2 kernel.

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Installing NVIDIA driver

#466 Post by shinobar »

One of the trick how to see what files are installed:

Code: Select all

ldconfig	  # do what shall be done before milestone
touch MILESTONE # make a refference
sh NVIDIA*.run     # install nvidia driver
# look up what file is installed
find /lib/modules /etc/OpenCL /usr  -newer MILESTONE -not -type d -not -name modules.* > nvidia.files
EDIT: there was a file under /etc/OpenCL.
Last edited by shinobar on Tue 19 Jun 2012, 15:02, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#467 Post by pemasu »

Thank you 01micko !!!!
I tested your script. Yeah...without nvidia graphics....compiling and installing the nvidia is saga itself. Learning curve done.

I created the folder from the install for one nvidia version. And I dropped the pinstall.sh from slacko repo nvidia pet example. I do have nouveau_unload script throug woof also. I dont know what other maneuvers it will need. Running xorgwizard...or some nvidia binary....but the pet has been uploaded.
And the script worked flawlessly....well...we dont expect less from 01micko. So extraordinary usual - normal - magnificent work, lol !!!
I didnt include those Shinobars nvidia handling scripts to the /etc/init.d and /root/Startup. I am not sure they are compatible in any other than Shinobars packages. Shinobar knows better.

Of course you need to check that this nvidia version is ok for your nvidia graphics.

Download link: http://smokey01.com/pemasu/dpup-test/nv ... t-dpup.pet

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

Re: Installing NVIDIA driver

#468 Post by 01micko »

shinobar wrote:One of the trick how to see what files are installed:

Code: Select all

ldconfig	# do what shall be done before milestone
touch MILESTONE
sh NVIDIA*.run
# look up what file is installed
find /lib/modules /usr  -newer MILESTONE -not -type d -not -name modules.* > nvidia.files
Nice!
Puppy Linux Blog - contact me for access

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#469 Post by smokey01 »

Mick the script work for me too. It did whinge about a couple of things, can't remember what it was though.

I packaged it and installed it to a fresh install, rebooted, saved the savefile and it worked.

Hardinfo reports it as unknown though.

I didn't need to blacklist nouveau as it was already in /etc/modprobe.d/blacklist.conf

Now we need to include a menu entry for the Nvidia-config.

I might quickly test pemasu package.

Thanks guys.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#470 Post by smokey01 »

Pemasu I liked your little GUI to unload the nouveau driver but I still had to run xorgwizard and load the Nvidia driver.

It worked just like mine. No menu entry as I guess you didn't include one and it doesn't show up in Hardinfo.

Report-video says the Nvidia driver is loaded.

Cheers

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#471 Post by pemasu »

Thanks Smokey01. I will add the menu entry and remind of xorgwizard usage is already in nouveau_unload script. Thanks again 01micko !
Fully automated loading ie Shinobars scripts would be nice...but these feedbacks of success are needed first. I will soon reupload the test pet.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#472 Post by smokey01 »

shinobar's script didn't work for me, maybe I'm doing something wrong.

I ended up with two blank files, Milestone and Nvidia.files

I'm yet to try jamesbonds solution, maybe tomorrow night.

It would be nice to have a script that converts the nvidia.run file to nvidia.pet. I guess Devx and kernel sources would still need to be loaded. Including a desktop file might be tricky too.

Cheers

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#473 Post by pemasu »

Because I dont have nvidia graphics...I have used following steps to compile nvidia stuff.
First for making things easier, I have renamed for example NVIDIA-Linux-x86-295.59.run to nvidia.run

Then I load devx sfs and kernel source sfs. I place the nvidia.run to the /mnt/home or in my case to /mnt/sda6 because I run with pfix=ram. Outside savefile or running puppy that is.

Then I execute the incantation in that folder in console state, after exiting from X:
./nvidia.run --kernel-name=`uname -r` --kernel-install-path=/lib/modules/`uname -r`/nvidia

This compiles also the kernel module even without nvidia graphics. and places the kernel module to the appropriate place not depending which puppy you run. It also copies and creates all the other nvidia stuff.

Then it is time to use 01mickos new script. and then check the content and fix something if need and then run dir2pet.

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Dpup Exprimo 5.X.3.4.2.1 with 3.4.2 kernel.

#474 Post by Billtoo »

I started with a new save file and tried pemasu's test.pet, I found
that if everything is in place (devx and kernel source sfs in /mnt/home
+ NVIDIA-Linux-x86-295.59.run in root directory) after a couple of
reboots to load the devx and kernel source sfs and to unload the
nouveau driver (I didn't realize that is was loaded) then exit to the
prompt and run xorgwizard and choose the nvidia driver + screen
resolution, the proprietary driver is installed and working, nexuiz
tells me so :)
01micko, scripts baffle me, I know zilch about scripts other than you
need dir2pet,new2dir, etc. to make pets.
Anyway, thanks.
I found with jamesbond's instructions that some of the directories
/usr/X11R7/lib and /etc/X11 (I Think) were empty so I've done something
wrong.
I ended up with a 33mb pet but it didn't work.

I don't remember getting a warning about the nouveau driver when
running the NVIDIA-Linux-x86-295.59.run from the prompt, using the
method that I use to install the driver, I do see it in fatdog64
for one and do a reboot, then rerun the NVIDIA-Linux-x86-295.59.run.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

A script loading NVIDIA driver

#475 Post by shinobar »

Not fully tested but welcome your report.
http://shino.pos.to/party/bridge.cgi?pu ... ia-0.1.pet

EDIT: getnvidia-0.1 is outdated. Visit:
http://www.murga-linux.com/puppy/viewtopic.php?t=72405
Last edited by shinobar on Fri 22 Jun 2012, 05:56, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#476 Post by pemasu »

Shinobar. It worked fine. Of course I cant test the real usage but the script worked...after I edited it to work even without nvidia graphics. I upload the version which can be used without nvidia graphics.

To use nvidia-installer to download the appropriate nvidia driver package is brilliant.
Basically. Just swap that nvidia-installer binary from different driver version and there you go. The nvidia-installer binary calls the right ftp site and checks the recent version....downloads the latest package and then starts to install it...and you can give these extra commands for it also and place them to the script...as I did need to do.

Great and thanks and nice that so many omnipotent coders were interested.
Attachments
getnvidia-wo-nvidia-0.1.pet
(97.93 KiB) Downloaded 242 times

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#477 Post by pemasu »

Okay...learnt more. nvidia-installer --update checks and downloads the most recent nvidia driver package independent from what nvidia-installer you use. The downloaded package is always the most recent. 295.59 atm.

If you give parameters in /usr/bin/getnvidia, row 301:
nvidia-installer --update -a -s, then you accept the license -a and the downloading and installing goes silently -s, no manual feedback or enter pressing. Well....you wont get any other positive feedback either. But...that way you get the packaging done to the pet and sfs without any interference...if everything goes right.

I fixed couple of typos in gettext content....like reay to ready.

This version creates the pet and sfs without nvidia graphics. It does not try to load nvidia.ko, I removed that part of the script for my usage. Also...it has those -a and -s options....so there is no enter pressing and acceptance choosing needs. It just downloads, installs, compiles and creates the pet and sfs. It is more for packaging than using version.
Attachments
getnvidia-wo-nvidia-0.2.pet
(98.47 KiB) Downloaded 233 times

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

NVIDIA

#478 Post by Jim1911 »

Great, :D thank you 01micko, shinobar, pemasu, and others for this great getnvidia setup utility. Used a new save file and installation was flawless. :D

Cheers,
Jim
Attachments
image-1.jpg
(40.59 KiB) Downloaded 617 times

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Re: A script loading NVIDIA driver

#479 Post by Billtoo »

shinobar wrote:Not fully tested but welcome your report.
http://shino.pos.to/party/bridge.cgi?pu ... ia-0.1.pet

I booted pfix=ram and installed your getnvidia-0.1.pet
I ran it from the setup menu and it told me I needed to install the
devx and kernel source sfs, I copied them to /root and loaded them
with SFS-Load on-the-fly.
I ran your pet from the setup menu again, make pet and make sfs were
checked, I clicked on the Exit to prompt box.
At the prompt I entered getnvidia, it downloaded the driver and
compiled it, then it created a pet and a sfs file.
I returned to the desktop with xwin and ran SFS-Load on-the-fly again,
when it gave a prompt to run it I did, then another prompt came up
that showed xorgwizard, I clicked on that and was returned to the
prompt, I ran xorgwizard and chose the nvidia driver and the correct
screen resolution, xwin to get back to the desktop.
I tested nexuiz and it works perfectly.
Awesome!

EDIT: works in racy 5.3 too after I installed a SFS-Load on-the-fly pet.
I think I may have done a couple of unnecessary steps in the exprimo one,anyways, works great.
Attachments
racyscrn.jpg
(30.32 KiB) Downloaded 575 times
nvidia.jpg
(46.43 KiB) Downloaded 597 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#480 Post by don570 »

New version of Compression solves the missing icon in start menu
---> used to compress folders

http://murga-linux.com/puppy/viewtopic. ... 907#632907

________________________________________________________

With Puppy backup now installed you can get rid of Pmirror

___________________________________________

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#481 Post by smokey01 »

shinobar your getnvidia-0.1.pet worked as billtoo described above however, when I installed the pet file it created, it did not work. The sfs it created worked fine although hardinfo didn't display the correct driver information, in fact it just said unknown.

getnvidia-0.1.pet installed the driver correctly and the details can be displayed in hardinfo.

Thanks

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#482 Post by pemasu »

Gnuxo et al.....
I have now struggled with gstreamer, qupzilla webm support, clementine and got some packages done.

Gstreamer-plugins-deps is mega pack for full gstreamer support and with all needed other libs, bunch of audio-video-etc libs. Full squeeze stuff which has been pulled together by famous trial and error method.

And I have learnt more about gstreamer. If you dont have dependency installed for gstreamer plugin the plugin will be blacklisted. After installing the dependent lib, you need to remove /root/.gstreamer-0.10/registry.i486.bin file and launch the application again.
gst-inspect-0.10 binary launched in console displays the working and blacklisted plugins and give error messages.
# gst-inspect-0.10 -b
Blacklisted files:
libgstmodplug.so
Total count: 1 blacklisted file

Yeah, I was nasty, I left that one unsatisfied. Installing libmodplug and then removing that stupid database file mentioned above and you are ready to go.

What I have. I have that gstreamer-plugins-deps as pet and sfs, which enables clementine and gets webm support for qupzilla. At least sometimes. There is probably still work to be done with webm - html5 -h264 -x264 etc support.

You will need this qt-4.8.0 for gstreamer support:
http://smokey01.com/pemasu/pet_packages ... t-dpup.pet
http://smokey01.com/pemasu/pet_packages ... t-dpup.sfs
....or this one
http://smokey01.com/pemasu/pet_packages ... l-dpup.pet
http://smokey01.com/pemasu/pet_packages ... l-dpup.sfs
..... if you need opengl support like for stellarium.

Gstreamer-plugins-deps.0.0.1: is needed for Clementine and for Qupzilla webm-html5 video support. Maybe other gstreamer apps will be coming....oh yeah...probably powerpoint audiosupport works also with this....
http://smokey01.com/pemasu/pet_packages ... -0.0.1.pet
http://smokey01.com/pemasu/pet_packages ... -0.0.1.sfs

Clementine-1.0.1-dpup:
http://smokey01.com/pemasu/pet_packages ... 1-dpup.pet
http://smokey01.com/pemasu/pet_packages ... 1-dpup.sfs

Stellarium: ---> needs opengl version: qt-4.8.0-webkit-phonon-gstreamer-opengl-dpup, but not gstreamer-plugins-deps package.
http://smokey01.com/pemasu/pet_packages ... 0.11.2.pet
http://smokey01.com/pemasu/pet_packages ... 0.11.2.sfs

I think these are ok, if you use other qt apps also, like qupzilla, smplayer, umplayer, etc....Then the big sizes is not so overwhelming. Yeah, these stuff are not slim and light, they are fat and high, lol. Dont hung me, I have sore - aching - painful shoulder already.

Gnuxo
Posts: 365
Joined: Thu 09 Feb 2012, 19:01

#483 Post by Gnuxo »

Wow! I can't believe the effort you put in.

Qupzilla always has this error where even if gstreamer is installed, it keeps asking for libgstapp.so.0

Edit: Oh...I forgot to install the deps.pet. Nevermind, Qupzilla works and Html5 works fast.
Better then flash. When I talked to the developers of Qupzilla, they told me that the newest qtwebkit would allow html5 to run fast, but I didn't expect it to work this nice.

Thank you!!!!!!!!!!!!!!

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#484 Post by pemasu »

Good to know :) Gnuxo. Thank you of the feedback.
One important missing plugins are libgstffmpeg plugins. I have newer ffmpeg and to have working ffmpeg gstreamer plugin, I need to compile it against that newer ffmpeg devel files. I acquired the sgueeze source, patched it with the patch which makes it squeeze version, but....I dont know what ./configure options should I give for it. Ffmpeg has tons of them and what gstreamer expects...I really dont have a glue. It compiles fine but that it can be used for compression and what ever...I need assistance. Maybe I will find them from the net...when I have inspiration to hunt them.
I compiled Thoggen DVD back up dvdripper. It worked. It though was complaining that it would be more happy with ffmpeg gstreamer plugin installed. Something about interlacing would like it. Dunno, lol. The video file was acceptaple. Latest X-men looked just fine.

Gnuxo
Posts: 365
Joined: Thu 09 Feb 2012, 19:01

#485 Post by Gnuxo »

Pemasu, I didn't realize you replied about razorqt.

Anyway, I think that razorqt should be used with eggwm as window manager because it's all qt. I didn't realize how it was to be used. I'll definitely try it out now that I know how to get it working.

Post Reply