[Bug 761473] New: Plymouth is missing files: X11 renderer
https://bugzilla.novell.com/show_bug.cgi?id=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c0 Summary: Plymouth is missing files: X11 renderer Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nmo.marques@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 I'm creating a plymouth theme on openSUSE Factory and currently plymouth is missing files, namely the X11 renderer which is required to run/test plymouth under X11 sessions...
From the log:
[ply-renderer.c:230] ply_renderer_open_plugin:trying to open renderer plugin /usr/lib64/plymouth/renderers/x11.so^M [ply-utils.c:673] ply_open_module:Could not load module "/usr/lib64/plymouth/renderers/x11.so": /usr/lib64/plymouth/renderers/x11.so: cannot open shared object file: No such file or directory nmarques@nmarques:~/moniz-project/moniz> zypper wp /usr/lib64/plymouth/renderers/x11.so Loading repository data... Reading installed packages... No providers of '/usr/lib64/plymouth/renderers/x11.so' found. 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c1 kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |jlee@suse.com |ovo.novell.com | --- Comment #1 from kk zhang <kkzhang@suse.com> 2012-05-10 03:02:42 UTC --- Hi,could you please help to have a look at this?I am not very sure whether it is right to assign it to you.Feel free to reassign it.Thank you:) -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c2 Joey Lee <jlee@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mlin@suse.com AssignedTo|jlee@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #2 from Joey Lee <jlee@suse.com> 2012-05-11 04:02:36 UTC --- Hi Max, Who charge this 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c3 Max Lin <mlin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |mlin@suse.com, | |tittiatcoke@gmail.com InfoProvider|mlin@suse.com | --- Comment #3 from Max Lin <mlin@suse.com> 2012-05-11 04:21:32 UTC --- Should be @titti, you can check that with $ osc maintainer -v Base:System plymouth bugowner of Base:System/plymouth : maintainer of Base:System/plymouth : tittiatcoke Raymond Wooninck <tittiatcoke@gmail.com> I would add him to CC list. -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c4 Raymond Wooninck <tittiatcoke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #4 from Raymond Wooninck <tittiatcoke@gmail.com> 2012-05-11 08:56:49 UTC --- Nelson, The x11.so renderer is there, however it is packaged inside the plymouth-devel package. As you indicated already for normal usage the x11.so renderer is not used. However if you started developing themes and want to test them, then you should install the plymouth-devel package which delivers you the tools :-) I don't know why zypper doesn't provide you with the same information, but rpm does: HQVMT4XX20:~ # rpm -q --whatprovides /usr/lib64/plymouth/renderers/x11.so plymouth-devel-0.8.4-10.4.x86_64 HQVMT4XX20:~ # Regards Raymond -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c5 --- Comment #5 from Nelson Marques <nmo.marques@gmail.com> 2012-05-11 18:55:07 UTC ---
The x11.so renderer is there, however it is packaged inside the plymouth-devel package.
Ok, I digged up a bit and found out that you probably used Red Hat/Fedora as a reference (they do the same)... In my opinion we can improve here... keep on reading...
As you indicated already for normal usage the x11.so renderer is not used.
The x11 renderer allows you to run plymouth on a window in any environment which has a valid DISPLAY. This is not only meant to develop themes, but also to test them without having in fact to install, rebuild initrd and reboot... So there's even use cases available for normal users...
However if you started developing themes and want to test them, then you should install the plymouth-devel package which delivers you the tools :-)
First, I disagree with that statement. To write a __plugin__ you need the development package. To write a theme you don't need the development package if you are using one of the supplied plugins or no plugins at all... In my case I'm using the 'script' plugin so I don't need anything from the development package. Though for easier testing I want the x11 render to be present... Following your suggestion, this is what happens: - Installing the 'devel' package will polute my system with loads of dependencies (devel) which are totally unwanted on my system, specially because there's no reason for having them installed. My suggestion is that we can split the renderer into a separate package which is not devel. This would allow any user to test any plymouth theme without the need of having the initrd rebuild and rebooting the system. Furthermore, it would not drag into people's system a huge load of devel packages that will __NOT__ be used for the sole purpose of testing a theme... Having the renderer on another package would also not make it part of the default install as plymouth won't have an explicit dependency on it; this would allow us to keep only the __minimum__ files on the initrd... so it does grow bigger than it's actually necessary. I'm willing to do this changes and submit them to plymouth, if it's ok with you... basically just split the x11 renderer to another package, ex: plymouth-x11-renderer. Or if you prefer add it to the package which provides the logging tool for plymouth (which is documented since 2010 that will disappear in plymouth 0.8.4) Would this be ok with you ?
I don't know why zypper doesn't provide you with the same information, but rpm does:
HQVMT4XX20:~ # rpm -q --whatprovides /usr/lib64/plymouth/renderers/x11.so plymouth-devel-0.8.4-10.4.x86_64 HQVMT4XX20:~ #
The 'rpm' provides only the information on packages that are installed! So if you don't have that package installed, it's not visible to RPM (which was my case). Try 'rpm -e plymouth-devel' and then 'rpm -q --whatprovides' and see if returns any result ;) While 'rpm' picks up the information from the local rpmdb (somewhere in /var), zypper should use the repository metadata (which includes all packages available on repo, installed or not). That's why I used zypper in the first place... I don't know zypper mechanics but I do know YUM mechanics... In YUM it would've worked. But this is off-topic. -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c6 --- Comment #6 from Raymond Wooninck <tittiatcoke@gmail.com> 2012-05-11 19:25:42 UTC --- Nelson, I have the file installed and just showed you that rpm indicates where the file is coming from. I am fine with the package changes, however this would involve a new legal review as that there is suddenly a new subpackage. But you submit to Base:System and I will review 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c7 --- Comment #7 from Nelson Marques <nmo.marques@gmail.com> 2012-05-11 19:32:14 UTC --- (In reply to comment #6)
Nelson,
I have the file installed and just showed you that rpm indicates where the file is coming from.
And I was just trying to explain you that RPM sees dependencies only on the installed packages;
I am fine with the package changes, however this would involve a new legal review as that there is suddenly a new subpackage. But you submit to Base:System and I will review it.
That's fine with me, I'll submit it today or tomorrow, depending on how I take to fix a few things I have pending on another packages :) Thanks for being receptive to this change, I think in a generic matter this change (having x11 renderer available in a package with no devel dependencies) will benefit users who want to test/try plymouth themes without actually installing them :) -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c8 --- Comment #8 from Raymond Wooninck <tittiatcoke@gmail.com> 2012-05-11 19:47:33 UTC --- Hi Nelson, I already knew that rpm just takes the installed packages for it search. For me it is also strange that zypper doesn't work as that it should have found that plymouth-devel is the one providing the X11 renderer. Why wouldn't I be receptive for changes ?? As you already guessed correctly, I build the plymouth package on top of the work of others and gave it its finishing touch :-) However I would never claim to know all and deliver the perfect package. If plymouth-devel pulls in too much dependencies, then there is almost no alternative than to make a subpackage for the X11 renderer. However we could of course also place it in the main plymouth package with the other renderers. This might be easier than to create a subpackage and have users guessing which package is required and which not. But I leave it up to you :-) Raymond -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c9 --- Comment #9 from Nelson Marques <nmo.marques@gmail.com> 2012-05-11 20:19:43 UTC ---
If plymouth-devel pulls in too much dependencies, then there is almost no alternative than to make a subpackage for the X11 renderer. However we could of course also place it in the main plymouth package with the other renderers. This might be easier than to create a subpackage and have users guessing which package is required and which not.
Raymond, You did quite an awesome work, so, you do have my gratitude for that, I've always defend plymouth in openSUSE; you were one of the artisans which make openSUSE a much experience for me... Regarding having it with the other renderers is maybe a bad idea: 1) will increase the size of the initrd with a file that is useless in the context that the initrd is used; 2) will most likely be provoque some unwanted sympthoms. On his package is maybe overkill, but it's the most sane thing to do considering the system itself; for users its nice to be around... I'll add this to plymouth wiki page and a small howto with my script to test themes ;) -- 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=761473 https://bugzilla.novell.com/show_bug.cgi?id=761473#c10 --- Comment #10 from Nelson Marques <nmo.marques@gmail.com> 2012-05-11 20:43:04 UTC --- created request id 120738 -- 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