[Bug 827018] New: Toggling Plymouth on/off causes X to take 20% of CPU when playing videos
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c0 Summary: Toggling Plymouth on/off causes X to take 20% of CPU when playing videos Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: 64bit OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: stangoesagain@gmail.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31 Follows this thread: https://forums.opensuse.org/english/get-technical-help-here/multimedia/48774... Plymouth came up from page 4 on. When plymouth bug https://bugzilla.novell.com/show_bug.cgi?id=811185 was resolved it solved my issue, too, but after subsequent kernel update from 3.7.10-1.11 to 3.7.10-1.16 and all relevant patches my problem reappeared while the original permissions issue apparently stays fixed. Booting into earlier kernel and downgrading systemd and udev has no effect. Currently I add "plymouth.enable=0" in boot options to watch videos playing smoothly. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@opensuse.org, | |fcrozat@suse.com Component|X.Org |Other AssignedTo|bnc-team-xorg-bugs@forge.pr |bnc-team-screening@forge.pr |ovo.novell.com |ovo.novell.com QAContact|xorg-maintainer-bugs@forge. |qa-bugs@suse.de |provo.novell.com | --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> 2013-06-27 03:43:32 UTC --- Apparently another plymouth issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c2 --- Comment #2 from Frederic Crozat <fcrozat@suse.com> 2013-06-27 04:01:00 UTC --- Are you using nvidia driver ? It wouldn't be surprised if nouveau is loaded in initrd instead of nvidia proprietary driver, causing this.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c3 --- Comment #3 from Stan Ice <stangoesagain@gmail.com> 2013-06-27 05:30:50 UTC --- I'm not using nvidia driver. Actually, this is optimus laptop and I use bbswitch to power down nvidia card and blacklist nouveau with /etc/modprobe.d/blacklist-nouveau.conf, I haven't installed any of the rest of Bumblebee packages. Meanwhile, "rd.plymouth=0" in boot options also solves my problem. I don't know if modprobe.d conf files are read after/separately from initrd, so blacklisting nouveau might not stop its clash with plymouth during intird stage. At one point I removed bbswitch and blacklist-nouveau.conf and the problem was still there, though that was on the previous kernel where plymouth-0.8.8_git201211022126-4.6.1.x86_64 fix solved the issue, until the latest kernel update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c4 --- Comment #4 from Stan Ice <stangoesagain@gmail.com> 2013-06-27 05:52:33 UTC --- Just tried disabling nouveau instead of plymouth with "modeset.nouveau=0" in boot options, problem is still there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c5 --- Comment #5 from Stan Ice <stangoesagain@gmail.com> 2013-06-27 06:09:55 UTC --- Also, booting with external monitor attached and "rd.plymouth=0", when plymouth eventually comes up bootsplash image is not aligned with the monitor, about 400 pixels off down and to the right. Doesn't happen on the laptop monitor or when plymouth is not blocked at all. This might not be related and totally expected, too, just listing the symptoms. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2013-06-27 06:45:13 UTC --- (In reply to comment #5)
Also, booting with external monitor attached and "rd.plymouth=0", when plymouth eventually comes up bootsplash image is not aligned with the monitor, about 400 pixels off down and to the right.
This is a different issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c7 --- Comment #7 from Frederic Crozat <fcrozat@suse.com> 2013-06-27 06:46:44 UTC --- Could you check what is eating CPU when you play video ? Maybe you are missing some ACL on specific devices used for hardware video decoding ? (just guessing). Please also attach /var/log/Xorg.0.log when you have the issue and when you don't.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c8 --- Comment #8 from Stan Ice <stangoesagain@gmail.com> 2013-06-27 08:46:29 UTC --- Here's good configuration, with plymouth "off" via rd.plymouth=0 Screenshot with System Monitor on to check CPU usage: https://lh4.googleusercontent.com/-s7KInX2QobI/Ucw4lVRWSDI/AAAAAAAAFBo/AndAE... "Working" Xorg.0.log paste: http://paste.opensuse.org/25185005 Here's with plymouth "on" Screenshot: https://lh6.googleusercontent.com/--fJW13dC3pQ/Ucw8rwyMfuI/AAAAAAAAFCE/bzxUt... "Broken" Xorg.0.log paste: http://paste.opensuse.org/92354216 I don't know where to look for missing ACL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c9 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |X.Org AssignedTo|bnc-team-screening@forge.pr |bnc-team-xorg-bugs@forge.pr |ovo.novell.com |ovo.novell.com QAContact|qa-bugs@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com --- Comment #9 from Frederic Crozat <fcrozat@suse.com> 2013-06-27 09:03:40 UTC --- strange, when plymouth isn't loaded, hdmi output isn't probed.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c10 --- Comment #10 from Stan Ice <stangoesagain@gmail.com> 2013-06-27 10:29:26 UTC --- In both cases I booted with TV plugged into hdmi. Video issue occurs when using only the laptop monitor, too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c11 --- Comment #11 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-06-27 08:08:41 CLT --- I have an hybrid graphics laptop too (oh dear lord, I shouldnt have bought this thing ever) If I try your setup I end with this https://bugs.freedesktop.org/show_bug.cgi?id=34430 IF I try to turn off the card with bbswitch or switcherooo https://bugs.freedesktop.org/show_bug.cgi?id=61765 Short story, the nouveau driver is in a sorry state. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c12 --- Comment #12 from Stan Ice <stangoesagain@gmail.com> 2013-06-27 13:12:25 UTC --- I'm not using vga switcheroo, I'm using dksm-bbswitch from Bumblebee project. Originally my problem was overheating, to the point of laptop turning off while doing zypper patch or watching HD videos for longer than ten minutes. Turning nvidia off, luckily, worked like magic for me, laptop runs even cooler than on native Windows 7, and video playback turned out to be a plymouth issue. I would happily complete Bumblebee and install nvidia drivers and whatever else is necessary but those packages are still not finalized for openSUSE and working configuration is a matter of luck, so I'll wait. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c13 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fcrozat@suse.com --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> 2013-06-28 03:05:48 UTC --- Frederic, why has this one been reassigned to X.Org component? Still the issue only occurs when Plymouth is active. X developers are *not* responsible for fixing or the development of plymouth. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c14 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|fcrozat@suse.com | --- Comment #14 from Frederic Crozat <fcrozat@suse.com> 2013-06-28 04:02:23 UTC --- (In reply to comment #13)
Frederic, why has this one been reassigned to X.Org component? Still the issue only occurs when Plymouth is active. X developers are *not* responsible for fixing or the development of plymouth.
Xorg is the one taking 20% cpu more, so you might have some hints about what is going on. Moreover, I don't see how plymouth could have an impact on playing video, since plymouth is terminated when Xorg will be used for video playback. To me, it looks like having KMS driver loaded too early is causing due to the entire "hybrid" stuff. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c15 --- Comment #15 from Stan Ice <stangoesagain@gmail.com> 2013-06-29 17:33:19 UTC --- Here's .svg output of "systemd-analyze plot" https://docs.google.com/file/d/0B66BoCDk6eoWRndnYlVVLXcwZ3M/edit?usp=sharing Maybe it could be of use if exact timing of loading drivers and starting services is important. It doesn't say anything about what's going on at initrd where plymouth does its damage, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c16 --- Comment #16 from Stan Ice <stangoesagain@gmail.com> 2013-06-30 02:28:44 UTC --- That was a "good" config, with rd.plymouth=0 This is the "bad" one: https://docs.google.com/file/d/0B66BoCDk6eoWaTU5V1diU2dFSmM/edit?usp=sharing -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c17 --- Comment #17 from Frederic Crozat <fcrozat@suse.com> 2013-07-02 12:09:16 UTC --- please attach each svg file to the bug report itself, it is easier for us to handle. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c18 --- Comment #18 from Stan Ice <stangoesagain@gmail.com> 2013-07-02 16:14:39 UTC --- Created an attachment (id=546527) --> (http://bugzilla.novell.com/attachment.cgi?id=546527) Output of systemd-analyze plot with "problem" configuration This is a default openSUSE configuration, Plymouth here starts with initrd, and X struggles to output video. Network-wait at the end has been fixed, ignore it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c19 --- Comment #19 from Stan Ice <stangoesagain@gmail.com> 2013-07-02 16:16:52 UTC --- Created an attachment (id=546529) --> (http://bugzilla.novell.com/attachment.cgi?id=546529) Output of systemd-analyze plot with "rd.plymouth=0" With this boot option Xorg works normally -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c20 --- Comment #20 from Frederic Crozat <fcrozat@suse.com> 2013-07-02 16:24:39 UTC --- are you sure you are running plymouth-0.8.8_git201211022126-4.6.1 (and that initrd have been regenerated) ? next step would be to boot with "plymouth.debug=stream:/dev/kmsg" in both case and attach dmesg output for both case, to see what is going on with plymouth.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c21 --- Comment #21 from Stan Ice <stangoesagain@gmail.com> 2013-07-02 17:24:44 UTC --- Created an attachment (id=546541) --> (http://bugzilla.novell.com/attachment.cgi?id=546541) dmesg output after "plymouth.debug=stream:/dev/kmsg" with default, "problem" configuration -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c22 --- Comment #22 from Stan Ice <stangoesagain@gmail.com> 2013-07-02 17:25:39 UTC --- Created an attachment (id=546542) --> (http://bugzilla.novell.com/attachment.cgi?id=546542) dmesg output after "plymouth.debug=stream:/dev/kmsg" with "rd.plymouth=0" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c23 --- Comment #23 from Stan Ice <stangoesagain@gmail.com> 2013-07-02 17:31:36 UTC --- (In reply to comment #20)
are you sure you are running plymouth-0.8.8_git201211022126-4.6.1 (and that initrd have been regenerated) ?
next step would be to boot with "plymouth.debug=stream:/dev/kmsg" in both case and attach dmesg output for both case, to see what is going on with plymouth..
Yes, I'm using this latest plymouth version and after it came out my problem was fixed. The problem returned after kernel update from 3.7.10-1.11 to 3.7.10-1.16 that came a few days after plymouth fix. I assume initrd was regenerated after applying both of those patches. After plymouth fix I might have even done it manually. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=827018 https://bugzilla.novell.com/show_bug.cgi?id=827018#c24 --- Comment #24 from Stan Ice <stangoesagain@gmail.com> 2013-07-02 18:03:59 UTC --- I've noticed another symptom - Docky icons, though working, get black borders and after a reboot back to "rd.plymouth=0" docky fails to autostart at all. It can be started manually and starts itself on consequent reboots without any problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com