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
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#461 Post by Billtoo »

pemasu wrote:Thanks Billtoo for testing. I havent tested xfce with squeeze packages ever. These 2 window managers have been enough for me.
I didn't have much luck adding squeeze packages, ended up trashing the savefile and starting over.
I added an icewm pet that I made and also having much better results with qt applications.

No luck with jamesbond's nvidia pet instructions though, may try again tomorrow.
Attachments
screenshot2.jpg
(180.43 KiB) Downloaded 612 times

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

#462 Post by 01micko »

Hmmm.... methinks there may well be a way to automate nvidia pet creation. I know radeon has a detailed install file which could be used to construct a script, I'm checking nvidia now. (They have to include something for the uninstall prog to read).
Puppy Linux Blog - contact me for access

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#463 Post by James C »

New Sneekylinux video......"Dpup Experimo 5x 3.4.2.1....In The Lab With Pup.. "

http://www.youtube.com/watch?v=jbxMvcasvb0&feature=plcp

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

#464 Post by pemasu »

Here we have a experimental pup that has been around for quite a while and i have covered it a while back but it has changed so much i thought i would give you another look at it, now it has a super duper new kernel and is so fast that it could run the 100 mtrs in about 6 seconds, and being only 130mb to d/l there is no excuse not to try it....yummmy
Thanks James C. What a perfect way to wake up to the new day. It does not harm so much now that it is cloudy and rainy day.
But there is still work to do....

Gnuxo. About razorqt. I compiled it due to one thread in this forum.
http://www.murga-linux.com/puppy/viewto ... 511#596511
Razorqt is just desktop manager....it needs windowmanager for it also. I used openbox. And got it launched when openbox had started X. I just launched razorqt from console and got it up. I didnt test it much more. For me openbox + razorqt hacking was not in my top 10 list. But....there is openbox pet in the exprimo repo. Download...use it as platform and start to play with razorqt. If there is interest...I can compile the latest version. But not gonna start to play with Puppy scripts to get it integrated. Sorry.

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

#465 Post by 01micko »

Try this script Billtoo, should get nvidia in a package-ready format

Code: Select all

#!/bin/sh

usage(){
	echo "Please name your target package with full path"
	echo "you should use your kernel version and target \npuppy version in the name with target directory"
	echo "eg: /mnt/home/nvidia-260.59-k2.6.39.4-slacko"
	echo "it's up to you to specify a sane path"
	echo "I'm not responsible if you foobar that!"
}
#[ $1 ] && usage
[ ! $1 ] && usage #uncomment, delete above

[ ! `which nvidia-settings` ] && usage

PKGNAME=`basename $1`
PKGPATH=`dirname $1`

ICON=`find /usr -type f -name nvidia-*png`
#fix .desktop
CATEGORY=`grep "Categories" /usr/share/applications/nvidia-settings.desktop`
CATEGORIES=${CATEGORY#*=}
sed -i -e "s%$ICON%nvidia-settings.png%" \
       -e "s%$CATEGORIES%X\-Desktop;%" /usr/share/applications/nvidia-settings.desktop
cp -f $ICON /usr/share/pixmaps

KTYPE=`uname -m`
LIBDIR=/usr/lib
[ $KTYPE = x86_64 ] && LIBDIR=/usr/lib64 EXT=64

#FILES ONLY
#Kernel module
find /lib/modules -type f -name nvidia.ko > /tmp/nvidia-file.list
#libs
for i in libcuda* libGL* libnv* libOpenCL* libvdpau* libXvMCNVIDIA* 
  do find $LIBDIR -name $i >> /tmp/nvidia-file.list
  done
#other files
find /usr -type f -name nvidia-* >> /tmp/nvidia-file.list

#xorg modules #could be in X11R7
XORGDIR=`find $LIBDIR -type d -name xorg`
[ ! $XORGDIR ] && XORGDIR=`find /usr/X11R7/lib${EXT} -type d -name xorg`
find $XORGDIR -name libglx* >> /tmp/nvidia-file.list
find $XORGDIR -name libnvidia* >> /tmp/nvidia-file.list
find $XORGDIR -name nvidia_drv.so >> /tmp/nvidia-file.list

#html files
HTML=`find /usr -type d -name NVIDIA_*`
find $HTML/html -type f -name *html >> /tmp/nvidia-file.list

cat /tmp/nvidia-file.list|sort > /tmp/nvidia.list

#Make destination
mkdir $1

#copy
while read LINE
do TARGET=`dirname $LINE` 
[ ! -d ${1}${TARGET} ]&& mkdir -p ${1}${TARGET}
cp -rf $LINE ${1}${TARGET}
done </tmp/nvidia.list


echo "done!"
For the pinstall just echo nouveau to the blacklist, can vary from pup to pup but it's in /etc/modprobe.d/, also mv the kernel module, splash a message for the user to reboot and that should about cover it.

Hmf... no install log for darn nvidia! Big middle finger @ u nvidia! :lol:
Puppy Linux Blog - contact me for access

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

___________________________________________

Post Reply