Precise Puppy RC2, October 20, 2012

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#341 Post by rerwin »

drblock2,
Rather than require a user to modify the video-driver config file, I created an automated solution for a similar issue with the 82845G/GL Brookdale graphic card in Lucid Pup. In that case only a particular subvendor-subdevice was affected. The same sort of solution would probably work for the FX5200.

The fix is to create a udev-rule for the device, using the hardware IDs for vendor, device, subvendor and subdevice. You can get that info with "lspci -vn". If you know the vendor:device ID you can use "lspci -vnd vvvv:dddd", with the correct IDs, to get the sub-IDs, although they may not be needed.

The rule would set a /tmp/flagfile to indicate that mode 0 is needed. The option statement would be replaced with an "install" statement that tests for the flagfile and loads the module with the appropriate modeset value.

I am willing to set up such a package if you can give me the hardware IDs of the graphic (VGA) card. It would be helpful if anyone with such a card would report what mode it works with. Anyone else with a card that uses the nouveau driver and sees the same problem should report that here -- with the hardware IDs -- so I can include the card in the rules file.

Thanks for reporting the problem.
Richard

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#342 Post by 01micko »

drblock2

The script I made is now in Puppy (all latest versions) by default, it's at /usr/sbin/nouveau_unload. Barry also accepted my diff to xorgwizard such that if the system detects that nouveau kernel module is loaded it offers to unload nouveau and reboot. It works very well in Slacko but I am yet to test in Precise as I have been testing radeon hardware. You can of course run the nouveau_unload script directly, also if X is not running it will offer to reboot and nouveau should be unloaded on reboot.

Another interesting thing, the Slackware crew have discovered that the nv xorg driver is back in development. The source for this could be compiled and used in Precise, I haven't checked if Precise has the current nv driver.

Strange that the nvidia-173 driver failed for you. It should have the mechanism to unload the nouveau driver built in.
Puppy Linux Blog - contact me for access

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#343 Post by OscarTalks »

Would anyone like to test the Linphone 3.5.2 which I have attempted to compile in Precise Puppy?

Latest version, video enabled, some good audio codecs, seemed OK when I gave it a brief try but could do with some more people to put it through its paces and let me know if I have muffed up anywhere.

Precise version is in Post 3 of this thread:-
http://www.murga-linux.com/puppy/viewtopic.php?t=79803
Oscar in England
Image

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

precise fails desktop on reboot

#344 Post by broomdodger »

Precise 5269 frugal
IBM ThinkPad x30

Wary5300 and Racy5300 both work fine.

Precise boots first time to desktop, video Intel driver.
Reboot, make savefile
Precise will not go to the desktop, black screen.
Tried to blindly reboot, nothing.

Power down, restart to Wary5300, delete save file, reboot to desktop.
Exit to prompt, change to xorg vesa driver.
Reboot, make new savefile, still only black desktop.
Can not blindly reboot using:
F12, uparrow, rightarrow, downarrow, enter

Bill

frozenorange
Posts: 3
Joined: Tue 28 Aug 2012, 00:25

Precise Puppy 5.2.69

#345 Post by frozenorange »

Thanks to all, Puppy worked fine, but at poweroff, the following occurs
puppypc3306 login:root (automatic login)
login[26037]: root login on 'tty1'
This also occured with an earlier puppy, is there a fix to this, as had to
shutdown with the power-off. Probably my fault, using Compaq laptop. :oops:

zygo
Posts: 243
Joined: Sat 08 Apr 2006, 20:15
Location: UK

Intel video; Abiword; usb tv; petget; usb modem.

#346 Post by zygo »

Barry,

Mostly good so far.

Intel video works straight out of the box. :D

Abiword sometimes starts with a tiny window, partially drawn paper or both.

My usb tv (7ca:a835) is detected (KERNEL-DRIVER(builtin)=(none)) but sadly needs a kernal patch.

Minor issues

A startup script I run to search for a file in the top dir of several drives thankfully no longer delays for a minute or so. The last time it was so fast was Puppy 431 I think.

Yes, fixmenus does seem slower. I run petget from a script to setup new Puppys. An option to skip fixmenus would help. That's assuming one call to fixmenus after all installs would install all new menu items. Likewise, if petget could be run without dialogue boxes (terminal only) that would speed up my configuring and testing.

The brilliant auto setup of the usb modem needs the cd to spin up even though the cd was copied to RAM at boot.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#347 Post by BarryK »

[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: network_tray

#348 Post by BarryK »

rodin.s wrote:Beta 3 works normally on my Celleron 900MHz 512RAM. I noticed one thing: network_tray is not internationalized. The pet installed from http://bkhome.org/blog/?viewDetailed=02837 works (didn't test it on beta3 yet but it worked on beta2).
Thanks, fixed. The latest is in the 'common' repo, but the build was finding an older one.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: zoneinfo

#349 Post by BarryK »

shinobar wrote:The beta3 cannot set the timezone to Asia/Tokyo because of lacking some files under /usr/share/zoneinfo, they were in the beta2.
The main difference from beta2 is that beta3 is built with Ubuntu 12.04.1 DEBs. So, something must have changed in that directory.

Can you post the names of some missing files?

A search in packages.ubuntu.com should identify what DEB they are in.
[url]https://bkhome.org/news/[/url]

tiangeng
Posts: 73
Joined: Thu 23 Jul 2009, 04:23
Location: æ²³å￾— China

HP5200 network printer not works

#350 Post by tiangeng »

Precise Puppy beta3 frugal ,HP5200 network printer not works.

but Wary530 and Racy530 both work fine.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Intel video; Abiword; usb tv; petget; usb modem.

#351 Post by L18L »

zygo wrote:... if petget could be run without dialogue boxes (terminal only) that would speed up my configuring and testing.
Why not try it?
install:

Code: Select all

DISPLAY='' && petget PETFILE
uninstall:

Code: Select all

DISPLAY='' && petget -PETFILE
:wink:
DISPLAY='' will skip the dialog.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Precise Puppy beta3, August 26, 2012

#352 Post by L18L »

Black screen again.

See shinobar´s comment http://www.murga-linux.com/puppy/viewto ... &start=103
and fix for my box
http://www.murga-linux.com/puppy/viewto ... &start=112
/sbin/pup_event_frontend.d wrote:sleep 1 #let the dust settle after X has started. 120718 reduce 2 to 1.
#w471 slow cpus need more delay (well, rox does)...
DELAYFACTOR=0
CPUMHZ=`grep -m 1 -i '^cpu MHz' /proc/cpuinfo | tr -d ' ' | cut -f 2 -d ':' | cut -f 1 -d '.'` #my laptop: 933.000
if [ $CPUMHZ ];then
[ $CPUMHZ -gt 100 ] && DELAYFACTOR=`expr 1100 \/ $CPUMHZ`
else #120718 raspi: 697.95 my laptop: 4789.47
BOGOMIPS=`grep -m 1 -i '^bogomips' /proc/cpuinfo | tr -d ' ' | cut -f 2 -d ':' | cut -f 1 -d '.'`
[ $BOGOMIPS ] && [ $BOGOMIPS -gt 200 ] && DELAYFACTOR=`expr 2100 \/ $BOGOMIPS`
fi
[ $DELAYFACTOR -gt 0 ] && sleep $DELAYFACTOR
My VIA D7 box needs 1 more second thus I am suggesting 2
changes

1

- DELAYFACTOR=`expr 1100 \/ $CPUMHZ`
+DELAYFACTOR=$((1600 / $CPUMHZ))

$((...)) is faster than expr ...
and
awk is faster than grep | tr | cut | cut

2

# time grep -m 1 -i '^bogomips' /proc/cpuinfo | tr -d ' ' | cut -f 2 -d ':' | cut -f 1 -d '.'
3030

real 0m0.051s
user 0m0.007s
sys 0m0.010s

# time awk -F: '/bogomips/{print int($2)}' /proc/cpuinfo
3030

real 0m0.027s
user 0m0.000s
sys 0m0.007s

# time grep -m 1 -i '^cpu MHz' /proc/cpuinfo | tr -d ' ' | cut -f 2 -d ':' | cut -f 1 -d '.'
1514

real 0m0.059s
user 0m0.013s
sys 0m0.007s

# time awk -F: '/cpu MHz/{print int($2)}' /proc/cpuinfo
1514

real 0m0.036s
user 0m0.007s
sys 0m0.000s

(I am learning awk :wink: )
Last edited by L18L on Tue 28 Aug 2012, 11:31, edited 1 time in total.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: zoneinfo

#353 Post by shinobar »

BarryK wrote:
shinobar wrote:The beta3 cannot set the timezone to Asia/Tokyo because of lacking some files under /usr/share/zoneinfo, they were in the beta2.
The main difference from beta2 is that beta3 is built with Ubuntu 12.04.1 DEBs. So, something must have changed in that directory.
tzdata_2012e-0ubuntu0.12.04_all.deb should have all the data.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

drblock2
Posts: 153
Joined: Mon 19 Jan 2009, 12:38

nouveau problems

#354 Post by drblock2 »

@rerwin
I hope this is the information you need:

Code: Select all

02:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV34 [GeForce FX 5200] [10de:0322] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. MS-8936 (FX5200-T128) [1462:9360]
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
	Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (32-bit, prefetchable) [size=128M]
	[virtual] Expansion ROM at ed000000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 2
	Capabilities: [44] AGP version 3.0
	Kernel modules: nouveau
@01micko
Thanks for the address! nouveau_unload does not offer its services automatically in Beta 3, but runs fine from the console. You might consider adding a line to the instructions telling the user that you must make a save file (if you don't already have one) for the script to do its job. I do think, however, that a fully automated solution such as the one rerwin suggested is better because going through this procedure is probably a bit much to ask of a new (and inexperienced) user.

nv is not listed in xorgwizard. My experience with this machine has been that it provides about the same performance as vesa.

The nvidia-173 driver did unload nouveau (or at least it said it did), but then X refused to start. In a further experiment, I loaded the nvidia-71 driver over the nvidia-173 driver. The old driver was unloaded and I was able to start X in vesa mode, but once I chose nvidia with the xorgwizard, X again refused to start. I have used these drivers (self-compiled) with a whole kennel full of puplets (Lucids, Slackos, Waries) and never had this problem before. Always worked like a charm and delivered 2400+ fps.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Precise Puppy beta3, August 26, 2012

#355 Post by L18L »

Some more sfs would be nice
Attachments
sfsget.png
(9.36 KiB) Downloaded 728 times

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#356 Post by scabz »

ok testing Beta3 now, off the top of my head i will list what i have found.
python is missing some dev files or was compiled without --enable-shared. vcdimager and cairo are also missing some dev files.

CPU Frequency Scaling Tool is not working correctly, same as OV-Percise see page 5 http://www.murga-linux.com/puppy/viewto ... 5&start=60

if anyone has installed my pets from OV-Percise thread some of them will not work in BK's Percise Beta3, some of the libs are not the same.
here is my repo for BK's Percise Beta3 and this time i686 instead of i486 http://www.mediafire.com/?mpv88jj3bp0m3, none of my compiled apps and libs are combined in sfs's or large pets i will do that soon and then post them.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

functions4puppy4 fix still incomplete

#357 Post by rerwin »

Barry,
I checked the woof-commit and found that a line that should be deleted is still there.

Code: Select all

Changes to woof-code/rootfs-skeleton/etc/rc.d/functions4puppy4

    @@ -3,17 +3,19 @@
     #w468 not using set_mixers() anymore, it's done in /etc/init.d/alsa.
     #w468 choosemousefunc() simplified.
     #101120 new firmware_tarball_func, as /sbin/pup_event_backend_modprobe rewritten.
     #110722 usb drive, LED light briefly flashes after unmounted, so wait a bit. 110828 remove.
     #120209 slight changes so that SSS mechanism can substitute translations. (see /usr/share/sss/script_strings)
    +#120828 rerwin: record firmware installed in /etc/modules/firmware.dep.inst.${KERNVER}
    +#120828 grep needs -E option, as expression is extended regular expression.
     
     #101119 called from rc.sysinit...
     #global $MODULE is name of module, global $KERNVER.
     firmware_tarball_func() {
      MODULEx="`echo -n "$MODULE" | tr '_' '-'`"
      iPATTERN='^'"${MODULE}"'$|^'"${MODULEx}"'$'
    - if [ "`grep "$iPATTERN" /etc/modules/firmware.dep.inst.${KERNVER}`" = "" ];then
    + if [ "`grep -E "${iPATTERN}" /etc/modules/firmware.dep.inst.${KERNVER}`" = "" ];then #120828 extended-reg-expr
       fPATTERN='[:,]'"${MODULE}"'\.ko|[:,]'"${MODULEx}"'\.ko'
       FIRMPKG="`cat /etc/modules/firmware.dep.${KERNVER}  | grep -v '^#' | grep ':' | grep -E "$fPATTERN" | cut -f 1 -d ':' | head -n 1`"
       if [ "$FIRMPKG" != "" ];then
        if [ -f /lib/modules/all-firmware/${FIRMPKG}.tar.gz ];then
         tar -z -x --strip=1 --directory=/ -f /lib/modules/all-firmware/${FIRMPKG}.tar.gz > /dev/null 2>&1
    @@ -30,10 +32,11 @@
          echo "$MODULE" >> /etc/modules/firmware.dep.inst.${KERNVER}       <========= please remove ======
          cd /
          /pinstall.${FIRMPKG}.sh >/dev/null 2>&1
          rm -f /pinstall.${FIRMPKG}.sh >/dev/null 2>&1
         fi
    +    echo "$FIRMPKG" >> /etc/modules/firmware.dep.inst.${KERNVER} #120828
        fi
       fi
      fi
     }
The module name should never be entered into the firmware.dep.inst file. Only the "tarball"/firmpkg name.
Richard

LateAdopter
Posts: 361
Joined: Fri 27 May 2011, 17:21
Location: Reading UK

#358 Post by LateAdopter »

Hello BarryK & 01micko

My internet has been broken since Thursday, so I haven't been able to try Precise yet.

I tried posting in the blog but I don't know the answer to the question! Sorry!

I'm no expert on this, don't take as certain, but this is my understanding.

LLVM is a software rasteriser that is superior to swrast and is used by GLX when there isn't a working 3D accelerated driver.

The current Radeon r600g has gallium 3d acceleration built in and does not need LLVM.

LLVM only gets used if KMS is disabled and the r600g is in some kind of fallback mode.

the r600g driver supports all Radeon cards from the the last few years including Evergreen and up to Northern Islands but not Southern Islands.

the r300g is similar and goes back to the 9500 series cards from 10 years ago.

I don't think you need to include LLVM as long as KMS can be enabled.

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#359 Post by scabz »

ok here are a few app i compiled in percise beta3.

clementine-1.0.1-i686 - clementine-1.0.1-i686-percise.sfs, clementine-1.0.1-i686-percise.pet includes all dependencies besides qt-4.8.2-i686.

umplayer-0.6.8-i686 - umplayer-0.6.8-i686.pet requires qt-4.8.2-i686.

smplayer-0.8.0-i686 - smplayer-0.8.0-i686.pet requires qt-4.8.2-i686.

smtube-1.1-i686 - smtube-1.1-i686.pet requires qt-4.8.2-i686.

xine-ui-0.99.6-i686 - xine-ui-0.99.6-i686-percise.sfs, xine-ui-0.99.6-i686-percise.pet includes all dependencies "xine-lib 1.2.2 is included". I could not get xine-ui 0.99.7 to compile if anyone can do it please tell me how you did it.

transmission-2.60-i686 - transmission-2.60-i686-percise.sfs, transmission-2.60-i686-percise.pet includes all dependencies.

gimp-2.8.2-i686 - gimp-2.8.2-i686-percise.sfs, gimp-2.8.2-i686-percise.pet includes all dependencies.

DEV, DOC and NLS pets are in my repo if anyone needs them. Or if you want pets without the dependencies included http://www.mediafire.com/?mpv88jj3bp0m3.

gcmartin

FirstRUN is not your current version. Probably WOOF2 error.

#360 Post by gcmartin »

Seems that during the build process, the OLD FirstRUN utility has been cobbled into the distro.

For sertting system fields and variables, the newer FirstRUN you built couple months back is much more advanced than the one that is currently in the Beta3.

Below is an example of the current one that is in Precise 5269 and the prior one which is your updated version.

Here to help
Attachments
Wrong1.png
The prior older version missing much functionality that is currently in Precise 5.2.69
(78.92 KiB) Downloaded 523 times
Missing.png
The advanced version built by Barry to set system fields
(84.93 KiB) Downloaded 563 times

Post Reply