Tweedledum
Posts: 6
Joined: Thu Aug 16, 2012 2:02 pm

Arch Linux "failed to add service - already in use?"

Tue Aug 21, 2012 11:44 am

Hi,
I've been working on getting DirectFB to work on the Pi for a couple of weeks. It works fine in software rendering, although it's slow, but when I try to enable EGL I get the message

Code: Select all

[big number]: * failed to add service - already in use?
I get the same error message when I try to run the samples in '/opt/vc/src/hello_pi'. They all compile fine but none of them will run, all giving the error message above.

I've seen another post about a similar problem on Raspbian, but that was fixed with an OS update, unfortunately updating Arch has had no effect.

If anyone has any ideas I would appreciate it!

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5502
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Arch Linux "failed to add service - already in use?"

Tue Aug 21, 2012 12:05 pm

What memory split are you running with? openGL requires the 128 or 192 splits.

Tweedledum
Posts: 6
Joined: Thu Aug 16, 2012 2:02 pm

Re: Arch Linux "failed to add service - already in use?"

Tue Aug 21, 2012 12:17 pm

Brilliant! Thanks! I was using a smaller split, changed it and the error has gone!

pingaaas
Posts: 14
Joined: Sat Oct 17, 2015 8:08 pm

Re: Arch Linux "failed to add service - already in use?"

Sun Jan 31, 2016 6:21 pm

How can I change the memory splits?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5502
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Arch Linux "failed to add service - already in use?"

Sun Jan 31, 2016 6:40 pm

pingaaas wrote:How can I change the memory splits?
Try gpu_mem=128 in config.txt (on boot partition).
If using raspbian you can run raspi-config.

pingaaas
Posts: 14
Joined: Sat Oct 17, 2015 8:08 pm

Re: Arch Linux "failed to add service - already in use?"

Sun Jan 31, 2016 6:59 pm

dom wrote:
pingaaas wrote:How can I change the memory splits?
Try gpu_mem=128 in config.txt (on boot partition).
If using raspbian you can run raspi-config.
Thanks! I have tried that. I am using buildroot. If I try any gpu_mem value different from 16, that raspberry pi does not boot. Do you know why this happens?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5502
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Arch Linux "failed to add service - already in use?"

Sun Jan 31, 2016 8:42 pm

pingaaas wrote:Thanks! I have tried that. I am using buildroot. If I try any gpu_mem value different from 16, that raspberry pi does not boot. Do you know why this happens?
gpu_mem=16 ises start_cd.elf/fixup_cd.dat. Higher values will use start.elf/fixup.dat.

Make sure start.elf/fixup.dat are present and correct.

pingaaas
Posts: 14
Joined: Sat Oct 17, 2015 8:08 pm

Re: Arch Linux "failed to add service - already in use?"

Sun Jan 31, 2016 8:55 pm

That did it! Thank you so much!

juanluiscarpinteiro
Posts: 1
Joined: Mon Oct 24, 2016 8:40 pm

Re: Arch Linux "failed to add service - already in use?"

Thu Oct 27, 2016 3:06 am

dom wrote:What memory split are you running with? openGL requires the 128 or 192 splits.
I tried both and i still cant run emulationstation. funny thing is i can run it through putty in my computer but not through the pi itself

Return to “OpenGLES”