I've installed OpenBSD 4.6 on
hw.vendor=Apple Computer, Inc.
hw.product=PowerMac3,5
hw.physmem=1073741824
hw.usermem=1073729536
The OS runs fine, however, certain X desktop environments seem to not
want to cooperate.
Of the 3, KDE seems to run the best, however, the audio is broken.
When I first login, the login wav starts playing but then after 1
second starts playing noise. It would be nice to have audio (maybe
KDE can somehow play through aucat?).
Gnome looks really great, but after a few seconds becomes unresponsive
to key clicks or keyboard typing. Only way out is ctrl-alt-backspace.
XFCE also starts up fine, but after a few second also becomes
unresponsive much like gnome and needs ctrl-alt-backspace.
Is there something wrong with these X environments on powerpc?
WindowMaker works as always, but I wanted to try out other options. :-)
Here is a dmesg:
[ using 437516 bytes of bsd ELF symbol table ]
console out [NVDA,Display-B]console in [keyboard] , using USB
using parent NVDA,Parent:: memaddr 98000000 size 8000000, : consaddr
98004000, : ioaddr 91000000, size 1000000: memtag 8000, iotag 8000:
width 640 linebytes 1024 height 480 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.6-stable (GENERIC) #0: Wed Mar 31 23:57:47 MDT 2010
root@some.domain.dom:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1032957952 (985MB)
mainbus0 at root: model PowerMac3,5
cpu0 at mainbus0: 7455 (Revision 0x201): 933 MHz: 256KB L2 cache, 2MB L3 cache
mem0 at mainbus0
spdmem0 at mem0: 256MB SDRAM non-parity PC133CL2
spdmem1 at mem0: 512MB SDRAM non-parity PC133CL2
spdmem2 at mem0: 256MB SDRAM non-parity PC133CL3
memc0 at mainbus0: uni-n
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at ...I noticed that running on a PowerBook with xdm bad things happen. I can run mine reliably when using startx. Don't know about audio though.
That sounds like the thing mentioned in the second parapgraph of /usr/X11R6/README
Yes, this is precisely what I have discovered. xdm/gdm/kdm do not work well at all, however, startx does work for most WMs except for Gnome and XFCE. KDE works but lacks functional audio. Thanks. p.s. here's another shared whiteboard (or 2): http://www.cosketch.com/ http://www.skrbl.com/
if you have a tumbler(4) device, there's patches on tech@ to test ... someone with the devices with the problems needs to do more to figure out what exactly the problem is. "lacks functional audio" is extremely vague. does audio work otherwise? for example, can you play files with aucat on the console? if so, do other players work, on the console? if so, does artsd itself work? did you check that your audio -- jakemsr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
On Sun, Apr 4, 2010 at 8:21 PM, Jacob Meuser <jakemsr@sdf.lonestar.org> Yes, this shows up in the dmesg I pasted: tumbler0 at macobio0 offset 0x10000: irq 30,1,2 . . . audio0 at tumbler0 Yes, it was a bit too vague. Audio in the general sense works fine. I can play things with xmms, aucat and other applications. I tried to run aucat -l and while artsd does use the audio server, it still does strange things. When KDE first comes up, it tries to play the startup music and about .5s of music comes out, then it switches to noise (like someone sent raw binary data to the audio device). I haven't been able to do much else in the way of testing KDE because nothing else in KDE seems to be working. If I click on the K menu, there are literally no applications (even though I have plenty of KDE installed). If I try to bring up the KDE Control Center, the application never appears. Running it from an xterm actually does run it, and I get the following output: kcontrol: WARNING: No K menu group with X-KDE-BaseGroup=settings found ! Defaulting to Settings/ Which is not surprising given that there are no menus at all with any applications to speak of. There are also no options at all in kcontrol. If I try to run kmenuedit I also get strange errors: kmenuedit: WARNING: Could not read /home/luddy/.config/menus/applications-kmenuedit.menu And there is nothing in the dialog once it starts. I searched for an appliations-kmenuedit.menu in /usr/local and couldn't find one either. Is it possible I'm missing a package: kdeaddons-3.5.10p1 K Desktop Environment, addons kdeadmin-3.5.10 K Desktop Environment, admin tools kdeartwork-3.5.10p2 K Desktop Environment, additional artwork kdebase-3.5.10p2 K Desktop Environment, basic applications kdeedu-3.5.10p0 K Desktop Environment, edutainment kdegames-3.5.10p0 K Desktop Environment, games kdegraphics-3.5.10 K Desktop Environment, graphic applications kdelibs-3.5.10p0 K Desktop Environment, ...
It would appear that I missed the following instruction from the
kdelibs package:
Install notice:
To use the KDE3 layout as default for the applications menu, as root:
ln -sf /etc/xdg/menus/kde3-applications.menu \
/etc/xdg/menus/applications.menu
So at least now KDE is working. Now I can continue trying to find out why
KDE
is producing noise for its actions (login, logout, error dialog, etc.).
On Sun, Apr 4, 2010 at 8:21 PM, Jacob Meuser <jakemsr@sdf.lonestar.org> Now that KDE is working, I can answer some of these additional questions. artsd is working. All other audio configuration appears sane. Apparently the default sounds for KDE are configured to play a .ogg file. For example, login plays KDE_Startup_3.ogg, logout plays KDE_Logout_3.ogg and an error dialog plays KDE_Glass_Break.ogg. So for some reason, KDE is unable to play these .ogg files (they come out as noise). libogg-1.1.3 Ogg bitstream library Is installed. So who knows... At any rate, I reconfigured KDE to use .wav versions of the files and now they play just fine. Thanks.
well thank you for greatly narrowing down the problem. can you play other OGG files with artsplay? hmm. arts seems to think my 44.1 kHz OGG files are 48 kHz - on i386. start artsd like so: 'artsd -l 0', then watch what it prints when you play a file with artsdplay in a different terminal. wasn't there a similar issue with OGG files with mplayer? is libogg/ libvorbis broken? -- jakemsr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
On Mon, Apr 5, 2010 at 7:24 AM, Jacob Meuser <jakemsr@sdf.lonestar.org> I've been unable to follow misc@ and ports@ for the past few weeks. So, I apologize for the proverbial dead horse (provided s/he's dead), but I will point to these threads that started a while back concerning ogg and mplayer (via devede) . . . I suspect this is what is being referred to. http://marc.info/?l=openbsd-misc&m=126123736907100&w=4 http://marc.info/?l=openbsd-ports&m=126134887617073&w=4 -Neal
On Mon, Apr 5, 2010 at 6:24 AM, Jacob Meuser <jakemsr@sdf.lonestar.org> Apparently not. I started artsd with debug options and when I try to play with artsplay I just get static noise. Here is artsd output (not sure if it will help): [artsd: 23458] SoundServerStartup <-- released lock UnixManager: got notifyIO socketconnection created, fd = 11 search playobject, extension = ogg creating xineAudioPlayObject to play file /usr/local/share/sounds/KDE_Warp.ogg job finished UnixManager: got notifyIO socketconnection created, fd = 11 search playobject, extension = ogg creating xineAudioPlayObject to play file /usr/local/share/sounds/freedesktop/stereo/battery-low.ogg job finished Each of these just produced noise. However, when I play a .wav file, I get a different output from artsd: UnixManager: got notifyIO socketconnection created, fd = 11 search playobject, extension = wav creating Arts::audiofilePlayObject to play file /usr/local/share/sounds/KDE_Window_Close.wav loading wav: /usr/local/share/sounds/KDE_Window_Close.wav frame size: 4 channels: 2 bits: 16 job finished
arts is a plugin architecture. when you have kdemultimedia installed, it'll use the xine plugin to play OGG files. the OGG plugin that comes with the arts package prints the sample rate. -- jakemsr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
most KDE apps use artsd, which can run on top of aucat. if you're running aucat server it should just work (artsd starting automagically and playing through aucat, that is). that being said, I have no idea how well the macppc i2s audio devices actually work or how well artsd (and really, KDE as a whole) works on macppc. -- jakemsr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
On Sun, 4 Apr 2010 11:45:11 -0600 I have a PowerMac4,1 and am noticing the same. If you startxfce from within fvwm2 session, it becomes immediately obvious that this is a focus issue. In gnome and xfce focus goes somewhere offscreen at the first keypress. No idea why and how to fix. -- Jure PeDar http://jure.pecar.org
