Page 1 of 1
Login screen has wrong aspect ratio in Mageia 2

Posted:
May 29th, '12, 23:01
by mailedfist
I have recently upgraded to Mageia 2 - a nice painless process using the on-line distro upgrade. Excellent!
However, I have been left with one quirk. The login screen seems to be set up for 16:9 ratio screens, so it doesn't look very good on my 4:3. Is there an option to change it?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 19:43
by doktor5000
Which login manager are you using?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 20:17
by mailedfist
KDM.
There's something else odd going on I've now found - if I try to open "Login Screen" in the "System Administration" section of "System Settings", it doesn't do anything.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 21:21
by doktor5000
Can you please try via Alt+F2 and there you enter kdesu systemsettings
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 21:48
by mailedfist
I get the same behaviour. If I do so in konsole instead, I get
- Code: Select all
[mark@fast ~]$ kdesu systemsettings
"KConfigIni: In file /usr/share/locale/currency/gbp.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /usr/share/locale/currency/gbp.desktop, line 3: " Invalid entry (missing '=')
"KConfigIni: In file /usr/share/locale/currency/gbp.desktop, line 4: " Invalid entry (missing '=')
[mark@fast ~]$
The errors appear before I get the prompt for the root password, so are probably irrelevant, but I thought I should include them.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 21:58
by mailedfist
In the "System Administration" section, all options work except for "Login Screen" and "Date & Time", which both just cause the application to exit.
Is there a general location which KDE logs errors too? There's nothing significant in /var/log/messages.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 22:02
by mailedfist
Ignore the last message please.
Running "systemsettings" direct in konsole, I get:
- Code: Select all
ystemsettings
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
"KConfigIni: In file /usr/share/locale/currency/gbp.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /usr/share/locale/currency/gbp.desktop, line 3: " Invalid entry (missing '=')
"KConfigIni: In file /usr/share/locale/currency/gbp.desktop, line 4: " Invalid entry (missing '=')
[mark@fast ~]$ systemsettings: symbol lookup error: /usr/lib/libpolkit-gobject-1.so.0: undefined symbol: g_dbus_error_register_error_domain
The last line appears at the point of the exit, so I suspect is the error. However, is it due to the QDBusConnection warning?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 22:24
by doktor5000
The last line doesn't look good. How did you do your upgrade to Mageia 2, which mirror did you use, and did you check if all packages have been updated?
Please show the output of
- Code: Select all
urpmq --list-media active
and also try an
- Code: Select all
urpmi --auto-update
to see if everything has been updated. Please post the output of that, too.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 22:45
by mailedfist
I got notified that Mageia 2 was available by the update widget, and let it go ahead and upgrade. I don't remember picking a mirror (but, then again, my memory's not very good!).
I added the extra repositories after upgrade and before reboot because of concerns over graphics drivers.
- Code: Select all
[mark@fast ~]$ urpmq --list-media active
Core Release
Core Updates
Nonfree Release
Nonfree Updates
Tainted Release
Tainted Updates
[mark@fast ~]$ sudo urpmi --auto-update
[sudo] password for root:
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
medium "Nonfree Release" is up-to-date
medium "Nonfree Updates" is up-to-date
medium "Tainted Release" is up-to-date
medium "Tainted Updates" is up-to-date
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "Nonfree Release")
get-skype 2.2.0.35 19.mga2.nonf> noarch
unrar 4.10 2.mga2.nonfr> i586
(medium "Tainted Release")
cdrdao 1.2.3 6.mga2.taint> i586
ffmpeg 0.10.3 1.mga2.taint> i586
gstreamer0.10-a52dec 0.10.19 2.mga2.taint> i586
gstreamer0.10-plugins-ugly 0.10.19 2.mga2.taint> i586
gstreamer0.10-resindvd 0.10.23 3.mga2.taint> i586
gstreamer0.10-wildmidi 0.10.23 3.mga2.taint> i586
libavcodec53 0.10.3 1.mga2.taint> i586
libavfilter2 0.10.3 1.mga2.taint> i586
libavformat53 0.10.3 1.mga2.taint> i586
libavutil51 0.10.3 1.mga2.taint> i586
libdca0 0.0.5 3.mga1 i586
libdvdcss2 1.2.12 1.mga2.taint> i586
libfaad2 2.7 4.mga2.taint> i586
libfreetype6 2.4.9 1.mga2.taint> i586
libfreetype6-devel 2.4.9 1.mga2.taint> i586
liblame0 3.99.5 1.mga2.taint> i586
libmesaglw1 7.11.2 5.mga2.taint> i586
libmesaglw1-devel 7.11.2 5.mga2.taint> i586
libopencore-amr0 0.1.2 3.mga1 i586
libpano13-tools 2.9.18 5.mga2.taint> i586
libpostproc52 0.10.3 1.mga2.taint> i586
librtmp0 2.4 0.git2011122> i586
libswresample0 0.10.3 1.mga2.taint> i586
libswscaler2 0.10.3 1.mga2.taint> i586
libvo-aacenc0 0.1.1 2.mga2.taint> i586
libvo-amrwbenc0 0.1.1 3.mga2.taint> i586
libx264_120 0.120 0.20120306.s> i586
libxvid4 1.3.1 2.mga1 i586
mencoder 1.0 1.rc4.0.r345> i586
mplayer 1.0 1.rc4.0.r345> i586
mplayer-doc 1.0 1.rc4.0.r345> noarch
mplayer-gui 1.0 1.rc4.0.r345> i586
xine-plugins 1.1.19 9.mga2.taint> i586
17MB of disk space will be freed.
13MB of packages will be retrieved.
Proceed with the installation of the 35 packages? (Y/n) n
I have now realised that the update widget is not just hidden but missing from my tool tray.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 22:50
by mailedfist
That said, if I go to Mageia Control Center and ask it to update, it says there are no updates needed. That's a bit odd, given the above urpmi output, isn't it?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
May 31st, '12, 23:30
by mailedfist
Appears from a web search that the missing function should be in /usr/lib/libgio-2.0.so.0, which is a symlnk.
Now, we have:
- Code: Select all
0 lrwxrwxrwx 1 root root 32 May 26 10:12 /usr/lib/libgio-2.0.so -> ../../lib/libgio-2.0.so.0.3200.1*
- Code: Select all
1368 -rwxr-xr-x 1 root root 1393448 Apr 25 08:41 ../../lib/libgio-2.0.so.0.3200.1*
Which looks OK. However,
- Code: Select all
0 lrwxrwxrwx 1 root root 22 Oct 16 2010 /usr/lib/libgio-2.0.so.0 -> libgio-2.0.so.0.2400.1*
708 -rwxr-xr-x 1 root root 720200 May 4 2010 /usr/lib/libgio-2.0.so.0.2400.1*
does not look so good. Should the .0 symlink have been updated and hasn't been?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 2nd, '12, 14:11
by doktor5000
Can you please give the output of
- Code: Select all
rpm -qf /usr/lib/libgio-2.0.so.0.2400.1
and
- Code: Select all
rpm -qf /usr/lib/libgio-2.0.so.0.3200.1
For your other question, the Mageia control center and the update applet only consider repositorier which are marked as update repos.
And as there are no updates available yet for Mageia 2, there won't be any shwon there. urpmi considers all enabled repositories, that's the difference.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 2nd, '12, 21:32
by mailedfist
- Code: Select all
[root@fast mark]# rpm -qf /usr/lib/libgio-2.0.so.0.2400.1
file /usr/lib/libgio-2.0.so.0.2400.1 is not owned by any package
[root@fast mark]# rpm -qf /usr/lib/libgio-2.0.so.0.3200.1
error: file /usr/lib/libgio-2.0.so.0.3200.1: No such file or directory
[root@fast mark]# rpm -qf /lib/libgio-2.0.so.0.3200.1
libgio2.0_0-2.32.1-2.mga2
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 3rd, '12, 19:05
by doktor5000
mailedfist wrote:- Code: Select all
[root@fast mark]# rpm -qf /usr/lib/libgio-2.0.so.0.2400.1
file /usr/lib/libgio-2.0.so.0.2400.1 is not owned by any package
Ok, that's weird. Please show again
- Code: Select all
ls -la /usr/lib/libgio-2.0.so.0.2400.1
and please always show the command used together with the output, not the output alone, that's sometimes the causes of many small misunderstandings, as before you only posted output, but not the commands you used to produce that.
Also please show the output of
- Code: Select all
rpm -qa | grep -i gio
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 4th, '12, 23:33
by mailedfist
- Code: Select all
[root@fast mark]# ls -la /usr/lib/libgio-2.0.so.0.2400.1
-rwxr-xr-x 1 root root 720200 May 4 2010 /usr/lib/libgio-2.0.so.0.2400.1*
- Code: Select all
[root@fast mark]# rpm -qa | grep -i gio
libgio2.0_0-2.32.1-2.mga2
Commands originally used (and their output)
- Code: Select all
[root@fast mark]# ls -als /usr/lib/libgio*
3588 -rw-r--r-- 1 root root 3666220 May 4 2010 /usr/lib/libgio-2.0.a
0 lrwxrwxrwx 1 root root 32 May 26 10:12 /usr/lib/libgio-2.0.so -> ../../lib/libgio-2.0.so.0.3200.1*
0 lrwxrwxrwx 1 root root 22 Oct 16 2010 /usr/lib/libgio-2.0.so.0 -> libgio-2.0.so.0.2400.1*
708 -rwxr-xr-x 1 root root 720200 May 4 2010 /usr/lib/libgio-2.0.so.0.2400.1*
0 lrwxrwxrwx 1 root root 21 May 26 10:56 /usr/lib/libgiomm-2.4.so.1 -> libgiomm-2.4.so.1.3.0*
1168 -rwxr-xr-x 1 root root 1188852 Apr 10 18:43 /usr/lib/libgiomm-2.4.so.1.3.0*
- Code: Select all
[root@fast mark]# ls -als /lib/libgio-2.0.so.0*
0 lrwxrwxrwx 1 root root 22 May 26 10:06 /lib/libgio-2.0.so.0 -> libgio-2.0.so.0.3200.1*
1368 -rwxr-xr-x 1 root root 1393448 Apr 25 08:41 /lib/libgio-2.0.so.0.3200.1*
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 4th, '12, 23:35
by mailedfist
Note: Mageia 1 was installed as an upgrade from Mandriva 2010. Is it possible that the problem I'm now getting having upgraded to Mageia 2 is down to something which went wrong at that point?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 5th, '12, 19:51
by doktor5000
mailedfist wrote:Note: Mageia 1 was installed as an upgrade from Mandriva 2010. Is it possible that the problem I'm now getting having upgraded to Mageia 2 is down to something which went wrong at that point?
Could be possible, yes.
Can you please try
- Code: Select all
urpmi --replacepkgs libgio2.0_0-2.32.1-2.mga2
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 5th, '12, 23:28
by mailedfist
Sadly, that made no difference.
As I have now got another annoying quirk, which may or may not be related, in that open konsole windows are not appearing in the task bar, I want to make some progress on this, so I have just done the following:
- Code: Select all
[root@fast mark]# cd /usr/lib
[root@fast lib]# mv libgio-2.0.so.0 libgio-2.0.so.0.old
[root@fast lib]# ln -s ../../lib/libgio-2.0.so.0 libgio-2.0.so.0
systemsettings now does not crash. However, I can't find an option to tell the theme to use 4:3 ratio.

Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 6th, '12, 17:28
by mailedfist
OK. Something is definitely wrong in Mageia 2.
To get systemsettings to work, we need the "3200" version of libgio symlinked. However, that breaks K3b, which needs the link to the "2400" version put back.
Dependency tracking has gone awry somewhere by the look of it.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 8th, '12, 18:09
by doktor5000
Well, no, it's just that your old version of that file is not owned by any package (and hence it's the problem)
- Code: Select all
[root@fast mark]# rpm -qf /usr/lib/libgio-2.0.so.0.2400.1
file /usr/lib/libgio-2.0.so.0.2400.1 is not owned by any package
Please also show the output of
- Code: Select all
rpm -qi k3b
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 8th, '12, 21:11
by mailedfist
But surely the fact that the mga2 k3b needs the old libgio means something has gone wrong?
- Code: Select all
[mark@fast ~]$ rpm -qi k3b
Name : k3b
Epoch : 4
Version : 2.0.2
Release : 5.mga2
Architecture: i586
Install Date: Sat 26 May 2012 12:06:38 BST
Group : Archiving/Cd burning
Size : 28245810
License : GPLv2+
Signature : RSA/SHA1, Thu 22 Dec 2011 02:41:23 GMT, Key ID b742fa8b80420f66
Source RPM : k3b-2.0.2-5.mga2.src.rpm
Build Date : Thu 22 Dec 2011 02:31:17 GMT
Build Host : jonund
Relocations : (not relocatable)
Packager : Mageia Team <http://www.mageia.org>
Vendor : Mageia.Org
URL : http://k3b.sourceforge.net/
Summary : CD-Burner for KDE4
Description :
K3b is CD-writing software which intends to be feature-rich and
provide an easily usable interface. Features include burning
audio CDs from .WAV and .MP3 audio files, configuring external
programs and configuring devices.
or am I jumping to conclusions and it could be that k3b is using another library which is itself the wrong version and it is making the call which needs the old libgio?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 8th, '12, 23:10
by doktor5000
Why do you think that k3b needs the old version, can you please show any output that shows this?
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 8th, '12, 23:36
by mailedfist
Setup when k3b works:
- Code: Select all
[root@fast lib]# ls -als libgio*
3588 -rw-r--r-- 1 root root 3666220 May 4 2010 libgio-2.0.a
0 lrwxrwxrwx 1 root root 32 May 26 10:12 libgio-2.0.so -> ../../lib/libgio-2.0.so.0.3200.1*
0 lrwxrwxrwx 1 root root 22 Oct 16 2010 libgio-2.0.so.0 -> libgio-2.0.so.0.2400.1*
708 -rwxr-xr-x 1 root root 720200 May 4 2010 libgio-2.0.so.0.2400.1*
0 lrwxrwxrwx 1 root root 25 Jun 5 22:14 libgio-2.0.so.0.new -> ../../lib/libgio-2.0.so.0*
0 lrwxrwxrwx 1 root root 21 Jun 7 20:58 libgiomm-2.4.so -> libgiomm-2.4.so.1.3.0*
0 lrwxrwxrwx 1 root root 21 May 26 10:56 libgiomm-2.4.so.1 -> libgiomm-2.4.so.1.3.0*
1168 -rwxr-xr-x 1 root root 1188852 Apr 10 18:43 libgiomm-2.4.so.1.3.0*
Move to "new" libgio, which makes systemsettings work:
- Code: Select all
[root@fast lib]# mv libgio-2.0.so.0 libgio-2.0.so.0.old
[root@fast lib]# mv libgio-2.0.so.new libgio-2.0.so.0
[root@fast lib]# mv libgio-2.0.so.0.new libgio-2.0.so.0
Now run k3b:
- Code: Select all
[mark@fast ~]$ k3b
k3b: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_signal_accumulator_first_wins
Revert to "old" setup and k3b works again but systemsettings doesn't.
Re: Login screen has wrong aspect ratio in Mageia 2

Posted:
Jun 27th, '12, 23:23
by mailedfist
Putting aside the issues with systemsettings etc, for the momenty, the headline issue seems to be related to ATI graphics cards.
I now have several machines which don't exhibit the problem and have other vendor's graphics cards. I have three machines with ATI cards, of wildly differing ages, which all exhibit the login screen aspect ratio issue. I'll try and dig a bit deeper when I have time.