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 Fri 21 Nov 2014, 23:29
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Lighthouse 64 development
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Mon 02 May 2011, 17:10    Post_subject:  Lighthouse 64 development
Sub_title: Fatdog 64 based derivative--work-in-progress
 



Update: New thread at Lighthouse 64 5.11 Alpha release

Welcome!
This topic, suggested by gcmartin, is for discussion related to future Lighthouse development. I would like to express my appreciation to kirk and jamesbond for bringing 64-bit Linux to the Puppy community. They have brightened my outlook for the future of Puppy and Lighthouse in a landscape where software utilizing the benefits of x86-64 is growing.

I've followed the Fatdog forum threads and web site, compiled some apps with the fd64-devx_511.sfs and assembled an experimental build of Lighthouse 64-511. It has updates to LXPanel 0.5.3 and ROX 2.10, jemimah's Frisbee Network Manager, PPM with slackware64 repos, wine-1.3.18-x86_64 and support for up to 40 SFS. I'm striving to follow the prudent Fatdog net-secure approach where Internet connected apps run as a non-privileged user by default.

theWord and Winamp 5.61 are working in Wine, however in Winamp the track info display in the main panel doesn't update properly and the Media Library fails to load. Had the same problems with Winamp in LHP 5.03.

[Edit: SOLVED Very Happy rcrsn51 found by starting cupsd with 'start32 /usr/sbin/cupsd' in /etc/init.d/cups, 32-bit printer drivers can be used.] So far my printer, Canon MP560 is detected by CUPS but won't print. I couldn't find any 64-bit drivers for it, and compiling from Canon's source fails with missing libcnbpcmcm360. I'm going to try updating to cups-1.4.6-x86_64 from Slackware64 current. Or maybe there's a way to get 32-bit CUPS working with jamesbond's start32 wrapper and dependencies in /lib32?

Screen grabs are attached below. Here is some terminal output after booting the system:
Code:
<root> ~
bash-4.1# cat /initrd/tmp/bootinit.log
Booting Lighthouse64 511.10
pmedia=atahd pdev1=sda8 psubdir=lhp511 loglevel=3 xforcevesa nomodeset
video=800x600 nmi_watchdog=0 resume=/dev/sda6 vga=788 pfix=fsck,fbcon

Frame buffer console modules (fbcon) loaded.
Loading drivers needed to access disk drives...
Waiting for usb partitions...
Locating main file and session files...
Performing filesystem check on /dev/sda8...
Finding L64-511.sfs and L64save files...
Loading main file and session file...

Loading savefile /lhp511/L64save-511.4fs (sda8)...
Performing filesystem check on savefile /dev/loop1...
Size=124.0MiB, 49% free

Found swap, loading main file L64-511.sfs (sda8) fast media
Min RAM to copy: 271M free: 3708M... copying main file to RAM

Loading /lhp511/zWine-1.3.18-x86-64_511.sfs at /pup_ro3...
Min RAM to copy: 77M free: 3514M... copying to RAM.

Setting up the layered filesystem...
Layering with aufs up to 40 SFS files...
1 Devx-L64_511.sfs min to copy: 756M free: 3458M... copying to RAM.
2 vlc-1.1.7-amd64.sfs min to copy: 100M free: 3098M... copying to RAM.
Checking for preconfig files in /mnt/dev_save/lhp511/precfg...

Preparing for a 'switch_root' to the layered filesystem...

<root> ~
bash-4.1# hardinfo -r
...
Memory      : 3797MB (164MB used)
...
Operating System
----------------
-Version-
Kernel      : Linux 2.6.35.7 (x86_64)
Compiled      : #1 SMP Tue Nov 9 00:23:48 GMT+5 2010
C Library      : GNU C Library version 2.11.1 (stable)
...
bash-4.1# report-video-glx -cl
Mon 25 Apr 2011  Operating System: Lighthouse64-511  Linux 2.6.35.7
 5.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics 
 oem: ATI ATOMBIOS  product: RS780 01.00 

X Server: Xorg   Driver: radeonhd
X.Org version: 1.9.0
  dimensions:    1280x1024 pixels (338x270 millimeters)
  depth of root window:    24 planes

direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RS780 9610) 20090101  TCL
OpenGL version string: 2.0 Mesa 7.8.2

AMD Athlon(tm) 7750 Dual-Core Processor
 Core 0: 1350  1: 1350  MHz
-TazOC
Openbox.jpg
Description 
jpg

 Download 
Filename  Openbox.jpg 
Filesize  200.74 KB 
Downloaded  581 Time(s) 
Wine.jpg
Description 
jpg

 Download 
Filename  Wine.jpg 
Filesize  297.06 KB 
Downloaded  477 Time(s) 
theWord_in_Wine.jpg
Description 
jpg

 Download 
Filename  theWord_in_Wine.jpg 
Filesize  370.01 KB 
Downloaded  567 Time(s) 

_________________
lhpup.org Lighthouse 64 6.02

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
Q5sys


Joined: 11 Dec 2008
Posts: 1073

PostPosted: Mon 02 May 2011, 20:35    Post_subject:  

What is the current status of 32 bit support in LHP64? Some 64 bit systems have 32bit compatibility... is this going to be one of those or are we going to be restricted to only 64bit bins we compile or are precompiled 64bit bins
_________________



Back to top
View user's profile Send_private_message Visit_website 
l2ulinux


Joined: 25 Jan 2011
Posts: 148
Location: Blountstown, Fl.

PostPosted: Mon 02 May 2011, 22:04    Post_subject: Lighthouse 64
Sub_title: FatDog 64
 

I hope this works better than FatDog 64 does. Very few .pets work with it. I know you have build Puppys in the past and please keep up the good work.

Thanks for all your hard work.
Back to top
View user's profile Send_private_message 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Tue 03 May 2011, 14:47    Post_subject: 32-bit support?  

Q5sys wrote:
What is the current status of 32 bit support in LHP64? Some 64 bit systems have 32bit compatibility... is this going to be one of those or are we going to be restricted to only 64bit bins we compile or are precompiled 64bit bins
Good question. The zWine file in L64 has some 32-bit libs in /lib32, updated with core LHP 5.03 libs and jamesbond's start32 32-bit compatibility wrapper script:
Code:
#!/bin/sh
# 32-bit compatibility wrapper script
# (C) 2010 jamesbond
#110427 TazOC L64 tweaks

export LD_LIBRARY_PATH=/lib32
export PATH="/lib32:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin"
export LANG=C
export PANGO_RC_FILE='/lib32/pango/pangorc'
export GTK_PATH=/lib32/gtk-2.0
export GDK_PIXBUF_MODULE_FILE=/lib32/gtk-2.0/gdk-pixbuf.loaders
export GTK_IM_MODULE_FILE=/lib32/gtk-2.0/gtk.immodules

bash -c "${*}"
This is needed for Wine as it is not entirely 64-bit. If it were it could not run common 32-bit Windows programs. For example, to run 64-bit glxgears, in a terminal:
Code:
<root> ~
bash-4.1# glxgears
IRQ's not enabled, falling back to busy waits: 2 0
8026 frames in 5.0 seconds = 1605.110 FPS
8885 frames in 5.0 seconds = 1776.948 FPS
9852 frames in 5.0 seconds = 1970.207 FPS
9844 frames in 5.0 seconds = 1968.669 FPS
9828 frames in 5.0 seconds = 1965.542 FPS
^C
To run 32-bit glxgears:
Code:
<root> ~
bash-4.1# start32 glxgears
Executing in 32-bit env: 'glxgears'
7881 frames in 5.0 seconds = 1574.071 FPS
7860 frames in 5.0 seconds = 1571.889 FPS
7880 frames in 5.0 seconds = 1572.863 FPS
7900 frames in 5.0 seconds = 1579.112 FPS
7893 frames in 5.0 seconds = 1576.081 FPS
^C
I don't know how to compile 32-bit packages in Fatdog 64 or L64. I think the fd64-devx_511.sfs is 64-bit only.

Multilib Slackware for x86_64 describes how to do this in Slackware64, but all of their recent 32-bit binaries were compiled multilib-ready for easy conversion to multilib. I don't know if this technique could be applied to L64, but it would likely mean starting over, basically, and building a devx (gcc compiler suite) that is multilib capable for compiling 32-bit and 64-bit binaries. It could result in a devx and ISO that is nearly twice the size for full compatibility with 32-bit binaries. This also might negate some of the performance gains of a pure 64-bit build.
l2ulinux wrote:
I hope this works better than FatDog 64 does. Very few .pets work with it. I know you have build Puppys in the past and please keep up the good work.

Thanks for all your hard work.
You're welcome. The Fatdog website clearly states:
Quote:
Fatdog is an all 64bit version of Linux built from source packages and using Puppy Linux scripts and structure.... Do not use Puppy pet packages in Fatdog, Puppy's 32bit packages won't work.
Full 32-bit compatibility is quite a hurdle, and we're all learning as we go...
-TazOC

_________________
lhpup.org Lighthouse 64 6.02

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9256
Location: Stratford, Ontario

PostPosted: Tue 03 May 2011, 15:13    Post_subject: Re: Lighthouse 64 development
Sub_title: Fatdog 64 based derivative--work-in-progress
 

tazoc wrote:
So far my printer, Canon MP560 is detected by CUPS but won't print. I couldn't find any 64-bit drivers for it, and compiling from Canon's source fails with missing libcnbpcmcm360. I'm going to try updating to cups-1.4.6-x86_64 from Slackware64 current. Or maybe there's a way to get 32-bit CUPS working with jamesbond's start32 wrapper and dependencies in /lib32?

The problem isn't with CUPS - it's with the Canon drivers. Like you, I tried to compile them from source and failed. I suspect that the Canon packages contain some proprietary code that only exists in 32-bit form.

Some drivers, like the HPIJS package, compile and work fine in Fatdog as 64-bit versions.

IIRC, I also tried to run the Canon drivers using Fatdog's 32-bit compatibility pack, but that didn't work either. I had the same problem with Brother drivers, although the Brother site claims that their 32-bit packages should be compatible with 64-bit distros.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9256
Location: Stratford, Ontario

PostPosted: Tue 03 May 2011, 16:04    Post_subject:  

64-Bit CUPS Update!

1. Working in Fatdog, install the 32-bit compatibility pack.

2. Stop CUPS with /etc/init.d/cups stop

3. Open the file /etc/init.d/cups and change Line 168:
Code:
 start32 /usr/sbin/cupsd

4. Restart CUPS.

5. Install a Canon 32-bit driver package. It works correctly.

However, old Puppy packages that auto-install the printer at /dev/usb/lp0 don't work OOTB. Delete the printer and let CUPS re-detect it.

6. Install a Brother 32-bit package. It also works correctly.

7. Install the 64-bit HPIJS package. It still works.
Back to top
View user's profile Send_private_message 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Tue 03 May 2011, 18:05    Post_subject:  

rcrsn51 wrote:
64-Bit CUPS Update!

1. Working in Fatdog, I installed the 32-bit compatibility pack.

2. I modified /etc/init.d/cups at line 168 as follows
Code:
 start32 /usr/sbin/cupsd

3. I restarted CUPS.

4. I installed a Canon 32-bit driver package. It worked correctly.

5. I installed a Brother 32-bit package. It also worked correctly.
Hi rcrsn51,
I was thinking yesterday about sending a PM to you about CUPS. Very Happy That's great news! I will try the same method here.
Regards,
TazOC

_________________
lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send_private_message Visit_website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9256
Location: Stratford, Ontario

PostPosted: Tue 03 May 2011, 18:25    Post_subject:  

I did a simulated install of your MP560 using Patriot's original 32-bit package from here and it looks good. You will have to delete the auto-installed printer and let CUPS re-detect it.

You may also need a reboot to get CUPS working correctly.
Back to top
View user's profile Send_private_message 
Q5sys


Joined: 11 Dec 2008
Posts: 1073

PostPosted: Tue 03 May 2011, 20:19    Post_subject: Re: 32-bit support?  

tazoc wrote:
I don't know how to compile 32-bit packages in Fatdog 64 or L64. I think the fd64-devx_511.sfs is 64-bit only.

Multilib Slackware for x86_64 describes how to do this in Slackware64, but all of their recent 32-bit binaries were compiled multilib-ready for easy conversion to multilib. I don't know if this technique could be applied to L64, but it would likely mean starting over, basically, and building a devx (gcc compiler suite) that is multilib capable for compiling 32-bit and 64-bit binaries. It could result in a devx and ISO that is nearly twice the size for full compatibility with 32-bit binaries. This also might negate some of the performance gains of a pure 64-bit build.
-TazOC


Ok well here is a hairbrained possibility. With LHP 5.03 you have wine as a seperate SFS that loads before the optional ones a user can choose. Could it be possible to create a lib32.sfs bundle with the necessary libs and devx stuff which could be loaded (during say the initial install) to enable 32bit compatibility? That way its a possibility for a user to go that route during install but isnt required. Or are we looking at too many potential conflicts between a 32devx sfs and a 64devx sfs?

I'm not even considering this being an option for the first release... but perhaps something as a milestone to reach before LHP64v2?

Lastly do you have an alpha for us to bugtest on?

_________________



Back to top
View user's profile Send_private_message Visit_website 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Tue 03 May 2011, 23:07    Post_subject: MP560 printer now works with the 32-bit Pet  

rcrsn51 wrote:
I did a simulated install of your MP560 using Patriot's original 32-bit package from here and it looks good. You will have to delete the auto-installed printer and let CUPS re-detect it.

You may also need a reboot to get CUPS working correctly.
Yes it worked. Smile Didn't have to reboot.
Just deleted the auto-installed printer and let CUPS re-detect it. You're a genius! Didn't work at first in my test build because my L64 /lib32 didn't have libpng12.so.0 and fd64-32bit-libs-6.sfs does, so I fixed that and now it works. Very happy!

I'm curious though, I was assuming that start32 would only work with 32-bit binaries, yet /usr/sbin/cupsd and the rest of CUPS in Fatdog are x86-64 versions. (Apparently export LD_LIBRARY_PATH=/lib32 in start32 doesn't preclude the 64-bit cupsd from using /usr/lib64.) Fascinating...
Thanks again,
TazOC

_________________
lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send_private_message Visit_website 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Tue 03 May 2011, 23:54    Post_subject: Re: 32-bit support?  

Q5sys wrote:
Could it be possible to create a lib32.sfs bundle with the necessary libs and devx stuff which could be loaded (during say the initial install) to enable 32bit compatibility? That way its a possibility for a user to go that route during install but isnt required. Or are we looking at too many potential conflicts between a 32devx sfs and a 64devx sfs?
I think a 32-bit SFS for running apps, (not compiling) as Fatdog has, with more libs from LHP 5.03 would be an option, however a 32-bit devx--for a Fatdog 64-based system... I have no idea. I don't know enough about compiling and potential conflicts to answer that.
Quote:
Lastly do you have an alpha for us to bugtest on?
I'm working toward that. Just Openbox so far. LXPanel menus and icons need some work. Did a FF4 test run last night, but haven't even started on other browsers, the apps in Mariner, proprietary display drivers, C-F, Xfce, KDE, etc.
-TazOC

_________________
lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send_private_message Visit_website 
rcrsn51


Joined: 05 Sep 2006
Posts: 9256
Location: Stratford, Ontario

PostPosted: Wed 04 May 2011, 02:22    Post_subject: Re: MP560 printer now works with the 32-bit Pet  

tazoc wrote:
I'm curious though, I was assuming that start32 would only work with 32-bit binaries, yet /usr/sbin/cupsd and the rest of CUPS in Fatdog are x86-64 versions. (Apparently export LD_LIBRARY_PATH=/lib32 in start32 doesn't preclude the 64-bit cupsd from using /usr/lib64.)

I was surprised too. It was just a fluke that I tried starting cupsd that way, and afterwards I didn't think that it made any sense. But it somehow creates the right environment for the 32-bit Canon driver components to work.

I tried it with some other 32-bit printer drivers and they all worked.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9256
Location: Stratford, Ontario

PostPosted: Wed 04 May 2011, 09:35    Post_subject:  

@tazoc: Certain legacy printer drivers will need the attached filter in order to work in FD64/LH64.

The reason that you have to delete the auto-installed printer at /dev/usb/lp0 is discussed here. It is possible to compile CUPS 1.4 so that these older packages still work.
foomatic_rip_fd64-4.0.6.pet
Description 
pet

 Download 
Filename  foomatic_rip_fd64-4.0.6.pet 
Filesize  48.47 KB 
Downloaded  339 Time(s) 
Back to top
View user's profile Send_private_message 
Roy

Joined: 31 Dec 2008
Posts: 442

PostPosted: Sat 07 May 2011, 14:54    Post_subject:  

tazoc,

Thanks for taking this on. As a current Fatdog64 user, I would like to keep an eye on your development and assist in desktop testing when possible.

Please post the location of an .iso if/when one becomes available.

-Roy
Back to top
View user's profile Send_private_message 
l2ulinux


Joined: 25 Jan 2011
Posts: 148
Location: Blountstown, Fl.

PostPosted: Thu 19 May 2011, 02:35    Post_subject: Lighthouse 64 development
Sub_title: How are things going?
 

Just wanted to drop a line and ask how the new development was coming along? Would love to try it. Thanks for all your hard work and Time.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1130s ][ Queries: 13 (0.0052s) ][ GZIP on ]