Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256579 - x11-apps/xkbcomp-1.0.5: Group width mismatch between key and type
Summary: x11-apps/xkbcomp-1.0.5: Group width mismatch between key and type
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 23:58 UTC by Martin Mokrejš
Modified: 2009-03-01 20:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log,37.44 KB, text/plain)
2009-01-28 00:02 UTC, Martin Mokrejš
Details
Xorg.0.log (Xorg.0.log,42.41 KB, text/plain)
2009-01-30 13:42 UTC, Martin Mokrejš
Details
xorg.conf (xorg.conf,16.08 KB, text/plain)
2009-01-30 13:43 UTC, Martin Mokrejš
Details
use-multiple-layouts.fdi (use-multiple-layouts.fdi,4.39 KB, text/plain)
2009-01-30 13:45 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-01-27 23:58:57 UTC
I am not sure what is causing tis but enabling debug of xorg-server I get these:

Popen: `"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"', fp = 0x8458e20
Pclose: fp = 0x8458e20
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Loaded XKB keymap /tmp/server-0.xkm, defined=0x7f

Might be related to the problems with xmodmap breakages reported in bugs.gentoo.org?
Comment 1 Martin Mokrejš 2009-01-28 00:02:47 UTC
Created attachment 179913 [details]
Xorg.0.log

x11-apps/setxkbmap-1.0.4, x11-apps/xkbcomp-1.0.5, x11-apps/xkbevd-1.0.2, x11-apps/xkbutils-1.0.1-r1, x11-libs/libxkbfile-1.0.5, x11-libs/libxkbui-1.0.2
Comment 2 Martin Mokrejš 2009-01-28 00:04:36 UTC
x11-base/xorg-server-1.5.3-r1 was compiled with "--enable-debug" CFLAGS="-ggdb -O0 -DDEBUG -DNDEBUG" CXXFLAGS=$CFLAGS
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-01-29 20:31:05 UTC
If nothing's wrong, then why worry? If you enable debug output, you'll get lots of garbage.

Unless you have a _real_ bug, I see nothing to fix here.

Thanks
Comment 4 Martin Mokrejš 2009-01-30 12:10:28 UTC
I do not see the Video Bus appearing anymore in /var/log/Xorg.0.log. However,
the alt+shift keyboard layout switch still does not work. I suspect this is the real cause.

Have at the moment:
x11-drivers/xf86-input-evdev-2.1.1
x11-drivers/xf86-input-keyboard-1.3.2
x11-drivers/xf86-input-mouse-1.4.0
x11-base/xorg-server-1.5.3-r1
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-01-30 13:05:18 UTC
please attach your xorg.conf and your new Xorg.0.log. Which version of xkeyboard-config are you using?

Thanks
Comment 6 Martin Mokrejš 2009-01-30 13:42:48 UTC
Created attachment 180273 [details]
Xorg.0.log

This is a CFLAGS="-DDEBUG -DNDEBUG" build of 1.5.3-r1.
Comment 7 Martin Mokrejš 2009-01-30 13:43:35 UTC
Created attachment 180274 [details]
xorg.conf
Comment 8 Martin Mokrejš 2009-01-30 13:45:27 UTC
Have x11-misc/xkeyboard-config-1.4:

$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+cz(qwerty):2+inet(evdev)"        };
        xkb_geometry  { include "pc(pc104)"     };
};
$

Comment 9 Martin Mokrejš 2009-01-30 13:45:42 UTC
Created attachment 180275 [details]
use-multiple-layouts.fdi
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-01-30 14:23:34 UTC
Everything looks correct though. Does anything change if you remove the asserts?

Thanks
Comment 11 Martin Mokrejš 2009-01-30 17:32:24 UTC
(In reply to comment #10)
> Everything looks correct though. Does anything change if you remove the
> asserts?

Your mean not compiling with "-DDEBUG -DNDEBUG"? Then I don't see anything
from the output in the original report.

I do not understand the X11 details it I am naively thinking that /usr/share/X11/xkb/ contents are wrong. Yes, it seems nobody knew about that
because the patch to allow one to compile using ./configure --enable-debug "-DDEBUG -DNDEBUG" was committed only recently. So, I think this is likely a hint to bug, otherwise masked by the many cases that "keyboard layout is broken after an upgrade from 1.3.99". ;-)

Shall I file that in bugzilla at freedesktop.org? I hope somebody can interpret those messages.
Comment 12 Martin Mokrejš 2009-01-30 18:33:51 UTC
Heh, another Gentoo user: https://bugs.freedesktop.org/show_bug.cgi?id=12660
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2009-02-01 14:28:48 UTC
Thing is, you've never even stated what your bug was. I assumed you were only talking about the asserts.

Now please restate what your *real* issue is and please change the bug title accordingly so that I don't lose my mind trying to figure out what is wrong.

Thanks
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 18:12:21 UTC
Please reopen this bug once you can properly explain what your *real* bug is.

Thanks
Comment 15 Martin Mokrejš 2009-03-01 20:38:21 UTC
The (warning/error?) messages reported in the initial bug report did NOT disappear with correct keyboard layout definition (I will attach it as well for completeness). However, nobody even on the xorg@ mailing list (http://lists.freedesktop.org/mailman/listinfo/xorg under thread "[Bug 19947] xkbcomp-1.0.5: Group width mismatch between key	and type" on Fe23 2009) explained me what do they really mean.

If no developers know what is generating that ... I do not care either. Definitely, it was not related to my keyboard layout problem.



Currently am running with:

(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us,cz"
(**) Option "xkb_variant" ",qwerty"
(**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll,caps:shift_nocancel"


<deviceinfo version="0.2">
  <device>
   <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
   </match>

   <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_driver" type="string">evdev</merge>
      <merge key="input.xkb.rules" type="string">xorg</merge>
      <merge key="input.xkb.model" type="string">pc105</merge>
      <merge key="input.xkb.layout" type="string">us,cz</merge>
      <merge key="input.xkb.variant" type="string">,qwerty</merge>
      <merge key="input.xkb.options" type="string">grp:alt_shift_toggle,grp_led:scroll,caps:shift_nocancel</merge>
   </match>

   <match key="info.product" contains="Video Bus">
      <remove key="input.x11_driver"/>
      <remove key="input.xkb"/>
   </match>
  </device>
</deviceinfo>