[ANNOUNCE] xorg-server 1.9.99.902 (1.10 RC2)

2011-02-18 Thread Keith Packard

RC2 has all of the reviewed fixes merged in. The only fixes I've got
pending at this point are some RandR DIX fixes that haven't been
reviewed yet.

Other than that, I think we're pretty much ready for the 1.10
release. Let me know if you've got pending fixes that you want to see
merged in 1.10.

-keith

Adam Jackson (32):
  xfree86: Remove unused xf86inSuspend
  Remove SCO support
  fonts: Fix typo in async ListFonts logic
  xfree86: Symmetrize xf86AccessEnter and xf86AccessLeave
  xfree86: Remove xf86EnterServerState
  xfree86: Convert some xf86BlockSIGIO to OsBlockSignals
  config: warning fixes
  loader: warning fix
  dri1: warning fix
  xcmisc: warning fix
  glx: warning fixes
  linux: warning fix
  x86emu: Fix more mis-decoding of the data prefix
  dix: Add a Screen method for additional cursor confinement
  dmx: warning fixes
  dmx: warning fix
  dmx: warning fix
  dmx: warning fixes
  xdmxconfig: warning fix
  os: Reduce smart scheduler setup calls
  resource: s/NullResource/NULL/g
  resource: Remove expectID hack
  resource: Fix indentation
  xselinux: Fix GetDrawableContext
  xf86vidmode: warning fix
  int10: warning fix
  fbdevhw: Remove the non-sysfs hack for mapping from PCI to fbdev
  xfree86: warning fix
  fb: Remove hw/xfree86/ from includes
  damage: Remove hw/xfree86/ from includes
  rootless: Remove hw/xfree86/ from includes
  shadow: Remove hw/xfree86/ from includes

Alan Coopersmith (12):
  Move inclusion of panoramiX headers to top of render.c
  Sun's copyrights now belong to Oracle
  Add asprintf() implementation for platforms without it
  Convert existing Xprintf style calls to asprintf style
  Convert hw/xfree86/parser code to use asprintf() calls
  Convert alloc+sprintf pairs into asprintf()  XNFasprintf() calls
  Replace alloc+strcpy+strcat with asprintf()  XNFasprintf() calls
  Convert cvt code to use XNFasprintf()
  Bug 32436 - hw/xfree86/parser/Makefile.am TOP_SRCDIR should be top_srcdir
  Fix asprintf typo in commit d2c42b10
  xkb/ddxLoad.c doesn't need paths.h any more
  Add xorg.conf.d shadow man page pointing to xorg.conf man page

Ander Conselvan de Oliveira (4):
  ProcRRQueryVersion: fix use of uninitialised bytes valgrind error.
  ProcRRCreateMode: fix use of uninitialised bytes valgrind error.
  XkbSendNames: fix use of uninitialised bytes valgrind error.
  ProcXkbGetXkbByName: fix use of uninitialised bytes valgrind error.

Carlos Garnacho (1):
  Xi: make XIQueryPointer return the current modifiers/group as documented.

Chase Douglas (4):
  Export all valuator_mask_* functions
  Make EventIsDeliverable non-static
  Export all valuator_mask_* functions
  Make EventIsDeliverable non-static

Christopher James Halse Rogers (2):
  Xext: Fix edge case with {Positive, Negative}Transition triggers.
  IDLETIME: Fix edge-case in IdleTimeBlockHandler

Colin Harrison (1):
  Typo in xserver Xvasprintf()

Cyril Brulebois (10):
  Fix GLX_LIBS vs. DMX_LIBS order.
  Fix missing string.h include.
  Replace LookupIDByType() with dixLookupResourceByType(), take 1.
  Replace LookupIDByType() with dixLookupResourceByType(), take 2.
  Enable silent rules for cat and echo.
  Replace SecurityLookupIDByType() with dixLookupResourceByType(), take 1.
  Replace SecurityLookupIDByType() with dixLookupResourceByType(), take 2.
  Replace SecurityLookupIDByClass() with dixLookupResourceByClass().
  dix: Simplify deprecated *Lookup* wrappers around dixLookup*.
  dix: Fix logic for displaying deprecation warning only once.

Dan Nicholson (1):
  xfree86: Convert libxf86config to static libtool library

Daniel Stone (23):
  Resources: Move rClient to resource.h
  Input: Set client error value for invalid mask bits
  GetTimeInMillis: Use CLOCK_MONOTONIC_COARSE where available
  mi: Sync: Don't free managed screen private
  Render: Fix 'comparing between distinct pointer types' warning
  Resources: Move rClient to resource.h
  Input: Set client error value for invalid mask bits
  udev: Add strdups to kill const warnings
  GLX: DRI2: Fix mismatched-types warning
  DIX: Reset window properties when freeing them
  XFree86: Linux: AGP: Fix void-pointer-arithmetic warning
  Input: Swap flags in DeviceEvents
  Test: Input: Add helper function for failing EventToCore
  Test: Input: Check flags on DeviceEvent
  Test: Input: Test up to supported server, not protocol, events
  Input: Export SpriteRec for use in public API
  Input: Make RootWindow() take a sprite instead of device
  Input: Pass sprite instead of device to FixUpEventFromWindow
  Input: Pass sprite instead of device to XYToWindow, make non-static
  Input: Handle grabs with no Xi 1.x equivalent
  Input: 

Build error for the Xorg R7.6 in Ubuntu 10.10

2011-02-18 Thread Chen, Dennis (SRDC SW)

I found that the  following build instruction doesn't work in my ubuntu 10.10:
=
http://lists.x.org/archives/xorg-devel/2009-August/001826.html :

Quickstart for those that do not use jhbuild:

export PREFIX=/opt/xorg
export LD_LIBRARY_PATH=$PREFIX/lib
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL=aclocal -I $PREFIX/share/aclocal
git clone git://anongit.freedesktop.org/git/xorg/util/modular/ util/modular
echo util/macros  built.modules

./util/modular/build.sh --clone -p -f built.modules -r `tail -n 1 
built.modules` $PREFIX
=

For the last cmd above, my system will give the below error:

root@LinuxFGL:/home/dennis/xorg_test/util/modular# ./build.sh --clone -p -f 
built.modules -r `tail -n 1 built.modules` $PREFIX
'prefix' appears to be an option

Usage: build.sh [options] [prefix]
Options:
...


Some env variables in my system as:

XORG_CONFIG=--prefix=/usr  --sysconfdir=/etc  
--mandir=/usr/share/man  --localstatedir=/var
ACLOCAL=aclocal -I /opt/xorg/share/aclocal
LD_LIBRARY_PATH=/opt/xorg/lib
XORG_PREFIX=/usr
PREFIX=/opt/xorg
PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig
...

Does anybody encounter this issue before? I am trying to build the xorg R7.6 
and debug the Xserver these days.
Thanks!
 
-Dennis


-Original Message-
From: Peter Hutterer [mailto:peter.hutte...@who-t.net] 
Sent: 2011年2月17日 6:23
To: Chen, Dennis (SRDC SW)
Cc: x...@freedesktop.org
Subject: Re: How to build a Xserver module with the tar ball source code 
xorg-server-1.9.3

On Tue, Feb 15, 2011 at 02:00:36PM +0800, Chen, Dennis (SRDC SW) wrote:
 I've download the tar ball xorg-server-1.9.3 source code from the
 www.x.org, but I can't find the build detail step base on the source
 code, would you pls tell me how to build the source code to generate a
 Xserver module or the online link to do that?

http://wiki.x.org/wiki/ModularDevelopersGuide

but really, as long as you've got all the dependencies installed it's a
matter of ./autogen.sh --prefix=/usr and running make.

Cheers,
  Peter


___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: [PATCH] Replace malloc with calloc to initialize the buffers[] as NULL in do_get_buffers function

2011-02-18 Thread Keith Packard
On Thu, 10 Feb 2011 16:27:29 -0500, Kristian Høgsberg k...@bitplanet.net 
wrote:

 The calling for allocate_or_reuse_buffer may fail due to some reason, e.g. 
 out of memory.
 If the buffers[] were not initialized to be NULL, the following err_out may 
 try to access an illegal memory, which will cause X crash afterward.

Merged.
   0bc9b15..a73c28f  master - master

-- 
keith.pack...@intel.com


pgpKMypY0q8u2.pgp
Description: PGP signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Build error for the Xorg R7.6 in Ubuntu 10.10

2011-02-18 Thread Gaetan Nadon
On Fri, 2011-02-18 at 11:00 +0800, Chen, Dennis (SRDC SW) wrote:

 I found that the  following build instruction doesn't work in my
 ubuntu 10.10:
 =
 http://lists.x.org/archives/xorg-devel/2009-August/001826.html :
 

These instructions are a couple of years old. The build.sh script had a
major update recently.
The --help is up-to-date.

This wiki has been updated as well.
http://wiki.x.org/wiki/ModularDevelopersGuide#Buildingthemodulartree

You can let the build script set the environment variables for you.
The default values should work for you unless you have very special
needs.

What you might get into is some missing tools. This wiki lists all the
packages
you need to build xorg. It would be nice if you could update it with
version 10.10.
You have about 20 or so UBUNTU packages to install.
http://wiki.x.org/wiki/RequiredPackages


Usage: build.sh -L
  -L : just list modules to build
util/modular/build.sh -L  modlist.txt  # Creates a list of all modules 
to be built

Usage: build.sh [options] [prefix]

util/modular/build.sh --clone -n# Do not stop on error
util/modular/build.sh --clone --autoresume resume.txt   # Stop on error 
but record where you are


You must supply the prefix which is where you want the modules to
install the binaries, not where the source code is (but it could be the
same). Expect a git repository to time out, it happens sometimes.

Gaetan


signature.asc
Description: This is a digitally signed message part
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: XOpenDisplay

2011-02-18 Thread Glynn Clements

Al'miev Il'dar wrote:

 Hello, i am a beginner in X-Windows, i have a question:
 
 in the function XOpenDisplay(display_name), where
 
 display_name=hostname:displaynumber.screennumber,
 
 1) does hostname mean a name of a computer, physically existing,
 where it would be necessary to open a graphical applications (that is
 a computer-client), or is it a computer-server ?

It's the name of the computer running the X server which the
application wishes to use.

 2) what is displaynumber and screennumber in terms of physically
 existing displays-screens and computer-client(s) and computer-server ?

A display is an X server. You can run multiple X servers on a single
computer. In the most common case, the computer arbitrates access to
the keyboard, mouse and display, but it can also work if you have
multiple keyboards/mice/displays, or if the X server is using virtual
hardware, e.g. Xvnc.

 3) what is the difference between the terms display and screen ?

Each display is a separate X server, with a keyboard, mouse and one or
more monitors. A screen corresponds to a single monitor on systems
which don't split a single logical screen across all monitors.

 4) if display_name=NULL, then display is opened in the local
 computer

If you pass NULL as the display name, the value of the DISPLAY
environment variable is used. This may or may not refer to the local
system.

 - this is implicit
 designation of the local computer, How to provide display_name explicitly ? 
 that is
 would it work for example:
 
 local:0.0 ?

Omit the hostname for a local display, e.g. :0 for the first X
server running on the local host. If no hostname is given, the
connection will be to a Unix-domain socket in /tmp/.X11-unix. If a
hostname is used, the connection will be a TCP connection to port 6000
plus the display number on the specified host.

A connection via a Unix-domain socket is more likely to succeed than
one via TCP; X servers are often configured to ignore TCP connections
as a security measure. It's also more efficient.

 3) is it possible to provide hostname=1.2.3.4. (which is an
 IP-address), instead of the name of the computer ?

Yes.

-- 
Glynn Clements gl...@gclements.plus.com
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


[ANNOUNCE] xorg-server 1.9.99.902 (1.10 RC2)

2011-02-18 Thread Keith Packard

RC2 has all of the reviewed fixes merged in. The only fixes I've got
pending at this point are some RandR DIX fixes that haven't been
reviewed yet.

Other than that, I think we're pretty much ready for the 1.10
release. Let me know if you've got pending fixes that you want to see
merged in 1.10.

-keith

Adam Jackson (32):
  xfree86: Remove unused xf86inSuspend
  Remove SCO support
  fonts: Fix typo in async ListFonts logic
  xfree86: Symmetrize xf86AccessEnter and xf86AccessLeave
  xfree86: Remove xf86EnterServerState
  xfree86: Convert some xf86BlockSIGIO to OsBlockSignals
  config: warning fixes
  loader: warning fix
  dri1: warning fix
  xcmisc: warning fix
  glx: warning fixes
  linux: warning fix
  x86emu: Fix more mis-decoding of the data prefix
  dix: Add a Screen method for additional cursor confinement
  dmx: warning fixes
  dmx: warning fix
  dmx: warning fix
  dmx: warning fixes
  xdmxconfig: warning fix
  os: Reduce smart scheduler setup calls
  resource: s/NullResource/NULL/g
  resource: Remove expectID hack
  resource: Fix indentation
  xselinux: Fix GetDrawableContext
  xf86vidmode: warning fix
  int10: warning fix
  fbdevhw: Remove the non-sysfs hack for mapping from PCI to fbdev
  xfree86: warning fix
  fb: Remove hw/xfree86/ from includes
  damage: Remove hw/xfree86/ from includes
  rootless: Remove hw/xfree86/ from includes
  shadow: Remove hw/xfree86/ from includes

Alan Coopersmith (12):
  Move inclusion of panoramiX headers to top of render.c
  Sun's copyrights now belong to Oracle
  Add asprintf() implementation for platforms without it
  Convert existing Xprintf style calls to asprintf style
  Convert hw/xfree86/parser code to use asprintf() calls
  Convert alloc+sprintf pairs into asprintf()  XNFasprintf() calls
  Replace alloc+strcpy+strcat with asprintf()  XNFasprintf() calls
  Convert cvt code to use XNFasprintf()
  Bug 32436 - hw/xfree86/parser/Makefile.am TOP_SRCDIR should be top_srcdir
  Fix asprintf typo in commit d2c42b10
  xkb/ddxLoad.c doesn't need paths.h any more
  Add xorg.conf.d shadow man page pointing to xorg.conf man page

Ander Conselvan de Oliveira (4):
  ProcRRQueryVersion: fix use of uninitialised bytes valgrind error.
  ProcRRCreateMode: fix use of uninitialised bytes valgrind error.
  XkbSendNames: fix use of uninitialised bytes valgrind error.
  ProcXkbGetXkbByName: fix use of uninitialised bytes valgrind error.

Carlos Garnacho (1):
  Xi: make XIQueryPointer return the current modifiers/group as documented.

Chase Douglas (4):
  Export all valuator_mask_* functions
  Make EventIsDeliverable non-static
  Export all valuator_mask_* functions
  Make EventIsDeliverable non-static

Christopher James Halse Rogers (2):
  Xext: Fix edge case with {Positive, Negative}Transition triggers.
  IDLETIME: Fix edge-case in IdleTimeBlockHandler

Colin Harrison (1):
  Typo in xserver Xvasprintf()

Cyril Brulebois (10):
  Fix GLX_LIBS vs. DMX_LIBS order.
  Fix missing string.h include.
  Replace LookupIDByType() with dixLookupResourceByType(), take 1.
  Replace LookupIDByType() with dixLookupResourceByType(), take 2.
  Enable silent rules for cat and echo.
  Replace SecurityLookupIDByType() with dixLookupResourceByType(), take 1.
  Replace SecurityLookupIDByType() with dixLookupResourceByType(), take 2.
  Replace SecurityLookupIDByClass() with dixLookupResourceByClass().
  dix: Simplify deprecated *Lookup* wrappers around dixLookup*.
  dix: Fix logic for displaying deprecation warning only once.

Dan Nicholson (1):
  xfree86: Convert libxf86config to static libtool library

Daniel Stone (23):
  Resources: Move rClient to resource.h
  Input: Set client error value for invalid mask bits
  GetTimeInMillis: Use CLOCK_MONOTONIC_COARSE where available
  mi: Sync: Don't free managed screen private
  Render: Fix 'comparing between distinct pointer types' warning
  Resources: Move rClient to resource.h
  Input: Set client error value for invalid mask bits
  udev: Add strdups to kill const warnings
  GLX: DRI2: Fix mismatched-types warning
  DIX: Reset window properties when freeing them
  XFree86: Linux: AGP: Fix void-pointer-arithmetic warning
  Input: Swap flags in DeviceEvents
  Test: Input: Add helper function for failing EventToCore
  Test: Input: Check flags on DeviceEvent
  Test: Input: Test up to supported server, not protocol, events
  Input: Export SpriteRec for use in public API
  Input: Make RootWindow() take a sprite instead of device
  Input: Pass sprite instead of device to FixUpEventFromWindow
  Input: Pass sprite instead of device to XYToWindow, make non-static
  Input: Handle grabs with no Xi 1.x equivalent
  Input: 

Re: How to enable software rendering via X server

2011-02-18 Thread Roland Scheidegger
If direct rendering fails, indirect will be used.
So if LIBGL_ALWAYS_INDIRECT isn't set and you still get indirect
rendering, this is probably what happens. Use LIBGL_DEBUG=verbose
glxinfo to figure out why.

Roland


Am 16.02.2011 06:17, schrieb Neeraj N T:
 
 I unset LIBGL_ALWAYS_INDIRECT  and set only LIBGL_ALWAYS_SOFTWARE but
 the  output was still the same.
 
 
 Neeraj
 
 Dan Nicholson wrote:
 On Mon, Feb 14, 2011 at 11:15 PM, Neeraj N T neera...@tataelxsi.co.in 
 mailto:neera...@tataelxsi.co.in wrote:
   
 I set LIBGL_ALWAYS_SOFTWARE=1.But the output I got was the same:

 direct rendering: No
 OpenGL renderer string: Mesa DRI Intel(R) IGDNG_M GEM 20091221 2009Q4
 
 This means you also have LIBGL_ALWAYS_INDIRECT set, which means the
 server is creating the GLX context. I don't think you can easily
 control which dri driver the server opens, but I might be wrong. So,
 if you have LIBGL_ALWAYS_SOFTWARE set and LIBGL_ALWAYS_INDIRECT unset,
 then you should get direct rendering with the swrast.

 To review,

 LIBGL_ALWAYS_INDIRECT: use the X server's GLX context. This used to
 mean you'd also get software rendering, but with AIGLX you'll probably
 get the hardware DRI driver.

 LIBGL_ALWAYS_SOFTWARE: tell libGL to use the software renderer. This
 only works with direct rendering because otherwise you're getting the
 DRI driver that the X server opened, and it's not controlled by this
 variable.

 --
 Dan

   
 
 
 
 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: rscheidegger_li...@hispeed.ch

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


I wrote an easy shift/ctrl/etc hack.

2011-02-18 Thread Teika Kazura
Hi. I wrote a hack which provides for example space/shift dual role
key. When you press the space key alone, it's a space; but when you
press it with another key, it's a shift. Any pairs of keys are
possible. This means your hands stay almost always at their home
postion.

It's a fork of Xorg evdev driver (= xf86-input-evdev). If you're
interested, it's hosted at gitorious repository at-home-modifier:
http://gitorious.org/at-home-modifier

I refered to it a little ago which was coded by another. Now I
improved it which I believe is worth being public. Thanks Peter
Hutterer for a discussion.

With best regards.

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com