[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kegs on Raspberry Pi



On Wednesday, May 8, 2013 1:23:03 AM UTC-4, oz390gta wrote:
> I am not sure if there is a more appropriate forum to ask this question but it appears that a few csa2 members are playing with Raspberry Pi's at the moment.
> 
> 
> 
> I have been trying to get kegs up and running but keep getting the follow errors at launch. The system is a new vanilla install of wheezy raspbian.
> 
> 
> 
> oz390gta
> 
> 
> 
> 
> 
> pi@raspberrypi /usr/local/lib $ kegs
> 
> Trying 'config.kegs'
> 
> Parsing config.kegs file
> 
> ...parse_option: line 11, 0x6326c,0x6326c = g_cfg_rom_path = /usr/local/lib/rom.kegs (g_cfg_rom_path = /usr/local/lib/rom.kegs) len:40
> 
> Read: 262144 bytes of ROM
> 
> Patching ROM 03 smartport bug
> 
> RAM size is 0 - 900000 (9.00MB)
> 
> Preparing X Windows graphics system
> 
> Visual 0
> 
> 	id: 00000021, screen: 0, depth: 16, class: 4
> 
> 	red: 0000f800, green: 000007e0, blue: 0000001f
> 
> 	cmap size: 64, bits_per_rgb: 8
> 
> Chose visual: 0, max_colors: -1
> 
> Will use shared memory for X
> 
> Segmentation fault
> 
> pi@raspberrypi /usr/local/lib $

It's funny, I never actually tried it in its native GUI -- I only ever remotely displayed the X window. I also can't get it to run in the GUI (at least when it's displayed via VNC).

In the GUI, I don't get a segmentation fault, but it seems to conk out at open /dev/dsp failed, followed by "parent dying, can't get sample rate from child". It can't find the sound device and gives up.

One way to fix this is to launch it with "kegs -audio 0". Or, for sound support, you can follow the instructions on the gsport development page which say to add snd-pcm-oss to /etc/modules, rebooting, and then typing sudo chmod 666 /dev/dsp.