-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbus-connection.c issue #46
Comments
@quom any thoughts? |
Hello, same problems for me, dbus & no keys recognised. Additionally, DVB recordings (Transport Streams) are unwatchable owing to random, but frequent stuttering. |
Built a new version. I've deleted the previous build. I can't test this till this evening. |
at start And still no keys. |
Hello Sergio, thank you for the update. Keyboard control now back, no console error messages, DVB Transport Streams seem to be ok on a short test, & interestingly I can now pause a http:// stream. Alexis, it seems strange you see no improvement. Can you provide any further information? pi@raspicam ~/downloads $ omxplayer -v |
Stuttering playback was caused by error messages in the main loop preventing playback, which were caused by the keyboard errors. Aiexis, it seems the launch script can't find the dbus-launch application. This is installed by default on raspbian so if you could locate it and change the command to the absolute path in the omxplayer script this should fix the problem (it's located at /usr/bin/dbus-launch on mine). |
/usr/bin/dbus-launch doesn't exist on my Raspbian. May be I have uninstalled this (don't know when, and why...) |
Does: |
No. Also tried to install qdbus and dbus-x11. |
Hmmm... now it works, even if /usr/bin/dbus-launch still doesn't exist. |
I think if X is running then the dbus session daemon will already be running, in which case the dbus-launch program is not needed. |
X is not running in my Pi. I need to install the packages dbus-x11. |
Yes it looks as though dbus-x11 is required for the dbus-launch program. |
Ok, dbus-launch came from dbus-x11 so I'll be adding it to the deps. On the other hand I'll try to make a debug build and analyze it with a profiler to have a look into the CPU usage. (don't know when, I'm kinda busy this week). |
Quom, thank you for that. It always helps to know why these things occur. "Stuttering playback was caused by error messages in the main loop preventing playback, which were caused by the keyboard errors." |
I'll also take a look at the CPU usage issue. I suspect it is due to the polling nature of the main event loop which causes it. The more conventional asynchronous approach with timeouts would probably solve this although it would require a complete rewrite of how the main loop deals with events. |
Lets discuss the CPU usage at #48 I'll be posting some info there soon. |
Hello
I get an error in loop while launching any media file
process 2705: arguments to dbus_connection_read_write_dispatch() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 3727.
This is normally a bug in some application using the D-Bus library.
(idem with line 4363)
The file is correctly played anyway, but no hot-key action is enabled.
$ omxplayer -v
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Sun, 01 Sep 2013 14:07:59 +0200
Version : 5c886fa [master]
Thank you.
The text was updated successfully, but these errors were encountered: