Bug#431746: Xinerama active, but = 0 screens?

2007-08-12 Thread Emanuele Rocca
Hello Brice,

* Brice Goglin [EMAIL PROTECTED], [2007-08-11 14:14 +0200]:
  The problem might be fixed  by the following patch
  
 http://cvs.fedora.redhat.com/viewcvs/*checkout*/rpms/xorg-x11-server/devel/xserver-1.3.0-randrama-no-zero-screens.patch?rev=1.1
  
  Could any of you rebuild xserver-xorg-core 1.3 with it and reports
  whether it helps?

I can confirm that Fedora's patch solves the problem.

Thank you very much.
ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432256: libxinerama1: XineramaIsActive disagrees with XineramaQueryScreens on sparc

2007-07-08 Thread Emanuele Rocca
Package: libxinerama1
Version: 1:1.0.2-1
Severity: important

Hi,
according to XineramaIsActive(3):

 XineramaIsActive()
The  XineramaActive function returns a Boolean operator used to determine 
if Xin‐
erama is activated on the screen. Returns True  for  active  and  False  
for  not
active.

(there's a typo, s/XineramaActive/XineramaIsActive/)

 [...]

 XineramaQueryScreens() returns NULL and sets number to 0 if Xinerama is
 not active.

Actually on my sparc machine XineramaIsActive() returns True, while
XineramaQueryScreens sets the number of screens to 0 and returns a NULL
pointer.

This bug makes gdm unusable, and probably other packages.

I've tried the following program on sparc and i386:

#include stdio.h
#include X11/Xlib.h
#include X11/extensions/Xinerama.h

int main() {
Display *disp = XOpenDisplay(NULL);
int n_screens;
XineramaScreenInfo *xscreens = XineramaQueryScreens (disp,
n_screens);

printf(XineramaIsActive: %d\n, XineramaIsActive(disp));
printf(Number of screens: %d\n, n_screens);

if(xscreens == NULL)
printf(XineramaQueryScreens returned a NULL pointer\n);
else
printf(XineramaQueryScreens returned something useful\n);

XFree(xscreens);

return 0;
}

The program above prints the following on my sparc machine:

XineramaIsActive: 1
Number of screens: 0
XineramaQueryScreens returned a NULL pointer

Conversely, on i386 the bug is not reproducible:

XineramaIsActive: 1
Number of screens: 1
XineramaQueryScreens returned something useful

ciao,
ema

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.22-rc7
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxinerama1 depends on:
ii  libc6 2.5-9  GNU C Library: Shared libraries
ii  libx11-6  2:1.0.3-7  X11 client-side library
ii  libxext6  1:1.0.3-2  X11 miscellaneous extension librar
ii  x11-common1:7.2-5X Window System (X.Org) infrastruc

libxinerama1 recommends no packages.

-- no debconf information



Bug#432256: libxinerama1: XineramaIsActive disagrees with XineramaQueryScreens on sparc

2007-07-08 Thread Emanuele Rocca
Hi Brice,

* Brice Goglin [EMAIL PROTECTED], [2007-07-08 23:01 +0200]:
  Emanuele Rocca wrote:
   Actually on my sparc machine XineramaIsActive() returns True, while
   XineramaQueryScreens sets the number of screens to 0 and returns a NULL
   pointer.

  The exact same bug has been reported in #431746. 

Uh! I checked only libxinerama's bugs before filing this one, sorry.

  Which xserver-xorg-core and drivers are you using on these machines?

xserver-xorg-core: 2:1.3.0.0.dfsg-6
xserver-xorg-video-sunffb: 1:1.1.0-2

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#432256: libxinerama1: XineramaIsActive disagrees with XineramaQueryScreens on sparc

2007-07-08 Thread Emanuele Rocca
* Brice Goglin [EMAIL PROTECTED], [2007-07-08 23:45 +0200]:
  Emanuele Rocca wrote:
   xserver-xorg-core: 2:1.3.0.0.dfsg-6
   xserver-xorg-video-sunffb: 1:1.1.0-2

  What about the i386 machine?

xserver-xorg-core: 2:1.3.0.0.dfsg-7
xserver-xorg-video-ati: 1:6.6.3-2

I'm not much into X internals, but after a quick grep for Xinerama on
-video-ati and -video-sunffb it seems to me that the latter doesn't
provide useful replies to Xinerama related requests like
X_XineramaIsActive, while the former does.

Somehow libxinerama assumes that XineramaIsActive even if sunffb doesn't
handle such request?

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#233874: xserver-xfree86: less and greater keys not presents with XkbModel = pc104 and XkbLayout= it

2004-02-20 Thread Emanuele Rocca
Package: xserver-xfree86
Version: 4.3.0-2
Severity: minor

Don't know if this bug should be filed against xserver-xfree86 or xlibs.

With xfree 4.2 and XkbModel=pc104 the less and greater keys where
recognized correctly on my laptop's keyboard.

After the recent upgrade those keys were not available with
XkbModel=pc104.

Setting XkbModel to pc105 everything works correctly:

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  CoreKeyboard
Option XkbRules xfree86
Option XkbModel pc105
Option XkbLayout it

EndSection


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.0-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Cheers,
ema
-- 
Emanuele Rocca |Lui che offrì la faccia al vento, la gola al vino e mai
1024D/EAF19B60 | un pensiero, non al denaro non all'amore nè al cielo...


signature.asc
Description: Digital signature