Description of problem:
tps's OSD will no show when tpb is started from /etc/X11/xinit/xinitrc.d/tpb.sh
Version-Release number of selected component (if applicable):
mostly (not all users see the problem apparently)
Steps to Reproduce:
1. install tpb
2. log out of X
3. log in
4. verify that tpb is running with '$ ps aux|grep tpb'
volume and thinklight (and I guess other buttons as well) work as expected, but
there is no on screen display
workaround is to kill tpb and start it by handm or more elegantly to disable the
/etc/X11/xinit/xinitrc.d/tpb.sh script and just start it from the gnome session.
Greetings. I am taking over ownership of this package in fedora extras.
Can you see if you can still duplicate this problem?
It works fine here via the tpb.sh...
Yes, with a fully updated FC5 (did yum update before testing) the problem went away:
1) yum update
2) remove 'tpb -d' entry in System, Preferences, More Preferences, Sessions,
Startup Programs (I added that manually as a work-around)
3) re-enable /etc/X11/xinit/xinitrc.d/tpb.sh (I had disabled that to make the
gnome-session work around work)
4) log out on X
5) log back in
6) verify that tpb works
8) verify that it also works after a reboot (just to be on the safe side as i
also updated glibc in this yum update round)
So problem is solved either by one of the updates since 2006-03-24 or it is a
race condition and it is gone because of something else.
You can close this unless you want to go the clean way and aqctually replace
/etc/X11/xinit/xinitrc.d/tpb.sh with something that gets added to the Gnome and
forgot to add the current versions used:
the only thing that changed between the orif=ginal report and now is tpb, but
the changelog only lists a font change.
So we may actually be looking at some race. c.f. also the fact that I reported
this as not always reproducible.
So, suggestion remains to move the start script to the gnome session and KDE
session, just like we do for bluz-pin, gnome-power-manager, nm-applet etc
Well, I am reluctant to move it to the /etc/xdg/autostart/ dir because many
folks on laptops tend to use alternative desktops. For example, I use Xfce and
know many fluxbox/windowmaker/etc users.
This way things work for them as well...
I will close this bug now, but feel free to re-open or open a new one if you
spot anything further with it.
I'm finding on my fully updated FC5 that the OSD generally does not start on login.
I am using tpb "out of the box", so I guess it starts from xinitrc.d. This is
T41, if it matters. My versions of tpb and osd are as in Comment #3.
ok. I am re-opening this bug, per comment #5 it still seems to occur.
My understanding of the current problem is:
- tpb does in fact start from xinitrc.d on login.
- It doesn't display any osd messages
- killing the tpb process and re-starting it causes it to work.
Some more questions for Matthew:
- Is my understanding above correct?
- Does tpb seem to be working, just not displaying OSD messages? Or pressing
buttons doesn't have any effect at all, as if tpb wasn't running?
(In reply to comment #6)
> Some more questions for Matthew:
> - Is my understanding above correct?
Yes. Additionally, disabling in xinitrc.d and starting from Preferences ->
Sessions -> Startup in GNOME also works.
> - Does tpb seem to be working, just not displaying OSD messages? Or pressing
> buttons doesn't have any effect at all, as if tpb wasn't running?
Most buttons seem to work whether tpb is running or not. The screen brightens
and darkens, the thinklight turns on and off, the aux output toggles (my
xorg.conf has Option "BIOSHotKeys" "on" for the ATI M7 graphics card), and Fn-F4
suspends. But there are no OSDs if tpb is not running or if it is started from
xinitrc.d. Fn-F3 seems inactive either way. Haven't tried Fn-F12.
Sorry it's taken so long to get back to you on this.
Can you do a fresh login with tpb in xinitrc.d (the state when tpb is running,
but not working) and then do:
strace -f -o /tmp/trace.out -p <pid of tpb here>
You may need to install the strace package.
Then, try various buttons that should show OSD, and send me (either in private
email or attached to this bug) the /tmp/trace.out thats generated.
(In reply to comment #8)
> Can you do a fresh login with tpb in xinitrc.d (the state when tpb is running,
> but not working) and then do:
> strace -f -o /tmp/trace.out -p <pid of tpb here>
> You may need to install the strace package.
> Then, try various buttons that should show OSD, and send me (either in private
> email or attached to this bug) the /tmp/trace.out thats generated.
I'd love to, but I upgraded that machine to FC6 and I can no longer reproduce
the problem. The upgrade is a default install, so tpb is started from
xinitrc.d/tpb.sh and not from my GNOME startup.
Must have been some change in xorg?
> Must have been some change in xorg?
It's possible I suppose.
I guess if we can't investigate further, I will go ahead and close this bug
If someone is still seeing this issue on fc5, please re-open or file a new bug
and we can investigate further.