Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439120 - sys-apps/tuxonice-userui-1.1 - tuxoniceui_fbsplash and tuxoniceui_text gone / do not function properly
Summary: sys-apps/tuxonice-userui-1.1 - tuxoniceui_fbsplash and tuxoniceui_text gone /...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-21 03:51 UTC by Robert Cabrera
Modified: 2012-10-28 12:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Working 1.1 ebuild with makefile fix. (tuxonice-userui-1.1.ebuild,1.52 KB, text/plain)
2012-10-28 02:10 UTC, Sergey Fionov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cabrera 2012-10-21 03:51:28 UTC
I updated my system this afternoon. One of the packages in the cue was sys-apps/tuxonice-userui-1.1. After the update the frame-buffer splash no longer works at either shutdown or resume.

The system will hybernate and resume as expected, however there is no longer any splash screen nor verbose text indicating progress.

I noticed that after this update /sbin/tuxoniceui_text or /sbin/tuxonice_fbsplash are non-existent. Only /sbin/tuxoniceui is installed.

If this is correct, how then does one invoke either TOI text mode or splash in order to monitor progress? TIA

Reproducible: Always

Steps to Reproduce:
1. emerge -uND tuxonice-userui
2.
3.
Actual Results:  
package emerged as expected, but no longer functions as expected.
Comment 1 Pacho Ramos gentoo-dev 2012-10-21 09:43:35 UTC
tuxoniceui --help shows how to invoke them
Comment 2 Robert Cabrera 2012-10-21 16:14:29 UTC
(In reply to comment #1)
> tuxoniceui --help shows how to invoke them

Pacho, unfortunately this is the only output from 'tuxoniceui --help'

"Usage: /sbin/tuxoniceui [options]

  -t, --test
     Specifying -t once will give an demo of this module.
     Specifying -t twice will make the demo run as fast as it can.
     (useful for performance testing).
  -f
     Use fbsplash interface by default.

TuxOnIce UserUI version 1.1 (modules:text )"

However, when I invoke 'tuxoniceui -f' the beautiful fbsplash I've used for a couple of years no longer works. All I get is a black screen with no verbose text or output indicating progress.

Even worse, the help and setup info in '/usr/share/doc/tuxonice-userui-1.1/' is little changed from the previous version, so is of no help in resolving this.

As mentioned in my original post, it does hibernate and resume as expected, but without said visual output. The result is similar to the standard S2 suspend on an unpatched kernel. This is unacceptable!

I go out of my way to run TOI patched kernels just to have the fbsplash on my laptop. Without this functionality I might as well run a vanilla kernel.

Previously, all one had to do with either pm-utils or laptop-mode-tools installed, is compile the patched kernel with the needed options and location of the TOI executable. Previously it was '/sbin/tuxoniceui_fbsplash' and echo into '/sys/power/tuxonice/user_interface/program' "/sbin/tuxoniceui_fbsplash".

I've tried recompiling my kernel with '/sbin/tuxoniceui' and '/sbin/tuxonice -f' as well as trying both lines in '/sys/power/tuxonice/user_interface/program' but without success.

Obviously, something in this new version is breaking compatibility with my existing fbsplash or with current userspace tools.

Regardless, this issue needs resolution. Either the userspace tools need updating to use this version, or this application needs modification to revert to the old expected behavior.

BTW I'm running this on an ~amd64 laptop.

TIA for your help.
Comment 3 Robert Cabrera 2012-10-21 23:07:40 UTC
I added this thread in the forums looking for additional help.

http://forums.gentoo.org/viewtopic-t-940298.html
Comment 4 Pacho Ramos gentoo-dev 2012-10-22 06:23:27 UTC
Please report this to upstream at:
http://lists.tuxonice.net/pipermail/tuxonice-devel/

since I think we are properly installing it... :/
Comment 5 MZ 2012-10-22 16:02:47 UTC
same problem. 
i use only text progress bar.
downgrade to tuxonice-userui-1.0 helps me.
Comment 6 Sergey Fionov 2012-10-28 02:07:40 UTC
(In reply to comment #4)
> Please report this to upstream at:
> http://lists.tuxonice.net/pipermail/tuxonice-devel/
> 
> since I think we are properly installing it... :/

ChangeLog says that we should use make USE_FBSPLASH=1 now instead of "make all fbsplash". Resulting binary is linked incorrectly (tuxonice -h doesn't show fbsplash in module list).

Also users must replace tuxoniceui_fbsplash to "/sbin/tuxoniceui -f" in kernel config.
Comment 7 Sergey Fionov 2012-10-28 02:10:27 UTC
Created attachment 327556 [details]
Working 1.1 ebuild with makefile fix.
Comment 8 Pacho Ramos gentoo-dev 2012-10-28 08:28:57 UTC
+*tuxonice-userui-1.1-r1 (28 Oct 2012)
+
+  28 Oct 2012; Pacho Ramos <pacho@gentoo.org> +tuxonice-userui-1.1-r1.ebuild,
+  -tuxonice-userui-1.1.ebuild:
+  Compile fbsplash support properly and add migration information for people
+  upgrading from 1.0, bug #439120 by Sergey Fionov.
+


Thanks a lot
Comment 9 Pacho Ramos gentoo-dev 2012-10-28 08:29:30 UTC
Also thanks to the rest of the people, for some reason I forgot there were more different people involved here :S
Comment 10 Robert Cabrera 2012-10-28 12:02:44 UTC
I would like to add my thanks as well!!!

I updated my laptop with this fix this morning and it works brilliantly. I now have my hibernation splash back. Outstanding.
Comment 11 Robert Cabrera 2012-10-28 12:11:42 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > Please report this to upstream at:
> > http://lists.tuxonice.net/pipermail/tuxonice-devel/
> > 
> > since I think we are properly installing it... :/
> 
> ChangeLog says that we should use make USE_FBSPLASH=1 now instead of "make
> all fbsplash". Resulting binary is linked incorrectly (tuxonice -h doesn't
> show fbsplash in module list).
> 
> Also users must replace tuxoniceui_fbsplash to "/sbin/tuxoniceui -f" in
> kernel config.

Thanks again.

Perhaps we should clarify to users who may read this thread later, that BOTH the kernel config AND the text in '/sys/power/tuxonice/user_interface/program' need to change FROM "/sbin/tuxoniceui_fbsplash" TO "/sbin/tuxoniceui -f" for the hibernation and resume fbsplash to function properly.
Comment 12 Pacho Ramos gentoo-dev 2012-10-28 12:35:03 UTC
+  28 Oct 2012; Pacho Ramos <pacho@gentoo.org> tuxonice-userui-1.1-r1.ebuild:
+  Rephrase elog information to be a bit more general (#439120#c11 by Robert
+  Cabrera.
+