Bug 31152 - Devede 4.17.0-2.mga9.tainted creates unuseable menus
Summary: Devede 4.17.0-2.mga9.tainted creates unuseable menus
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 21:35 CET by Lloyd Osten
Modified: 2023-02-27 07:18 CET (History)
4 users (show)

See Also:
Source RPM: devede-4.17.0-2.mga9.tainted.src.rpm, graphicsmagick-1.3.38-6.mga9.tainted.src.rpm
CVE:
Status comment:


Attachments

Description Lloyd Osten 2022-11-19 21:35:33 CET
Description of problem:Devede 4.17.0-2.mga9.tainted creates unusable menus


Version-Release number of selected component (if applicable):Devede 4.17.0-2.mga9.tainted 


How reproducible: Every time


Steps to Reproduce:
1.Start Devede.
2.Pick a video file.
3. Create a menu
4. Create the ISO file. Use K3B to burn it to disc
5. Use VLC to either open the ISO file or the use the DVD.
6. Menu appears.
7. Clicking on the menu with the mouse should play the DVD. It does not.

I tried doing the exact same thing on my other computer (same video file, Mageia 8, fully updated) and using Devede 4.16.0-1.mga8.tainted. It produces a menu that works

This sounds exactly like a problem I had before (bug #25861) That turned out to be a missing dependency (which was fixed...I think it had something to do with graphicsmagick and dvdauthor) I made sure the graphicsmagick files were installed.

They are both installed on Mageia 9 alpha.
Lloyd Osten 2022-11-19 21:36:55 CET

CC: (none) => lloyd.osten
Hardware: All => x86_64

Comment 1 Lewis Smith 2022-11-20 21:58:36 CET
I agree this looks the same as the older bug. I will look into this in detail tomorrow.

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=25861
CC: (none) => lewyssmith
Source RPM: Devde4.17.0-2.mga9.tainted => devede-4.17.0-2.mga9.tainted.src.rpm

Comment 2 Lloyd Osten 2022-11-20 22:34:48 CET
I have found a new problem with Devede. I just did a feash install from the Mageia 9 Alpha X86_64 ISO this morning. Devede would not even start. So I tried starting it directly from the command line. It came up with this error:

File "usr/lib/python3.10/site-packages/devedeng/configuration_data.py", Line 21, in <module>

import pkg_resources

ModuleNotFoundError: no module named 'pkg_resources'

It looks like something may be missing....
Comment 3 Lewis Smith 2022-11-21 09:44:33 CET
Looking at M8 for reference, from that old bug 25861, which updated 'dvdauthor':
 $ urpmq --requires devede
dvdauthor
 $ urpmq --requires dvdauthor
graphicsmagick
libGraphicsMagick.so.3()(64bit)        [is this lib64graphicsmagick3 pkg?]
 $ urpmq --requires-recursive dvdauthor
graphicsmagick
lib64graphicsmagick3
 $ urpmq --whatrequires lib64graphicsmagick3
dvdauthor
graphicsmagick
 $ urpmq --whatrequires graphicsmagick
dvdauthor

devede requires
 dvdauthor which requires     [the lib cited only as such, not a pkg]
  graphicsmagic which requires
   lib64graphicsmagick3
Comment 4 Lewis Smith 2022-11-21 11:01:26 CET
Repeating the probing above on Cauldron:
 $ urpmq --requires devede
dvdauthor
 $ urpmq --requires dvdauthor
graphicsmagick
libGraphicsMagick.so.3()(64bit)
 $ urpmq --requires-recursive dvdauthor
graphicsmagick
lib64graphicsmagick3
 $ urpmq --whatrequires lib64graphicsmagick3
dvdauthor
graphicsmagick
 $ urpmq --whatrequires graphicsmagick
dvdauthor

These results are identical to Mageia 8, so the new problme is not for the same dependencies reason as the old.
-------------------------------
Trying your example on LxQt with:
 devede-4.17.0-2.mga9.tainted
 dvdauthor-0.7.2-10.mga9
 graphicsmagick-1.3.38-4.mga9.tainted
 lib64graphicsmagick3-1.3.38-4.mga9.tainted
I did: Create Video DVD-Add file-Menus/Create a menu with the titles was already ticked-Forward-chose a directory 'tmp', left filename 'movie'-OK
It did its thing, then wanted to write a DVD which apprently is not necessary. 
> Use VLC to either open the ISO file
I aborted the affair then. Should I have continued (no DVD writer)?
It produced the following:
$ tree tmp/movie/
tmp/movie/
├── dvd_tree
│   ├── AUDIO_TS
│   └── VIDEO_TS
│       ├── VIDEO_TS.BUP
│       ├── VIDEO_TS.IFO
│       ├── VIDEO_TS.VOB
│       ├── VTS_01_0.BUP
│       ├── VTS_01_0.IFO
│       ├── VTS_01_0.VOB
│       ├── VTS_01_1.VOB
│       ├── VTS_02_0.BUP
│       ├── VTS_02_0.IFO
│       ├── VTS_02_0.VOB
│       └── VTS_02_1.VOB
├── menu
│   ├── menu_0_active_bg.png
│   ├── menu_0_bg.png
│   ├── menu_0B.mpg
│   ├── menu_0.mpg
│   ├── menu_0_selected_bg.png
│   ├── menu_0_unselected_bg.png
│   └── menu_0.xml
├── movie.iso
├── movies
│   └── movie_0.mpg
└── xml_data
    └── dvdauthor.xml

Launch VLC, open file, but here I am lost with no idea exactly what to open.
* Trying 'movie.iso' just showed a fixed DVD image with the video title, while I think it was played. There was no:
> 6. Menu appears
* Chosing 'movie_0.mpg' played it correctly.
* Chosing 'menu_0B.mpg' or 'menu_0.mpg' showed the static DVD image while the video appeared to play.
Comment 5 Lloyd Osten 2022-11-21 13:04:47 CET
I just deleted all the files related to Devede. Devede, dvdauthor, and graphicsmagick. Then I re-installed them. No change. Still not working.
Comment 6 David GEIGER 2022-11-21 17:43:34 CET
Hi,

Missing dependency should be fixed in next devede update:

-devede-4.17.0-3.mga9

CC: (none) => geiger.david68210

Comment 7 Lloyd Osten 2022-11-22 02:47:15 CET
There's still a bug in the menu. (at least devede starts in the latest update, so that's progress...:-)

OK, I used Devede to create a compilation of two mp4 files. They both show up in the menu. So far, so good.

Next they are converted to an ISO file. No problem there.

So, it's now time to play the ISO file (I used VLC) I also burned a blu-ray disc (I got a bunch of blank blu-ray discs at a ridiculously low price)

Opening the ISO file produces a menu with two files. Putting the mouse cursor over one of the titles and clicking on it should play the title. Well, it doesn't. You also can't select the titles using the mouse cursor (nothing happens) The files play if you check "no disc menus" in VLC

I tried the disc in my other computer (Mageia 8, and Devede 4.16 and the disc does exactly the same thing. So, there is a problem with the menu.

The same files created with Mageia 8 and devede 4.16 work the way you would expect them to. You CAN select the titles with the mouse, and clicking on a title will play the file.
Comment 8 Lewis Smith 2022-11-22 20:37:28 CET
(In reply to David GEIGER from comment #6)
> Missing dependency should be fixed in next devede update:
> -devede-4.17.0-3.mga9
Thanks. But what missing dependency?

Thank you Lloyd for your lengthy testing. The residual problem has become more precise: the menu is produced, and shows, but does not work.

> Opening the ISO file produces a menu with two files
I have 2 small video files, so I can try this experiment as you did (if I can master Devede): produce an ISO on both M8 and M9, and try them on both systems.
Accepting that I stop at the file production stage, without burning a DVD, I would appreciate advice on what file to open in VLC: the .iso one? See comment 4.
Comment 9 Lloyd Osten 2022-11-22 21:45:59 CET
Yes, VLC will (or it should) play the ISO file if you choose "open file" from the VLC menu bar. After choosing "open file", the menu should appear. You should be able to click on the menu title with the mouse, and the video should play. I found that you can also use the keyboard by using the up/down arrow keys and pressing "ENTER."

Devede is actually a pretty easy program to use...:-) It converts your video files, and then produces an ISO file, which you can burn to a disc if you choose.
Comment 10 Lloyd Osten 2022-11-23 03:35:22 CET
I just installed the latest updates (it is ~ 8:30 p.m. here, CST -6 hours November 22

This included two graphicsmagick files (these were also updated yesterday, too)

I tried Devede again. The updated files did not make any difference....the menu still doesn't work properly. I'll try again tomorrow. I have faith that you will be able to solve this. After all, this is what alpha testing is for, right? :-)
Comment 11 Lloyd Osten 2022-11-23 04:14:49 CET
Question: Does Devede actually create the menu, or is it actually dvdauthor that creates the menu? Is devede just basically a front-end for dvdauthor?
Comment 12 Lewis Smith 2022-11-23 11:35:10 CET
Well, I have tried this including Mageia 8, with a 2-video 'DVD' produced identically both on M8 & M9. So far:
Mageia 8 ISO menu works & plays OK on M8 & M9
Mageia 9 ISO menu is dead on M9 (I expect the same for M8, Lloyd has tried). However, the videos themselves movie_*.mpg work when specifically opened.

One thing that puzzles me using VLC here is that when the static DVD logo/menu screen is displayed, something is churning away for a repeated 30 secs - evidenced by a progress bar at the bottom. I thought this was a video playing invisibly, but do not think this now.

 devede-4.17.0-3.mga9.tainted
 dvdauthor-0.7.2-10.mga9
 graphicsmagick-1.3.38-6.mga9.tainted
 lib64graphicsmagick3-1.3.38-6.mga9.tainted

 $ man dvdauthor
dvdauthor - assembles multiple mpeg program streams into a suitable DVD
       filesystem
At  a high level, a DVD is a collection of menus and titles.  Conceptu‐
       ally, a menu contains buttons which can be assigned  actions  and  pro‐
       vides  a  list  of  choices to the end user, while a title contains the
       main content of the DVD.
[and a lot more].

What to do next? Can we pick individually the 'devede' & 'dvdauthor' Mageia 8 packages to try on Mageia 9, to see which one is the culprit?
Comment 13 Lloyd Osten 2022-11-23 12:26:32 CET
I was not sure if it was VLC or not. I tried installing every plugin related to VLC. None of them made any difference. So, it's likely not VLC. So, somehow, the titles do not pass control to VLC. But they do in M8. Exactly, WHAT is different between M8 and M9? If you can tell me what I should do next, I'll try it and get back to you.

Is there something in the source code of devede/dvdauthor that is different from M8 to M9. Would just recompiling the M8 source code for M9 work? I am not a programmer, so I really don't know.

Thank you.
Comment 14 Lloyd Osten 2022-11-23 13:33:39 CET
What happens if you use dvdauthor from the command line to create a DVD with menus? (it looks too complicated for me)
Comment 15 Lewis Smith 2022-11-25 10:31:32 CET
I tried this in various ways, but it did not produce an .iso . Its preferred input is an xml file, so I compared these ones produced from M8 & Cauldron (see comment 4 for their context):

└── xml_data
    └── dvdauthor.xml
 and
├── menu
│   └── menu_0.xml

They were identical between the two movie versions.

Since the problem is the interactivity of the ISO menu, I wonder whether it stems from graphicsmagic:
 graphicsmagick
 lib64graphicsmagick3
I really do want to try substituting one at a time the Mageia 8 pks in this Cauldron system, but do not know how to access the M8 repos to do so. Need advice on this, and how to so without involving any other pkgs in my Cauldron system.

(In reply to Lewis Smith from comment #8)
> (In reply to David GEIGER from comment #6)
> > Missing dependency should be fixed in next devede update:
> > devede-4.17.0-3.mga9
> Thanks. But what missing dependency?
Found it in Cauldron log:
"add missing dependency on python3-pkg-resources".

Assigning this globally because we can do no more, and these packages have no evident maintainer.

Source RPM: devede-4.17.0-2.mga9.tainted.src.rpm => devede-4.17.0-2.mga9.tainted.src.rpm, graphicsmagick-1.3.38-6.mga9.tainted.src.rpm
Assignee: bugsquad => pkg-bugs

Comment 16 Lloyd Osten 2022-11-26 05:05:07 CET
It took a while, but I have finally figured out the problem. And even better, this solution actually works.

There are two files that are causing this problem:

1. graphicsmagick-1.3.38-6.mga9.tainted.x86_64.rpm

                          &

2.lib64graphicsmagick3-1.3.38-6.mga9.tainted.x86_64.rpm

I replaced both of these files with their equivalent files (but the non-tainted versions; I couldn't find the tainted versions) from Mageia 8. I had to install them manually. But the good news is...it DOES work!

And thank you for all your help!
Comment 17 Lewis Smith 2022-11-26 21:41:13 CET
So my hunch was right, and thank you for pursuing it. Need to pin down which package. And know whether it is a tainted v non-tainted issue.

You are ahead of me! Can you say how you did "I replaced both of these files with their equivalent files (but the non-tainted versions; I couldn't find the tainted versions) from Mageia 8. I had to install them manually".
Yes, I should know...
CC'ing Dave since he is knowledgeable about this sort of thing.

CC: (none) => davidwhodgins

Comment 18 Dave Hodgins 2022-11-26 23:06:17 CET
In Mageia 8 graphicsmagick only has the release version. The tainted version
is new in m9 though it still has a release version.

Adding the last packager to make changes to the cauldron version of
grapicsmagick to cc list.

It's been several years since I last experimented with anything dvd
related.

CC: (none) => smelror

Comment 19 Stig-Ørjan Smelror 2022-11-27 07:54:48 CET
Good morning.

The only difference in graphicsmagick between core and tainted is the support for the HEIF/HEIC image format usually used in iPhones.

I have no idea what's causing this at the moment and will begin looking into it.

CHeers,
Stig
Comment 20 Lloyd Osten 2022-11-27 12:31:48 CET
(In reply to Lewis Smith from comment #17)
> So my hunch was right, and thank you for pursuing it. Need to pin down which
> package. And know whether it is a tainted v non-tainted issue.
> 
> You are ahead of me! Can you say how you did "I replaced both of these files
> with their equivalent files (but the non-tainted versions; I couldn't find
> the tainted versions) from Mageia 8. I had to install them manually".
> Yes, I should know...
> CC'ing Dave since he is knowledgeable about this sort of thing.

I used the software manager to delete the mga9 files. I downloaded the mga8 files from the Mageia 8 repository, and installed them from Konsole (as root) with:

rpm -ivh <package-name>
Comment 21 Lewis Smith 2022-11-27 21:39:05 CET
> I downloaded the mga8 files from the Mageia 8 repository
This is the bit I do not know... (but should)
And one should not be asking here, but on a forum or mailList; but we are here.
Comment 22 Lloyd Osten 2022-11-27 23:08:28 CET
(In reply to Lewis Smith from comment #21)
> > I downloaded the mga8 files from the Mageia 8 repository
> This is the bit I do not know... (but should)
> And one should not be asking here, but on a forum or mailList; but we are
> here.

There are Many Mageia mirrors...Start Here...

https://mirrors.mageia.org

I usually pick the top one (the one with "coffee" in the name". It's in France and is always updated first.

This will get you to a Mageia 8 repository...

https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64/

(There are also other versions there, including Mageia 9 and Cauldron.
Click on the link marked "core", and then check for the link marked "updates."

Please feel free to e-mail me directly if you need more help.
Comment 23 Lewis Smith 2022-11-28 21:37:56 CET
It was the last link that I was fishing for; thanks. Will try the two M8 graphicsmagick pks tomorrow.
Comment 24 Lewis Smith 2022-11-29 11:29:26 CET
A lot of testing.

1. Tainted v not (Cauldron), disable Tainted repos:
 graphicsmagick-1.3.38-6.mga9
 lib64graphicsmagick3-1.3.38-6.mga9
Fault persists. So no difference here between tainted or not versions of the 2 pkgs.

2. Revert lib64graphicsmagick3 to M8, use M9 graphicsmagick:
 lib64graphicsmagick3-1.3.38-1.mga8
 graphicsmagick-1.3.38-6.mga9.tainted
Fault persists.

3. Use M9 lib64graphicsmagick3, revert graphicsmagick to M8:
 lib64graphicsmagick3-1.3.38-6.mga9.tainted
 graphicsmagick-1.3.38-1.mga8
Fault persists.

So it seems both pkgs are involved; M8 works comment 16, M9 the fault.

CC: lewyssmith => (none)

Comment 25 Lloyd Osten 2022-11-29 11:38:38 CET
That is exactly what I found, also.
Comment 26 Lloyd Osten 2022-12-01 22:16:08 CET
I just updated to the latest version of graphicsmagick and its associated library as of December 1. Unfortunately, the bug is still there.
Comment 27 Lloyd Osten 2022-12-13 04:06:39 CET
Updated to the latest version of graphicsmagick and its associated library (December 12)

The bug remains...:-(
Comment 28 Lloyd Osten 2023-02-26 02:20:56 CET
Bug 31152 still remains...the two files that cause this problem are:

lib64graphicsmagick3-1.3.38-8.mga9.x86_64.rpm

graphicsmagick -1.3.38-8.mga9.x86_64.rpm

I know these were updated in December 2022, but they still don't work properly when using Devede 4.17. Both files are at fault; replacing only one (either one) does not fix the problem. Uninstalling both the files and replacing them with the equivalent files from Mageia 8 DOES fix the problem.
Comment 29 Stig-Ørjan Smelror 2023-02-26 08:46:09 CET
I found the problem and it was an outdated package, dvdauthor.

A build is in progress from the latest git master that I have confirmed to work on my computer.
Comment 30 Lloyd Osten 2023-02-26 12:10:33 CET
(In reply to Stig-Ørjan Smelror from comment #29)
> I found the problem and it was an outdated package, dvdauthor.
> 
> A build is in progress from the latest git master that I have confirmed to
> work on my computer.

So, dvdauthor is the real problem, then. Thank you!
Comment 31 Stig-Ørjan Smelror 2023-02-26 19:31:51 CET
Please update dvdauthor and graphicsmagick and let me know if you have success.

Thanks.
Comment 32 Lloyd Osten 2023-02-27 02:07:07 CET
(In reply to Stig-Ørjan Smelror from comment #31)
> Please update dvdauthor and graphicsmagick and let me know if you have
> success.
> 
> Thanks.

Ok, I uninstalled the old dvdauthor (which also removed Devede) and installed the updated version of dvdauthor. For some reason, the software installer would not let me re-install Devede. So I downloaded Devede and re-installed it manually. After running a couple of tests, I can confirm that it now works properly.

Just out of curiosity, how did you determine that the old version of dvdauthor was at fault?

Thanks again!
Comment 33 Stig-Ørjan Smelror 2023-02-27 07:18:25 CET
I looked through the logs after devede successfully built an image and saw a command that spewed an error, spumux.

Looked for that file using "urpmf spumux" and found dvdauthor.

Another thing is that devede lists programs it needs and it doesn't mention GraphicsMagick, hence the problem _had_ to be somewhere else.

That's the gist of it :-)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.