Bug#645481: xserver-xorg: Endianness issues

2011-11-01 Thread Julien Cristau
On Sun, Oct 16, 2011 at 08:48:37 +0100, Anton Ivanov wrote:

> Package: xserver-xorg
> Version: 1:7.5+8
> Severity: normal
> 
> 
> Xorg still has some endianness issues.
> 
> How to reproduce:
> 
> Xterm from big endian client (Mac Linux) to small endian server (pc) 
> (or reverse).  Any desktop environment, try to switch keyboard 
> layouts. Example - undef xfce switch between Bulgarian and English 
> keyboard.
> 
> At best - does not work (xfce from panel)
> 
> At worst X on the xterm dies outright (xfce from kbd properties).
> 
> Same in KDE3/4.
> 
Please try to capture the X traffic for either:
- little endian client against big and little endian servers
- or big endian client against big and little endian servers
so we can compare where the swapping goes wrong?

xtrace may be helpful for this.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2001121538.ga23...@radis.liafa.jussieu.fr



Bug#645481: xserver-xorg: Endianness issues

2011-10-16 Thread Anton Ivanov
Package: xserver-xorg
Version: 1:7.5+8
Severity: normal


Xorg still has some endianness issues.

How to reproduce:

Xterm from big endian client (Mac Linux) to small endian server (pc) 
(or reverse).  Any desktop environment, try to switch keyboard 
layouts. Example - undef xfce switch between Bulgarian and English 
keyboard.

At best - does not work (xfce from panel)

At worst X on the xterm dies outright (xfce from kbd properties).

Same in KDE3/4.

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Feb 23  2011 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1889472 Feb 18  2011 /usr/bin/Xorg

Diversions concerning libGL are in place

diversion of /usr/lib/libGL.so to /usr/lib/nvidia/diversions/libGL.so by 
libgl1-nvidia-alternatives
diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/diversions/libGL.so.1 by 
libgl1-nvidia-alternatives
diversion of /usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/nvidia/diversions/libglx.so by libglx-nvidia-alternatives
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/diversions/libGL.so.1.2 
by libgl1-nvidia-alternatives
diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/nvidia/diversions/libglx.so.dbg by libglx-nvidia-alternatives

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV44 [GeForce 6200 
LE] [10de:0163] (rev a1)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 3735 Feb 23  2011 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath"tcp/eden:7100"
FontPath"/usr/share/fonts/X11/misc"
FontPath"/usr/X11R6/lib/X11/fonts/misc"
FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath"/usr/share/fonts/X11/100dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/share/fonts/X11/75dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/share/fonts/X11/Type1"
FontPath"/usr/X11R6/lib/X11/fonts/Type1"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"i2c"
Load"bitmap"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
EndSection

Section "Device"
Identifier  "Generic Video Card"
#   Driver  "intel"
Driver  "nvidia"
#   Driver  "nv"
#   BusID   "PCI:4:0:0"
Option "Coolbits" "1"
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x"
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
Option  "DPMS"
HorizSync   28-140
VertRefresh 43-85
Modeline "1152x864x75.0"  115.20  1152 1216 1344 1600  864 865 868 900 
+hsync +vsync 
#   Modeline "1152x870"   106.6 1152 1168 1384 1568 870 870 878 909
Modeline "1152x870"   85.27 1152 1168 1384 1568 870 870 878 909
Modeline "1600x1200x75.0"  204.75  1600 1720 1888 2176  1200 1203 1207 
1255 -hsync