deb2pet & rpm2pet

Miscellaneous tools
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post by MU »

John,
please attach /var/log/Xorg.0.log.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
puppyiso
Posts: 594
Joined: Tue 13 Jan 2009, 02:27

Here it is

#17 Post by puppyiso »

Last night, after playing with Tinycore Linux, I decided to check Xorg-full-driver, which was already installed. Once I removed, none of wine related windows apps worked.

I redownloaded and reinstalled along with Xorg add on OpenGL driver.

Still, no 3D apps working except 2D after reinstation.

3DS Max once showed splash screen but soon disappeared.(that was long ago not yesterday)

What got me down was those pet files made from deb2pet conversion didn't run after installation.

They are linux files!... Not Windows tribes...

I just check window installed max and wings don't work but K3D starts.

Unfortunately viewport is messed up.

I do believe all this is because of Xorg matter.

I am uploading the Xorg 0.log file for you to see.

Please take a look.

As someone said, it might be a hardware problem but the very same hardware runs all versions of 3DSMax. It could be anything, Kernel, Hardware, Xorg...

The prime suspect is Xorg. This board doesn't allow log file uploading so I pupzipped. please unzip.

Thank you for your concern, MU.

John
Attachments
K3D graphics problem.png
(63 KiB) Downloaded 964 times
Xorg 0 log.tar.gz
(7.56 KiB) Downloaded 876 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

you have a nVidia Corporation NV11 [GeForce2 MX/MX 400] rev 178.

Your Kernel is the older one: 2.6.21.7.


Solution 1 (maybe)
Xorg has no 3D drivers for Nvidia cards, so you need a propriatary driver.
The one for your card is version 96.43.xx.

NVIDIA-964301-k2.6.21.7.pet
http://download.tuxfamily.org/nop/

Details:
http://www.murga-linux.com/puppy/viewtopic.php?t=22272

But it was made for Puppy 3, and the "retro" kernel in Puppy 4 is slightly different, despite the same version number.
So I don't know, if it works.

You also could use the original installer from Nvidia, that would compile the kernelmodule for you.
Therefore, you would need the devx addon and the kernelsource addon.


Solution 2
If it does not work, you should use a Puppy with the new Kernel.
You find the matching Nvidia driver here:
http://www.murga-linux.com/puppy/viewtopic.php?t=34001


Solution 3
Alternatively, try out Newyearspup02rc7, MIDI or MAXI.
It is a 400 MB download, and includes a optimized Wine 1.1.14 with OpenGL.
I used it to play the game "Riddick".
The 96 Nvidia driver is included here already.
http://www.murga-linux.com/puppy/viewtopic.php?t=37960

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
puppyiso
Posts: 594
Joined: Tue 13 Jan 2009, 02:27

#19 Post by puppyiso »

Like you said, Solution 1 didn't work. I installed but I got black screen of death when refiguraing xorgwizard.after reboot.

Just black screen with nothing going on

I had hard time to bring Puppy back to life with xorg. so I ended up with xvesa setup.

It is not the same puppy I played with. A ghost in the shell. Jump started from old back up on CD.

Still somewhat shaken.Not exactly the same.

I will go to solution 2 tomorrow. I am a little bit tired

Seems like I need a new puppy to try. I will back up my somewhat shaken puppy files.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#20 Post by dejan555 »

While I was making this script I was thinking of making it even simplier, by that I mean not calling the dir2pet script, just tar and tgz2pet, but from my experience packages created that way doesn't uninstall from petget (even with the .pet.specs included) , and my intention was to do exactly that. Installing deb is not hard anyway, just click on archive and extract to / but how do you uninstall it then but manually removing files? And dir2pet can be confusing for less advanced users. I'm recieving PM's like "What are dependencies? How do you know what to enter?..." You don't have to know people, just type enter until dir2pet exits if you don't know what to write... Also if you want to convert games, their executables are usually stored in /usr/games which is not in puppy's executable path, so you can't start them from menu entry created from debian's desktop files. Either modify the desktop file or navigate to /usr/games and drag executables to desktop, or link them to /usr/bin/
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#21 Post by dejan555 »

Or that was just the case with some which I made that way? I tried it now and it worked. Anyway, here's what I thought:

Code: Select all

#!/bin/sh
DEB=`Xdialog --title "Select file" --wrap --fselect *.deb 0 0 2>&1`
if [ -e "$DEB" ]; then
for i in "$DEB"
do
FOLDR=$(echo $i|sed 's/\.deb$//')
done
mkdir "$FOLDR"
cp "$DEB" "$FOLDR"
cd "$FOLDR"
DEB=`ls | grep ".deb"`
undeb "$DEB"
rm "$DEB"
FOLDR=`basename $(echo "$FOLDR")`
echo "PETMENUDESCR=''" > "$FOLDR.pet.specs"
echo "PETOFFICIALDEPS=''" >> "$FOLDR.pet.specs"
echo "PETREGISTER='yes'" >> "$FOLDR.pet.specs"
cd ..
tar -cf "$FOLDR.tar" "$FOLDR"
gzip "$FOLDR.tar"
tgz2pet "$FOLDR.tar.gz"
rm -R -f "$FOLDR"
rox
fi
Please test this one! See main post for attached pet
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#22 Post by technosaurus »

I try to stay up to date with the latest wine and winetricks here:
http://www.murga-linux.com/puppy/viewtopic.php?t=37783

Latest is 1.1.17 and the winetricks at its release

always compiled with jack, esd, ldap, GLU, GL support including OpenGL & directX9 functionality

I've never had much success with compiling video drivers as it is and don't have an nvidia card so you are on your own with that side. If someone knows of a tutorial/how-to specifically for compiling video drivers though - point me that way, I would love to be able to compile the latest Geode driver.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
puppyiso
Posts: 594
Joined: Tue 13 Jan 2009, 02:27

Thanks

#23 Post by puppyiso »

I thank MU, technosaurus and ttuuxxx for the help.

I got frustrated for not being able to run 3D apps. The problem remains unsolved but I did get some advice and concern.

Thank you people!

I know there are some cop outs such as using ArtistX, Musix, Studio One even classic Dream Linux, Ubuntu Studio etc..

I just wanted to do it all in Puppy as a one stop workstation. I do not know how I can fulfill my dream of Pup 3D

But whatever I do, my Puppy will stay in my hard drive forever.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Re: ...

#24 Post by ttuuxxx »

puppyiso wrote:
Seemingly simple task like a plain vanilla barebone Puppy JUST with wine to work with 3DSMax v7 and Photoshop 7(Photoshop works now) isn't getting any real help.
.
techo has 3d/opengl enabled on his versions, but you need to have either opengl or mesa installed to use it, also the same with that other graphic program you mentioned, wings I thing, thats opengl also.
http://www.murga-linux.com/puppy/viewto ... 525#287525
ttuuxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#25 Post by technosaurus »

it appears we have hijacked this thread - but going with the flow

3d support - install
http://distro.ibiblio.org/pub/linux/dis ... ri-7.3.pet

run the xorg wizard

test by running glxgears (I'm pretty sure it is included in that package as well)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

alex12
Posts: 82
Joined: Fri 30 Jan 2009, 03:33

#26 Post by alex12 »

Debian archives on Puppy linux. Now theres no need for my Ubuntu install except for playing Hedgewars. Thanks for this awesome software.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#27 Post by dejan555 »

OK folks, now we have version with right click on deb file in rox,
couldn't make it more simple :D (see main post)

BUT, noticed one problem, never thought of testing these scripts with folders that contain spaces in filename/path, so there's a problem if your deb is placed in such folder, if anyone finds a way to fix this, please post it here.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#28 Post by technosaurus »

there is a file in /usr/sbin that will convert spaces to underscores called spacereplace if you need a reference
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#29 Post by dejan555 »

Since we have unrpm too, why not script for converting rpms as well?
It's pretty much the same as for deb, works on right click on rpm.
Existing rpm is erased after conversion.
Posted package with deb2pet and rpm2pet on main post,
should work if you place your deb and rpm in folder/path that doesn't contain spaces in name.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#30 Post by dejan555 »

Hey, I think someone downloaded this version b4 I reuploaded it, there was an error in package, didn't place rpm2pet in /usr/local/bin, but did create shortcut, sorry about that, it's fixed now!
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#31 Post by amigo »

To handle spaces in path or file names, you need to double quote the places where you are handling the paths in your scripts. You can create a couple of test paths to check the functionality. I recently added support for spaces in paths in my src2pkg program. It was a nightmare since src2pkg is around 10,000 lines of bash script with path-handling every 5-10 lines! The moral is -get that working before you add too much code -I nearly went nuts finding all the places I needed to change the code...

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#32 Post by dejan555 »

Can you see any place in my script I didn't double quote?
Cause I don't, it stays as it is if someone with more knowledge doesn't change it, I'm not making any changes from now on...
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#33 Post by dejan555 »

maybe using bash instead of sh for interpreter? It worked for my madplay dialog? Didn't want to play songs that had spaces even when double qouted, but when I change to bash it works?
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#34 Post by dejan555 »

nope, doesn't work. :(
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#35 Post by dejan555 »

Yaaayyy! I found it!
The problem was in basename command, replaced

Code: Select all

FOLDR=`basename $(echo "$FOLDR")` 
with

Code: Select all

FOLDR=`basename "$FOLDR"` 
and now everything works OK! That's all from me guys, I'm satisfied with this now! :D

Package reuploaded.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Post Reply