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
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#451 Post by smokey01 »

billtoo what files are created so I can attempt to put them into a pet?

Is it a single file, or many and what directory/s?

Thanks

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

#452 Post by Billtoo »

smokey01 wrote:billtoo what files are created so I can attempt to put them into a pet?

Is it a single file, or many and what directory/s?

Thanks
Sorry but I don't know how to make it into a pet, 01micko,shinobar,or jamesbond are the people who do know.

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

#453 Post by smokey01 »

It compiled fine and is working full screen with gnome-mplayer.

Now if I can work out which files I need to put in the pet I will make one.

Maybe if I dissect the the pet on the repo it will give me a clue.

Wow there are a lot of files in the Pet. Is there an easy way to do this?

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

#454 Post by pemasu »

Smokey01. I dont have knowledge how to create packageable installation. There are bunch of commandline commands for nvidia .run package. You can extract the package and give commands howto install it and you can give commandline options for nvidia-installer binary also...but I couldnt find easy way to install the package for example under single nvidia folder. Also that way probably several symlinks would be wrong when installing the pet with right folder structure.

So...no cure from me. But....now you could try that mplayer-vdpau and test the gnome-mplayer performance with changing to the vdpau video output in gnome-mplayer.

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

#455 Post by Gnuxo »

I installed qupzilla again from the exprimo and it can't access html5.

I think gstreamer gives qupzilla html5 support.

Has anyone tested qupzilla on youtube's html 5 trial?

I installed so many dependencies...

Does anyone know a quick way to remove unneeded packages?

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.

#456 Post by Billtoo »

I configured the repos in puppy package manager and updated them, then shut down ppm and restarted it.
Then installed xfce4, it's working well, a few icons missing in the menu but working well otherwise.
Attachments
screenshot.jpg
(22.96 KiB) Downloaded 744 times

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

#457 Post by pemasu »

Thanks Billtoo for testing. I havent tested xfce with squeeze packages ever. These 2 window managers have been enough for me.

Gnuxo. I havent tested Qupzilla`s gstreamer abilities. I have thought to create gstreamer support package once....I had need for Clementine...but then my motivation stopped. I got Clementine working though. Knowing which and how much gstreamer plugins and libs would be needed and what libs and plugins would be needed for webm support would help to create the list of packages or create ready made pet. I have one big gstreamer pet already created....for Clementine needs, but it wasnt able to activate the webm support for Qupzillla. I have used flash with Qupzillla all the time. Jemimah is our gstreamer specialist. She might know the way to go....

About removing bunch of pets...I usually boot in pfix=ram and then I do my complicated tests or...mostly compiles. I install bunch of devel libs and stuff needed for compiling and then I just reboot without saving. Best way to get rid of test material or compile stuff....which you dont need in daily usage. Mass removing tool is not in PPM.
Anyway....my savefiles are also consuming stuff. I dont use one savefile long. When it gets full or more often...gets corrupted...I just remove it and start again.

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

#458 Post by pemasu »

Okay...I got curios. I managed to get Qupzilla to play webm. But...I had to use my Polarpup gstreamer-phonon-clementine pets and whole a lot stuff from squeeze repo to succeed. I got also Clementine working. It is playing in the background.

I checked this webm video with Qupzilla. http://www.youtube.com/watch?v=MlqLU_tY ... =1&html5=1
Nice video. And I didnt have flash installed.

And...you need phonon-gsteamer enabled Qt-4.8.0 pet for this:
http://smokey01.com/pemasu/QT-4.8.0-dpu ... t-dpup.pet

I am sorry Gnuxo. That I told you wont need gstreamer support. I didnt thought about webm support when I posted that. Sorry.

So....it is possible...but to do that with squeeze packages....well....you really would need to know what you will need for gstreamer plugins and gstreamer libs and for those numerous other audio - video support libs which are needed for gstreaming. There is a lot of them. I suppose I am not gonna do that exercise. I had to install several pets and then again overinstall dpup stuff again due to lucid libs failures and at last I got working combination. Not for uploading....this experiment.

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

#459 Post by Gnuxo »

Thanks, I'll delete the save file and start over.

I really think that someone should write a apt-get autoremove like feature for ppm.

...Anyway, I tried installing razorqt from your smokey's repos but they didn't work on dpup. :(

How lightweight is razorqt? And is it a good option over e17? Because I've found the E17 on dpup not to my liking.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#460 Post by jamesbond »

Billtoo wrote:
smokey01 wrote:billtoo what files are created so I can attempt to put them into a pet?

Is it a single file, or many and what directory/s?

Thanks
Sorry but I don't know how to make it into a pet, 01micko,shinobar,or jamesbond are the people who do know.
Nothing secret here 8)
Okay, this is the method I did to create nvidia. Not the best way around, but simplest. Requirement: you must have nvidia card.
1. Boot with pfix=ram
2. Download nvidia installer from nvidia website. Make sure you save this in a place that would be in the savefile, e.g. /root is fine.
3. Shutdown and create a pristine savefile (with the driver already in it). Nvidia driver is big, you need to create at least 512MB savefile or bigger. 1 GB is recommended.
3. Reboot, using the savefile created above, with pfix=nox
4. cd /root and install nvidia driver. Follow all the steps.
5. If reboot is required, then reboot. If not, just proceed - make sure X desktop can start using nvidia driver.
6. When everything looks all right, reboot with pfix=ram again.
7. Create a folder which will be the root of the pet (it will be the name of the pet), e.g. nvidia-195, somewhere.
8. Open the savefile which contains the installed nvidia driver. Look and copy files from the following folders to that nvidia-195 folder.
- /lib
- /usr/lib
- /usr/X11R7/lib
- /etc/X11
9. Also create a pinstall.sh script (put this inside nvidia-195) that removes nouveau.ko.
10. Run dir2pet on that nvidia-195 folder.
11. Test that pet with a pristine savefile (don't delete the savefile that has installed nvidia in it until testing is successful). If it is not successful, some of the files may be missing, so repeat from step 7 onwards.
12. Done!
This method (excluding step 9) can be used not only for nvidia but also for all packages that defy new2dir.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

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

Post Reply