FS#5896 - libx11/xcb regressions

Attached to Project: Arch Linux
Opened by Martin Feilhauer (gnidam) - Saturday, 25 November 2006, 19:34 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 29 November 2006, 12:23 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After upgrading libx11 (1.0.3 -> 1.1-1) gdm wouldn't start:
Dark screen plus clock...
http://bbs.archlinux.org/viewtopic.php?t=27264

Overriding "command=/usr/bin/X -audit 0 +extension XEVIE" in
/opt/gnome/share/gdm/defaults.conf via
"command=/usr/bin/X -audit 0" in
/opt/gnome/etc/gdm/custom.conf followed by "telinit 3 / telinit 5"
brings gdm back and running.

g,
Martin
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 29 December 2006, 22:05 GMT
Reason for closing:  Fixed
Comment by pete (drg006) - Sunday, 26 November 2006, 04:04 GMT
I also had this problem.
Comment by Börje Holmberg (linfan) - Sunday, 26 November 2006, 12:59 GMT
Martin could you be a bit more precise in your description. This fix did not work for me. I added

-----
command=/usr/bin/X -audit 0
telinit 3 / telinit 5
-----

to the very end of /opt/gnome/etc/gdm/custom.conf, but the problem persisted. Still have to hit Alt-Ctrl backspace a couple of times before gdm crashes and is replaced by another program.

Regards,

linfan
Comment by Martin Feilhauer (gnidam) - Sunday, 26 November 2006, 13:16 GMT
Sorry for being too vague.
First, add the following to /opt/gnome/etc/gdm/custom.conf:
----
[server-Standard]
name=Standard server
command=/usr/bin/X -audit 0
flexible=true
----
Second run "telinit 3" followed by "telinit 5" from the commandline to restart
gdm. A reboot or "/etc/rc.d/gdm" might also work. Just hitting Alt-Ctrl didn't do
it here.

Btw, the latest gdm upgrade (2.16.2-1 -> 2.16.3-2) didn't fix the problem, still
reproducable by commenting out the above workaround.

Regards,
Martin
Comment by Martin Feilhauer (gnidam) - Sunday, 26 November 2006, 13:18 GMT
me wrote:
> A reboot or "/etc/rc.d/gdm" might also work.

should say "/etc/rc.d/gdm restart" of course.
Comment by Martin Feilhauer (gnidam) - Sunday, 26 November 2006, 14:14 GMT
If i understand gdm's config correctly we have 3 locations:
(1) /opt/gnome/share/gdm/factory-defaults.conf (upstream)
(2) /opt/gnome/share/gdm/defaults.conf (distribution-specific/overwritten on package-upgrade)
(3) /opt/gnome/etc/gdm/custom.conf (local changes/not overwritten on package-upgrade)

So if we remove "+extension XEVIE" from line 543 in (2) / gdm package would
solve that more permanently?
Additionaly, even without explicitly loading that extension /var/log/Xorg.0.log tells me:
----
(II) Initializing built-in extension XEVIE
----
...so it seems to be loaded anyway?

Regards,
Martin
Comment by Roman Kyrylych (Romashka) - Monday, 27 November 2006, 12:07 GMT
This was reported in http://bugs.archlinux.org/task/5889 too.
Do new libxcb and gdm fix this issue (I was unable to check yet)?
Comment by Martin Feilhauer (gnidam) - Monday, 27 November 2006, 12:59 GMT
No. Still reproducable...
gdm (2.16.3-2), libx11 (1.1-1), libxcb (1.0-2), nvidia (nvidia 1.0.8776-1)
Comment by Donald Beck (Pudge) - Monday, 27 November 2006, 20:38 GMT
Just upgraded to libx11 1.1-2 and it fixed my problems with gdm.

Pudge
Comment by Dimos Dimoulis (dimosd) - Monday, 27 November 2006, 20:42 GMT
Using latest updates, I had the same problem (Nvidia GeForce 7600). The suggested workaround (disabling XEVIE in gdm's custom.conf) solved it for now. XEVIE allows a user to capture keyboard and mouse events and is used by Gnome's accessibility.
Comment by Martin Feilhauer (gnidam) - Monday, 27 November 2006, 20:59 GMT
Same here. With libx11 1.1-2 the mentioned workaround is not needed anymore.
thx!
Martin
Comment by Dimos Dimoulis (dimosd) - Monday, 27 November 2006, 21:11 GMT
libx11 1.1-2 worked here too.
Comment by Jan de Groot (JGC) - Saturday, 02 December 2006, 19:16 GMT
ok, libx11 1.1.1-1 in testing has been built with XCB support again. Several bugfixes have been done in this release, which should handle most reported problems. People who had problems with libx11 1.1-1, please update to 1.1.1-1 from testing and report if you have any problems with it.
Comment by Dimos Dimoulis (dimosd) - Sunday, 03 December 2006, 00:32 GMT
Tried 1.1.1-1 but had the same problem. Also tried nv instead of nvidia in case it was related but it didn't work either.

If this version of libx11 didn't affect programs other than gdm/Gnome's accessibility, maybe it's a gdm or Gnome specific bug?
Comment by Martin Feilhauer (gnidam) - Sunday, 03 December 2006, 13:55 GMT
Same problem here again with libx11 1.1.1-1 from testing: darkscreen + Xcursor waiting for gdm to come up... removing "+extension XEVIE" works around as before.
(running GeForce4 MX 440 / nvidia 1.0.8776-1)
Comment by Donald Beck (Pudge) - Tuesday, 05 December 2006, 09:26 GMT
I have six computers running Arch Linux. The only way I have found to resolve this problem is to do a clean install using FTP. By using FTP you get all the latest packages right from the start. I have fixed five of my six computers with clean FTP installs. These five run libx11 1.1.1-1 from testing just fine now.

The one remaining computer that will not run libx11 1.1.1-1 from testing has a SIS chipset with SIS integrated graphics. It works OK with libx11 1.1-2 and I am sure that a clean FTP install will fix it also. It will be the next weekend, probably Sunday, before I get a chance to re-install.

I have checked into it, but so far I cannot figure out why a clean install fixes the problem.

Pudge
Comment by Jan de Groot (JGC) - Tuesday, 05 December 2006, 09:40 GMT
What about removing gdm and all configuration, then reinstall it?
Comment by Martin Feilhauer (gnidam) - Tuesday, 05 December 2006, 11:38 GMT
Tried that (remove gdm, remove leftover gdm dirs in /opt/gnome manually, install testing/libx11, install gdm again) - no change, same problem.
Comment by Donald Beck (Pudge) - Tuesday, 05 December 2006, 16:38 GMT
How do you obtain a list of ALL packages installed on your system? I want to get a list of all packages from the one computer that still doesn't work and a list of all packages from one of the computers that does work with XCB. Then run the two files through diff and see what may be a different version package, or a missing package. The list of installed packages has to be there, pacman uses it when deciding what needs upgrading. I just haven't found it or figured out how to utilize it yet.

Pudge
Comment by Roman Kyrylych (Romashka) - Tuesday, 05 December 2006, 17:15 GMT
pacman -Q
Comment by Roman Kyrylych (Romashka) - Saturday, 09 December 2006, 14:27 GMT
I fixed this by adding these lines to /opt/gnome/etc/gdn/custom.conf:

[server-Standard]
command=/usr/bin/X -audit 0
Comment by Jan de Groot (JGC) - Tuesday, 19 December 2006, 23:13 GMT
Removed the +extension XEVIE from the default.conf, as it is loaded by default in Xorg. gdm 2.16.4 should fix issues with libx11/xcb.

Loading...