Lighthouse 64 development

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

Lighthouse 64 development

#1 Post by tazoc »

Image

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 :D 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: Select all

<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
Last edited by tazoc on Sun 12 Jun 2011, 21:44, edited 2 times in total.
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
Q5sys
Posts: 1105
Joined: Thu 11 Dec 2008, 19:49
Contact:

#2 Post by Q5sys »

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

User avatar
l2ulinux
Posts: 140
Joined: Tue 25 Jan 2011, 13:40
Location: Blountstown, Fl.

Lighthouse 64

#3 Post by l2ulinux »

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.

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

32-bit support?

#4 Post by tazoc »

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: Select all

#!/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: Select all

<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: Select all

<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:
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
Last edited by tazoc on Thu 12 May 2011, 01:18, edited 2 times in total.
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Lighthouse 64 development

#5 Post by rcrsn51 »

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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

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: Select all

 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.

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

#7 Post by tazoc »

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: Select all

 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. :D That's great news! I will try the same method here.
Regards,
TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#8 Post by rcrsn51 »

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.

User avatar
Q5sys
Posts: 1105
Joined: Thu 11 Dec 2008, 19:49
Contact:

Re: 32-bit support?

#9 Post by Q5sys »

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?

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

MP560 printer now works with the 32-bit Pet

#10 Post by tazoc »

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. :) 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
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

Re: 32-bit support?

#11 Post by tazoc »

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.
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
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: MP560 printer now works with the 32-bit Pet

#12 Post by rcrsn51 »

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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#13 Post by rcrsn51 »

@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.
Attachments
foomatic_rip_fd64-4.0.6.pet
(48.47 KiB) Downloaded 664 times

Roy
Posts: 451
Joined: Wed 31 Dec 2008, 18:31

#14 Post by Roy »

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

User avatar
l2ulinux
Posts: 140
Joined: Tue 25 Jan 2011, 13:40
Location: Blountstown, Fl.

Lighthouse 64 development

#15 Post by l2ulinux »

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.

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

Re: Lighthouse 64 development

#16 Post by tazoc »

l2ulinux wrote: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.
Hi there,
You're welcome, it's coming along. I'm aiming for an Alpha release by June 1. I've added Firefox 4.01, JWM vsvn-498, Pmusic 1.7, Retrovol 0.10, Wine-1.3.18, Nicoedit and htop. All are working well in Lighthouse 64. I also revamped the Wallpaper Setter and tweaked PPM for testing with Slackware64 and Salix repos, (thanks to 01micko.)

To answer your PM, Lighthouse 64 is based on Fatdog 64-511, however it retains the look and feel of Lighthouse and has numerous re-compiled apps, bug fixes, updated scripts, artwork and devx. It boots faster and feels snappier than LHP 5.03. Wine is based on sourceforge.net/projects/wine/files/Slackware Packages and I will try to update it to the latest, currently 1.3.20. That is an x86_64 build, but is a hybrid of both 32-bit and 64-bit binaries. I am running the latest Winamp in Wine which installs easily from their web site and the AVS visualizations even work for me in full-screen mode.

I have a long to-do list, including Psync, Startmount, Pburn, GKrellM, Opera, Chrome, CF/CD/Wbar, Xfce and KDE. Some of these probably won't make it into the first release of Lighthouse 64.
-TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
l2ulinux
Posts: 140
Joined: Tue 25 Jan 2011, 13:40
Location: Blountstown, Fl.

Lighthouse 64 development

#17 Post by l2ulinux »

I like to use FatDog to watch Internet TV now that I have learn how to use it. It works great and is fast. But I have run across a problem with the Screensaver. It will not stop working, even if turned off. I found a fix at:

Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
No Blank Screen 1.0
Attachments
NoBlankScreen-1.0.pet
(829 Bytes) Downloaded 333 times

User avatar
l2ulinux
Posts: 140
Joined: Tue 25 Jan 2011, 13:40
Location: Blountstown, Fl.

Lighthouse 64 development

#18 Post by l2ulinux »

Can you upload the wine you now have working? Could you build a Firefox web-browser for the new release? Looking forward for the new release. Keep a good out look no matter if the bug fixes come like bunches of Bananas.

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

Re: Lighthouse 64 development

#19 Post by tazoc »

l2ulinux wrote:Can you upload the wine you now have working? Could you build a Firefox web-browser for the new release?
Not currently for Wine as the scripts are modified for Lighthouse 64 and untested in Fatdog. This Wine is a bit complicated and bulky due to the inclusion of both 32-bit and 64-bit libs. Will be nice when most everything is 64-bit and we won't need backwards compatibility--at least until 128-bit arrives!

I am testing firefox-4.01-x86_64 from ftp.mozilla.org along with dbus-1.4.1-x86_64-1 from Slackware64.
-TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Looking forward to developments & re 64-Bit Browsers

#20 Post by mikeslr »

Hi Tazoc:

Keep up the great work. And thanks for the Frisbee link you provided to me on the Fatdog64 thread. I'll begin experimenting with Lighthouse 64 as soon as I can.

Hi l2ulinux:

Re 64-bit Browers. I downloaded the Opera64-bit tar.gz, unpacked it in mnt/home (which on my machine is formated Ext3) and, in Fatdog64, it ran without a hitch, including Youtube Flash Video. Did the same with Firefox's 64-bit Nightly Build. I could get it to run, but without flash. Then I made the mistake of allowing the Nightly to update. Now it won't run at all. I'll try again in a couple of days. Maybe the next build will fix whatever the last one broke. All in all, however, think positively about solutions in the near future.

mikesLr

Post Reply