Bug 14229 - AdminPanel-Qt not working with older processor
Summary: AdminPanel-Qt not working with older processor
Status: RESOLVED DUPLICATE of bug 13991
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Angelo Naselli
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 14418
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-04 09:52 CEST by Georges Eckenschwiller
Modified: 2015-01-05 15:27 CET (History)
2 users (show)

See Also:
Source RPM: adminpanel-qt-1.0.0-0.7.mga5.i586.rpm
CVE:
Status comment:


Attachments
test package (273.71 KB, application/octet-stream)
2014-10-21 23:11 CEST, Angelo Naselli
Details

Description Georges Eckenschwiller 2014-10-04 09:52:03 CEST
Description of problem:

I made several tests of adminpanel-qt, with Xfce desktop, with IceWm desktop, with LXQt desktop
See also https://bugs.mageia.org/show_bug.cgi?id=14093

To note that the version gtk works with IceWM and Xfce (not tested with LXQt).

The installation is correctly made. The command appears in the menus.

By using the menu, the root password is asked. Then, nothing more takes place.
By using the command mpane.pl --qt, there are several lines looking for libyui-qt.so.6 and libyui-gtk.so.6.

The last lines are:
Found libyui-qt.so.6 in /usr/lib/yui
Instruction non permise

Then the prompt.

Reproducible: 

Steps to Reproduce:
Comment 1 Georges Eckenschwiller 2014-10-04 10:03:08 CEST
The installed qt packages :
libqt5core5, libqt5dbus5, libqt5gui5, libqt5network5, libqt5widgets5, libqt5xml5, libqtx11extras5, libyui6-mga-qt, libyui6-qt, qtbase5-common.
Comment 2 Georges Eckenschwiller 2014-10-04 10:32:06 CEST
I have just installed LXQt with adminpanel-qt and adminpanel-gtk.

With mpan.pl --qt

The last lines are:
Found libyui-qt.so.6 in /usr/lib/yui
Instruction non permise


With mpan.pl --gtk
Found libyui-gtk.so.6 in /usr/lib/yui
YUI.cc.76 YUI(): This is libyui3.14
...


It looks like with qt the libyui6-qt does not work
Comment 3 Angelo Naselli 2014-10-04 13:35:19 CEST
Thanks for opening a new bug, first of all.
Could you please check the polkit dependency? Maybe something for qt is missing there...
Angelo Naselli 2014-10-04 13:36:01 CEST

CC: (none) => matteo.pasotti

Comment 4 Georges Eckenschwiller 2014-10-04 17:33:38 CEST
Hello
Volontier. But how I may make ?
Comment 5 Angelo Naselli 2014-10-04 20:14:14 CEST
Let's try with rpm -qa | grep polkit
Comment 6 Georges Eckenschwiller 2014-10-04 20:27:54 CEST
Here are the packages concerning polkit:
libmate-polkit, linpolkit1_0, libpolkit-qt-agent, libpolkit-qt-core-1_1, mate-polkit,polkit.
Comment 7 Angelo Naselli 2014-10-04 20:33:23 CEST
so it seems not to... i will make tests asap to understand what is missed.
Comment 8 Georges Eckenschwiller 2014-10-06 21:32:24 CEST
I have additional information.
On the French forum of mageia, I learnt that AdminPanel-qt work well with KDE and with LXQt. While on my machine of test it works with none of the desktops.

I thus suspect the equipment.
OK with:
- AMD Phenom (support of instruction sse and sse2)
- Graphic : GeForce 8400 GS

not working with
- AMD Athlon XP (support only of instruction sse)
- Graphic : ATI Radeon HD 4870.
Comment 9 Angelo Naselli 2014-10-07 08:45:28 CEST
Georges, apologize i had to fix a problem with manauser gtk, that didn't start
at all. I will have a look at this tonight most probably.
I have AMD, but i use a VM to test cauldron... but the hardware should not
be a real problem or you could not run any qt applications i believe...

I will install xfce from scratch and see what happens.

BTW i had authentication problems launching also mcc via ssh as normal user...
As root (i didn't remember if you said that) does it start?
Comment 10 Georges Eckenschwiller 2014-10-07 10:33:58 CEST
I think that the problem is more general.
On my computer of test, I also have a crash of Baloo, with a similar message:
'Illegal instruction'

I do not think that in both cases a package would be missing. It would be surprising.

For memory:
adminpanel-qt is working with
- AMD Phenom (support of instruction sse and sse2)
- Graphic : GeForce 8400 GS

is not working with
- AMD Athlon XP (support only of instruction sse)
- Graphic : ATI Radeon HD 4870.
Comment 11 Georges Eckenschwiller 2014-10-21 12:13:27 CEST
Now that the mass rebuild is ended, I was able to resume the attempts. I also asked other users to test AdminPanel.

In summary:
- The version gtk works on my two machines (Athlon XP)
- The version qt works on NONE of my two machines (Athlon XP)
- The version qt works on recents machines (Phenon II X4 and Phenon 9550)

My two machines have different graphics boards (nVidia and ATI). The version qt works on NONE
Comment 12 Angelo Naselli 2014-10-21 18:47:19 CEST
Georges can you run other qt applications?
Matteo pointed me to the qt sse problem (see https://bugreports.qt-project.org/browse/QTBUG-35430)
We could try to check if rebuilding libyui-qt with -no-sse2 (hope only for i586 
arch) but i need to understand if it's an adminpanel problem only... otherwhise i cannot touch qt core...
Comment 13 Georges Eckenschwiller 2014-10-21 19:56:20 CEST
bingo!
I had moreover thought of this possible cause

Yes, there are at least two applications which raise problem:
sddm: https://bugs.mageia.org/show_bug.cgi?id=13991
baloo (KDE) with illegal instruction

Georges
Georges Eckenschwiller 2014-10-21 20:05:36 CEST

Summary: AdminPanel-Qt not working => AdminPanel-Qt not working with older processor

Comment 14 Angelo Naselli 2014-10-21 21:43:18 CEST
Georges, are you able to build some packages/projects by your own?
Can you reach me into #mageia-dev channel? 
The problem is not in adminpanel-qt, there is nothing specifically qt based there,
more probably it is in libyui-qt... but i need tester there
Comment 15 Georges Eckenschwiller 2014-10-21 22:12:50 CEST
Hello Angelo,

I did not make formation in computing.
But a few years ago, I had already created rpms.

Besides, I do not speak English. I pass by sites of translation.
I think that it is necessary to forget #mageia-dev channel that I have never used.
And 70-year-old it is not easy to begin.

On the other hand, I am willing to try to redo rpm.
To notoverload this report, you can contact me
paiiou@free.fr
(en français si vous pouvez)
Comment 16 Angelo Naselli 2014-10-21 23:11:48 CEST
Created attachment 5521 [details]
test package

Please try this package in which i disable sse2 for i586.
Not all the adminpanel things should work since i need to build also libyui-mga-qt but something should start, such as mpan or manalog.

Could you please test it?
Comment 17 Georges Eckenschwiller 2014-10-22 16:34:50 CEST
I have just made the tries with the modified package.

I always have the problem : Instruction non permise.

I wonder if the problem does not already come upstream : libqt5core5 ...
See http://metadata.ftp-master.debian.org/changelogs//main/q/qtbase-opensource-src/qtbase-opensource-src_5.3.2+dfsg-4_changelog

"Add support for non-sse2 processors (Closes: #754894)." (Debian)
Is this option used at Mageia?
Comment 18 Angelo Naselli 2014-10-22 18:54:40 CEST
I cannot help more there at the moment.
I could try to install on a i585 machine, but it's an intel... So i think
i cannot fall in that problem.
In any case my spare time is very little till the end of this month.
So if you think -or can prove- it's more related to QT core, try to contact neoclust "neoclust at mageia dot org" he can speak french, and that should help :)
Angelo Naselli 2014-10-30 12:24:44 CET

Depends on: (none) => 14418

Comment 19 Florian Hubold 2014-11-11 17:23:53 CET
Marking as duplicate, this is an issue with QT5.

*** This bug has been marked as a duplicate of bug 13991 ***

Status: NEW => RESOLVED
CC: (none) => doktor5000
Resolution: (none) => DUPLICATE

Comment 20 Georges Eckenschwiller 2015-01-05 15:27:46 CET
I was able to redo the tests on my old machine.
I want just to confirm that the recompilation of qtbase5 by doktor5000 solved this problem.

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