Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 03:01
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Dpup Exprimo 5.X.3.4.12 with 3.4.2 kernel.
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 32 of 89 [1330 Posts]   Goto page: Previous 1, 2, 3, ..., 30, 31, 32, 33, 34, ..., 87, 88, 89 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Tue 19 Jun 2012, 07:06    Post subject: Installing NVIDIA driver  

One of the trick how to see what files are installed:
Code:
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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Tue 19 Jun 2012, 11:02; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Tue 19 Jun 2012, 07:10    Post subject:  

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/nvidia-295.59-k3.4.2-test-dpup.pet
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Tue 19 Jun 2012, 07:14    Post subject: Re: Installing NVIDIA driver  

shinobar wrote:
One of the trick how to see what files are installed:
Code:
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!

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 1792
Location: South Australia

PostPosted: Tue 19 Jun 2012, 07:34    Post subject:  

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.

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 1792
Location: South Australia

PostPosted: Tue 19 Jun 2012, 07:50    Post subject:  

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

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Tue 19 Jun 2012, 07:59    Post subject:  

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.
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 1792
Location: South Australia

PostPosted: Tue 19 Jun 2012, 08:22    Post subject:  

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

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Tue 19 Jun 2012, 09:39    Post subject:  

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.
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 1925
Location: Ontario Canada

PostPosted: Tue 19 Jun 2012, 10:26    Post subject: Dpup Exprimo 5.X.3.4.2.1 with 3.4.2 kernel.
Subject description: proprietary driver
 

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 Smile
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.
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Tue 19 Jun 2012, 11:08    Post subject: A script loading NVIDIA driver  

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

EDIT: getnvidia-0.1 is outdated. Visit:
http://www.murga-linux.com/puppy/viewtopic.php?t=72405

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Fri 22 Jun 2012, 01:56; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Tue 19 Jun 2012, 11:41    Post subject:  

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.
getnvidia-wo-nvidia-0.1.pet
Description 
pet

 Download 
Filename  getnvidia-wo-nvidia-0.1.pet 
Filesize  97.93 KB 
Downloaded  87 Time(s) 
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Tue 19 Jun 2012, 12:37    Post subject:  

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.
getnvidia-wo-nvidia-0.2.pet
Description 
pet

 Download 
Filename  getnvidia-wo-nvidia-0.2.pet 
Filesize  98.47 KB 
Downloaded  96 Time(s) 
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2445
Location: Texas, USA

PostPosted: Tue 19 Jun 2012, 12:45    Post subject: NVIDIA
Subject description: getnvidia
 

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

Cheers,
Jim
image-1.jpg
 Description   
 Filesize   40.59 KB
 Viewed   539 Time(s)

image-1.jpg

Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 1925
Location: Ontario Canada

PostPosted: Tue 19 Jun 2012, 13:20    Post subject: Re: A script loading NVIDIA driver  

shinobar wrote:
Not fully tested but welcome your report.
http://shino.pos.to/party/bridge.cgi?puppy/test/getnvidia-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.
racyscrn.jpg
 Description   
 Filesize   30.32 KB
 Viewed   498 Time(s)

racyscrn.jpg

nvidia.jpg
 Description   
 Filesize   46.43 KB
 Viewed   533 Time(s)

nvidia.jpg

Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: Tue 19 Jun 2012, 16:58    Post subject:  

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

http://murga-linux.com/puppy/viewtopic.php?p=632907#632907

________________________________________________________

With Puppy backup now installed you can get rid of Pmirror

___________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 32 of 89 [1330 Posts]   Goto page: Previous 1, 2, 3, ..., 30, 31, 32, 33, 34, ..., 87, 88, 89 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0999s ][ Queries: 12 (0.0165s) ][ GZIP on ]