Re: snd-aos not working on a PowerBook6,2 (PowerBook G4 12")

2008-08-18 Thread Charles Plessy
Le Tue, Aug 19, 2008 at 01:56:17AM +0200, Jérémy Bobbio a écrit :
> I can get some sounds back by doing:
>   # alsa unload ; modprobe snd-powermac
> 
> Is the issue already known?  Could anyone point me to the relevant bug
> reports in such case?

Bonjour Jérémy,

snd-powermac was making the system freeze on G5 iMacs. That's why it was
disabled around Etch release.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



snd-aos not working on a PowerBook6,2 (PowerBook G4 12")

2008-08-18 Thread Jérémy Bobbio
Hi!

(Please CC: me as I am not subscribed.)

In order to make some final tests for the Lenny debian-installer, I have
resurrected my PowerBook G4 12" from its grave (CD, keyboard and hard
disks are all more or less broken).

The sound is not working out of the box with either kernel 2.6.25
(currently in testing) or kernel 2.6.26 (currently in sid).

snd-aoa-i2sbus gets loaded automatically, but does seem to register any
sound device.  No single messages in the kernel log.

I can get some sounds back by doing:
  # alsa unload ; modprobe snd-powermac

Is the issue already known?  Could anyone point me to the relevant bug
reports in such case?

As snd-powermac seems to work fine, I think this should be fixed by
either making snd-aos works or by automatically loading snd-powermac.
Any help on achieving this would be great! :)

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Re: Poor performance of G5 on GNOME's CPU benchmarks.

2008-08-18 Thread Christian Jaeger

Charles Plessy wrote:

Le Tue, Aug 05, 2008 at 04:26:27PM +0200, Michel Dänzer a écrit :
  

On Tue, 2008-08-05 at 23:17 +0900, Charles Plessy wrote:



Another example I have is a map website by Yahoo Japan:
http://map.yahoo.co.jp/pl?type=scroll&lat=35.35961995&lon=138.73361576&sc=7&mode=map&pointer=on
With Iceweasel it is slow on G5 and fluid on Intel.
  

With the same graphics card and drivers?



Good point.

A last example to explain the feeling of slowness: aptitude. To avoid
differences in package lists, I ran `aptitude full-update' in an up to
date sid cowbuilder (yes, there can be smarter system for benchmark, but
on the other hands we can expect some kind of standardness). On a dual
2GHz G5, the command takes around 4.1 seconds to complete. On a Core2Duo
2 GHz (amd64), it takes around 1.5 seconds.
  


If you want to factorize out pure cpu/memory performance versus video 
performance, you'd have to make sure the commands you're trying don't 
trigger any screen output.


Run something like:

LOGFILE=`tempfile`; time $your_command > "$LOGFILE" 2>&1

(Or, to make sure there's no difference if one of your systems have /tmp 
on tmpfs and the other doesn't, run


time $your_command > /dev/null 2>&1

)


With my lack of technical knowledge, I am obviously going nowhere. But I
hope that I can trigger the curiosity of somebody who would eventually
find "someting missing" in the default config of powerpc machines…

Have a nice day,

  


Some ideas:

- check whether cpu frequency scaling works, i.e. you're not always 
running on a lower than maximal cpu frequency. (How?: this works on my 
x86_64 machine:


$ grep -i mhz /proc/cpuinfo

Or, better:

$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

(as root):

# cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

and to set it manually to "performance" mode:

# for f in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do 
echo performance > "$f"; done


)

- a simple cpu benchmark I'm often using for quick checks is:
(this is on a Core 2 duo at 2.5 Ghz, with perl 5.10.0-11.1 from lenny)

[EMAIL PROTECTED]:~$ time perl -we 'for(1..1000) { $z++ } print "$z\n"'
1000

real0m0.607s
user0m0.604s
sys0m0.004s
[EMAIL PROTECTED]:~$ time perl -we 'defined(fork) or die; for(1..1000) { 
$z++ } print "$z\n"; wait'

1000
1000

real0m0.766s
user0m0.768s
sys0m0.000s

[EMAIL PROTECTED]:~$ time perl -we 'defined(fork) or die; defined(fork) or die; 
for(1..1000) { $z++ } print "$z\n"; wait; wait'

1000
1000
1000
1000

real0m1.286s
user0m2.536s
sys0m0.000s

Obviously this is also a little dependent on the Perl version but that 
factor shouldn't make more than maybe 10% of a difference. And Perl 
*might* also be tuned better for x86{,_64} than ppc, of course -- but on 
G3 machines this gave very comparable numbers for me (I did not see much 
of an advantage for the x86 architecture).


Also make sure your system isn't running any background jobs, of course; 
check with top. BTW if you press "1" in top you'll see the load on each 
cpu separately.


Christian.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



hardware to give away

2008-08-18 Thread Thomas "fake" Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi debian hackers!

first off, i thank all of you for your efforts, debian and debian- 
based distributions wouldn't be as good as they are without a porting  
team as agile and eager as you guys are.


i'm writing today because i have hardware to give away. i'm moving out  
of a house and into a flat, so there is no space to keep all this  
stuff anymore. please feel free to contact me with detailed questions  
about the hardware. it is absolutely free, but given away only on 2  
conditions:


a) you have to get it yourself. i will neither ship it nor will i  
bring it to you by other means. i live in ingolstadt, bavaria, germany.
b) you are not allowed to sell it. this is the same term i agreed to  
when i got most of the hardware, it is and stays free!


here's the list:

MIPS:
6x SGI Indigo2 (mixed green and black, no R10k unfortunately, one has  
a pc-compatible serial port soldered to it)

1x SGI Challenge S
1x Cobalt CacheRaq 2
1x Cobalt Qube

SPARC:
1x UltraSPARC 30 complete with monitor, keyboard and mouse
1x SparcStation 20 complete with monitor, keyboard and mouse
1x SpacStation 5, keyboard and mouse included.

PowerPC:
1x PowerMac 7600/132
1x PowerMac 7300/166

m86k:
1x Mac Performa 630
1x Mac Quadrata 950
1x Mac IIcx

x86:
1x Compaq(!) ProLiant 3HE 2xPentium2 400 with 128 MB of ECC RAM and  
some fat raid controller (this baby really needs a new home...)


these MIPSen have been lended to me, but i have yet to hear from the  
owner, so you can queue up for access:
1x SGI Indy (with linux compatible graphics card, iirc. complete with  
camera and monitor)

1x SGI IRIS Indigo ("the coffee maker")

i can not guarantee all this stuff is working, but it should. i'm  
pretty sure one of the monitors was broken, so that info might be off  
a bit. most of the disks have been completely wiped, the machines were  
donations by companies using them beforehand, so you know why that's  
kinda obvious.


background information: i have been maintainer of the ROCK Linux MIPS  
and SPARC ports, and done some work on PowerPC, too. I guess you know  
the SGI IRIS Indigo is not supported (R3000), and that the Indigo2  
have graphics cards unsupported by linux. I have no clue about m68k.


please respond soon, i will have to get rid of this enormous amount of  
matter as of around august 25th.


be safe,

fake

P.S.: sorry for cross-posting on all the lists, i admit i'm lazy
P.P.S.: please CC me in case of on-list discussions/questions, i am  
not subscribed to any of your lists. thanks.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkioZg0ACgkQbn9Le/ypmpEx0gCfQhAqVi1qi5NP3O/V9fNLjvbV
QT8An3/Un6K7TpUYg+0RIDx+uHgdFM9o
=Waly
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



New ATI RADEON Mac Edition

2008-08-18 Thread Esteban Monge
Hello people.

I installed today a new graphic card for my PowerMac G4.

But have problems with GNU/Linux... No detects the correct Video Card.

Linux detect this model: ATI Technologies Inc Radeon R100 QD [Radeon 7200]

But this model have 64MB of video memory... my video card have only 32 and
the kcontrol detects 128mb

How i will change the model... I try dpkg-reconfigure xserver-xorg...

Thanks


#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath"/usr/share/fonts/X11/misc"
FontPath"/usr/X11R6/lib/X11/fonts/misc"
FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath"/usr/share/fonts/X11/100dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/share/fonts/X11/75dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/share/fonts/X11/Type1"
FontPath"/usr/X11R6/lib/X11/fonts/Type1"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"bitmap"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"vbe"
EndSection

Section "InputDevice"
Identifier"Generic Keyboard"
Driver"kbd"
Option"CoreKeyboard"
Option"XkbRules""xorg"
Option"XkbModel""pc105"
Option"XkbLayout""es"
Option"XkbOptions""lv3:lwin_switch"
EndSection

Section "InputDevice"
Identifier"Configured Mouse"
Driver"mouse"
Option"CorePointer"
Option"Device""/dev/input/mice"
Option"Protocol""ImPS/2"
Option"Emulate3Buttons""true"
EndSection

Section "Device"
Identifier"ATI Technologies Inc Radeon R100 QD [Radeon 7200]"
Driver"ati"
BusID"PCI:0:16:0"
VideoRam32768
Option"UseFBDev""true"
EndSection

Section "Monitor"
Identifier"CT700g"
Option"DPMS"
HorizSync30-72
VertRefresh50-160
EndSection

Section "Screen"
Identifier"Default Screen"
Device"ATI Technologies Inc Radeon R100 QD [Radeon 7200]"
Monitor"CT700g"
DefaultDepth24
SubSection "Display"
Depth1
Modes"1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth4
Modes"1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth8
Modes"1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth15
Modes"1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth16
Modes"1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth24
Modes"1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier"Default Layout"
Screen"Default Screen"
InputDevice"Generic Keyboard"
InputDevice"Configured Mouse"
EndSection

Section "DRI"
Mode0666
EndSection

-- 
http://nuevaeracr.blogspot.com
Tec. Esteban Monge Marín
Tel: (506) 8367-2009

"No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior"
José Figueres Ferrer, 1952.


Re: Poor performance of G5 on GNOME's CPU benchmarks.

2008-08-18 Thread Christian Jaeger

Christian Jaeger wrote:
[EMAIL PROTECTED]:~$ time perl -we 'defined(fork) or die; for(1..1000) { 
$z++ } print "$z\n"; wait'

1000
1000

real0m0.766s
user0m0.768s
sys0m0.000s


Sorry, this number should have been (I did forget the wait call first 
and then added it without also giving the new timing results):


[EMAIL PROTECTED]:~$ time perl -we 'defined(fork) or die; for(1..1000) { 
$z++ } print "$z\n"; wait'

1000
1000

real0m0.640s
user0m1.256s
sys0m0.008s


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]