Cannot build libxcb from git

2008-11-01 Thread Nikos Chantziaras
Trying to build git master of libxcb, I get this:

  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -pedantic 
-Wpointer-arith -Wstrict-prototypes -Wmissing-declarations 
-Wnested-externs -march=core2 -O2 -fomit-frame-pointer -pipe -MT 
xcb_out.lo -MD -MP -MF .deps/xcb_out.Tpo -c xcb_out.c  -fPIC -DPIC -o 
.libs/xcb_out.o
xcb_out.c: In function ‘get_socket_back’:
xcb_out.c:61: error: ‘_xcb_out’ has no member named ‘return_socket’
xcb_out.c:61: error: ‘_xcb_out’ has no member named ‘socket_moving’
xcb_out.c:62: error: ‘_xcb_out’ has no member named ‘socket_cond’
xcb_out.c:63: error: ‘_xcb_out’ has no member named ‘return_socket’
xcb_out.c:66: error: ‘_xcb_out’ has no member named ‘socket_moving’
xcb_out.c:68: error: ‘_xcb_out’ has no member named ‘return_socket’
xcb_out.c:68: error: ‘_xcb_out’ has no member named ‘socket_closure’
xcb_out.c:70: error: ‘_xcb_out’ has no member named ‘socket_moving’
xcb_out.c:72: error: ‘_xcb_out’ has no member named ‘socket_cond’
xcb_out.c:73: error: ‘_xcb_out’ has no member named ‘return_socket’
xcb_out.c:74: error: ‘_xcb_out’ has no member named ‘socket_closure’
xcb_out.c: In function ‘xcb_take_socket’:
xcb_out.c:270: error: ‘_xcb_out’ has no member named ‘return_socket’
xcb_out.c:271: error: ‘_xcb_out’ has no member named ‘socket_closure’
xcb_out.c: In function ‘_xcb_out_init’:
xcb_out.c:308: error: ‘_xcb_out’ has no member named ‘socket_cond’
xcb_out.c:310: error: ‘_xcb_out’ has no member named ‘return_socket’
xcb_out.c:311: error: ‘_xcb_out’ has no member named ‘socket_closure’
xcb_out.c:312: error: ‘_xcb_out’ has no member named ‘socket_moving’
make[2]: *** [xcb_out.lo] Error 1

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Cannot build libxcb from git

2008-11-01 Thread Julien Cristau
On Sat, Nov  1, 2008 at 12:25:05 +0200, Nikos Chantziaras wrote:

 Trying to build git master of libxcb, I get this:
 
   x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -pedantic 
 -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations 
 -Wnested-externs -march=core2 -O2 -fomit-frame-pointer -pipe -MT 
 xcb_out.lo -MD -MP -MF .deps/xcb_out.Tpo -c xcb_out.c  -fPIC -DPIC -o 
 .libs/xcb_out.o
 xcb_out.c: In function ‘get_socket_back’:

You're not building git master, that function doesn't exist there.  This
sounds like you're mixing xcb_out.c from the handoff branch and xcbint.h
from master.

Cheers,
Julien
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Rotate trouble on r300 (was: Re: XRandR rotate support HW rotate or not?)

2008-11-01 Thread Michel Dänzer
On Fri, 2008-10-31 at 19:17 +0100, Xavier Bestel wrote:
 Le vendredi 31 octobre 2008 à 09:34 -0400, Alex Deucher a écrit :
  2008/10/31  [EMAIL PROTECTED]:
   Dear Keith Packard:
  
 I have recently study RandR,  I found if we use RandR rotate no 
   matter
   static rotate or dynamic rotate,we always use RandR's own software rotate.
  
 We draw the screen desktop very slow,  how can we support HW rotate
   using RandR or it is a RandR limitation, if it is, RandR1.3 has support HW
   rotate or not ?
  
  Your driver needs to implement the EXA composite hook with support for
  transforms and the randr 1.2 shadow_create/allocate/destroy hooks.
  The basic idea is that when you elect to rotate your screen, a shadow
  framebuffer is allocated in the randr core code calling the driver
  shadow* hooks to allocate a buffer for the rotated screen.  The crtc
  is then pointed to this shadow buffer.  The randr core code then uses
  the driver's EXA composite hook to transform the regions that are
  damaged and display them in the shadow buffer.  Both the Intel driver
  and the radeon driver implement this.
 
 BTW, does anyone know why rotating the screen doesn't play well with
 compiz on an r300 ? The screen looks garbled (like if the framebuffer
 wasn't rotated so the pitch is all wrong), every second image (e.g. when
 you move the cube slowly, one image is perfect, the next one is
 garbled).

Does disabling tiling and/or page flipping help?


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Sony SR19XN - Intel X4500MHD

2008-11-01 Thread Martin Kemp
hi

i'm running intel 2.5 drivers, mesa 7.2, libdrm 2.3.1 on ubuntu 8.10.

I can only get vision using the vesa drivers on the LCD monitor, but when i
change to intel in xorg.conf, ubuntu boots and logs in, but the screen
remains blank (but with the backlight on)

Does any one have any idea what i can do to fix this? i've included
xorg.conf and xorg.0.log.

I was hoping 2.5 would fix this!

many thanks for your help

-- 
Martin Kemp
Tel: 07779 236114




-- 
Martin Kemp
Tel: 07779 236114


Xorg.0.intel
Description: Binary data


xorg.intel
Description: Binary data
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Sony SR19XN - Intel X4500MHD

2008-11-01 Thread Karsten Heiken
Hi Martin,

You are not the only one suffering from this bug.
There is a bugreport for this problem:
http://bugs.freedesktop.org/show_bug.cgi?id=17292

I also bought an SR19XN - great notebook...
The GM45 _should_ work, but it looks like Sony messed something up ;)

Regards,
Karsten

2008/11/1 Martin Kemp [EMAIL PROTECTED]

 hi

 i'm running intel 2.5 drivers, mesa 7.2, libdrm 2.3.1 on ubuntu 8.10.

 I can only get vision using the vesa drivers on the LCD monitor, but when i
 change to intel in xorg.conf, ubuntu boots and logs in, but the screen
 remains blank (but with the backlight on)

 Does any one have any idea what i can do to fix this? i've included
 xorg.conf and xorg.0.log.

 I was hoping 2.5 would fix this!

 many thanks for your help

 --
 Martin Kemp
 Tel: 07779 236114




 --
 Martin Kemp
 Tel: 07779 236114


 ___
 xorg mailing list
 xorg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xorg

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Sony SR19XN - Intel X4500MHD

2008-11-01 Thread Tobias Hain
Hello Martin,

 i'm running intel 2.5 drivers, mesa 7.2, libdrm 2.3.1 on ubuntu 8.10.

Ubuntu 8.10 ships with 2.4.1 (= actually 2.4.2 drivers if you look into the
changelog):
http://packages.ubuntu.com/intrepid/xserver-xorg-video-intel

Where did you get the intel 2.5.x drivers from? If try to compile yourself
you'll see it requires libdrm =2.4.0.

That being said you need at least libdrm =2.4.0 e.g. available here:
https://launchpad.net/~xorg-edgers/+archive
https://launchpad.net/~raof/+archive

Maybe that doesn't solve your problem, but in order to trace the bug you
need to fix that first.

regards,
7oby

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: libdrm 2.4.1

2008-11-01 Thread Colin Guthrie
Eric Anholt wrote:
 New libdrm release to fix the symbol name collision between Mesa 7.2 and
 libdrm_intel.  Also includes a fix for deadlock in non-GEM 2D, and
 support for aperture size checking in GEM.

 Eric Anholt (3):
   intel: Rename dri_ and intel_ symbols to drm_intel_.

Eric, the above commit broke things quite badly here.

Running this on xserver 1.4.2 and intel 2.5.0.

Not able to get some proper debug (it just crashes X) and I'm not really 
in a position to do so right now.

I'm guessing some of the compatibility defines are not working. or 
does this compatibility layer require a recompile of something else?

Reverting this commit works fine.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: libdrm 2.4.1

2008-11-01 Thread Lukas Hejtmanek
On Sat, Nov 01, 2008 at 02:46:40PM +, Colin Guthrie wrote:
 Eric, the above commit broke things quite badly here.
 
 Running this on xserver 1.4.2 and intel 2.5.0.
 
 Not able to get some proper debug (it just crashes X) and I'm not really 
 in a position to do so right now.
 
 I'm guessing some of the compatibility defines are not working. or 
 does this compatibility layer require a recompile of something else?

I guess that you need to recompile the intel driver. Anyway, is there a chance
you could run X server remotely? A missing symbol currently behaves much like
a crash but it does not crash it only does not restore the console properly.

-- 
Lukáš Hejtmánek
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Rotate trouble on r300 (was: Re: XRandR rotate support HW rotate or not?)

2008-11-01 Thread Xavier Bestel
Le samedi 01 novembre 2008 à 14:51 +0100, Xavier Bestel a écrit : 
 Le samedi 01 novembre 2008 à 12:25 +0100, Michel Dänzer a écrit :
  On Fri, 2008-10-31 at 19:17 +0100, Xavier Bestel wrote:
   BTW, does anyone know why rotating the screen doesn't play well with
   compiz on an r300 ? The screen looks garbled (like if the framebuffer
   wasn't rotated so the pitch is all wrong), every second image (e.g. when
   you move the cube slowly, one image is perfect, the next one is
   garbled).
  
  Does disabling tiling and/or page flipping help?
 
 Disabling page flipping helps a lot, thank you !
 Now it works perfectly well.
 I didn't try disabling tiling yet. Should I ?

Oh, and here is the log with page flipping enabled.
The only meaningful diffs I saw with page flipping disabled (apart that
it works) are:

-(**) RADEON(0): Option EnablePageFlip true
+(**) RADEON(0): Option EnablePageFlip false
-(**) RADEON(0): Page Flipping enabled
+(**) RADEON(0): Page Flipping disabled
-(II) RADEON(0): Damage tracking initialized for page flipping

HTH,
Xav

X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-1-686 i686 Debian
Current Operating System: Linux bip 2.6.26-1-686 #1 SMP Sat Oct 18 16:22:25 UTC 2008 i686
Build Date: 11 October 2008  08:22:35PM
xorg-server 2:1.5.2-1 ([EMAIL PROTECTED]) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Nov  1 09:45:02 2008
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor default monitor
(**) |   |--Device ATI Radeon 9600XT
(==) No monitor specified for screen Default Screen.
	Using a default monitor configuration.
(**) |--Input Device Generic Keyboard
(**) |--Input Device Generic Mouse
(**) Option AllowDeactivateGrabs
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) ModulePath set to /usr/lib/xorg/modules
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d04c0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 4.1
	X.Org XInput driver : 2.1
	X.Org Server Extension : 1.1
	X.Org Font Renderer : 0.6
(II) Loader running on linux
(++) using VT number 8

(--) PCI:*([EMAIL PROTECTED]:0:0) ATI Technologies Inc RV350 AR [Radeon 9600] rev 0, Mem @ 0xe000/0, 0xff8f/0, I/O @ 0xec00/0, BIOS @ 0x/131072
(--) PCI: ([EMAIL PROTECTED]:0:1) ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary) rev 0, Mem @ 0xd000/0, 0xff8e/0
(II) System resource ranges:
	[0] -1	0	0x - 0x (0x1) MX[B]
	[1] -1	0	0x000f - 0x000f (0x1) MX[B]
	[2] -1	0	0x000c - 0x000e (0x3) MX[B]
	[3] -1	0	0x - 0x0009 (0xa) MX[B]
	[4] -1	0	0x - 0x (0x1) IX[B]
	[5] -1	0	0x - 0x (0x1) IX[B]
(II) LoadModule: extmod

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx

(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor=X.Org Foundation
	compiled for 1.5.2, module version = 1.0.0
	ABI class: X.Org Server Extension, version 1.1
(==) AIGLX enabled
(==) Exporting typical set of GLX visuals
(II) Loading extension GLX
(II) LoadModule: 

DVI Output works only if Monitor is switched on upon X-Org start

2008-11-01 Thread Hendrik Friedel
Hello,

I'm using a LCD TV on my Radeon 9200. The TV has a conbined VGA/DVI Input. I
can switch between 'DVI-Analog' and 'DVI-Digital' on the menu of the TV.

If I start X and the TV is switcht to DVI-Digital, everything works fine.
But if I don't switchthe TV on or switch it to DVI-Analog when the X-Server
starts, I find no way of getting an Output on my TV via DVI-Digital. Only
DVI-Analog works then.

What I'd like to realise is, that the DVI-Digital always works, no matter
what the TV is switched to. If this is not possible, I'd like to switch it
on without restarting the X-Server vie commandline.

Is that possible?

Below: My xorg.conf, and the launch of xorg with DVI-Analog and DVI-Digital.
At last the output of xrandr in both cases

Greetings,
Hendrik



#
Here's my config:
cat /etc/X11/xorg.conf | grep \# -v | grep -v '^$'
Section Extensions
   Option Composite Enable
EndSection
Section Module
SubSection  extmod
EndSubSection
Loadfreetype
Load   glx
Load   dri
Load   drm
EndSection
Section Files
FontPath   /usr/share/fonts/misc/
FontPath   /usr/share/fonts/TTF/
FontPath   /usr/share/fonts/Type1/
FontPath   /usr/share/fonts/100dpi/
FontPath   /usr/share/fonts/75dpi/
EndSection
Section ServerFlags
EndSection
Section InputDevice
Identifier  Keyboard1
Driver  kbd
Option AutoRepeat 500 30
Option XkbRules   xorg
Option XkbModel   pc105
Option XkbLayout  de
EndSection
Section InputDevice
Identifier  Mouse1
Driver  mouse
Option Device  /dev/input/mice
Option ZAxisMapping   4 5 6 7
EndSection
Section Monitor
Identifier  meinMonitor
HorizSync   31.5 - 200

VertRefresh 45-60
  modeline 1920x1080 148.500 1920 2448 2492 2640 1080 1084 1089
1125 +hsync +vsync
EndSection
Section Device
Identifier  Standard VGA
VendorName  Unknown
BoardName   Unknown
Driver vga
EndSection
Section Device
Identifier  ATI Radeon
VendorName ATI Technologies Inc
Driver  radeon
Option UseInternalAGPGART no
EndSection
Section Screen
Identifier  Screen 1
Device  ATI Radeon
Monitor meinMonitor
DefaultDepth 24
Subsection Display
Depth   24
Virtual 1920 1080
Modes   1920x1080
ViewPort0 0
EndSubsection
EndSection
Section ServerLayout
Identifier  Simple Layout
Screen Screen 1
InputDevice Mouse1 CorePointer
InputDevice Keyboard1 CoreKeyboard
Option AIGLX True
EndSection
 Section DRI
Mode 0666
 EndSection


The X-Start with DVI-Digital selected on the TV
xinit

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/vdr:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux vdr 2.6.23.11-gentoo #5 SMP PREEMPT Sat Dec
15 15:11:42 CET 2007 i686
Build Date: 09 November 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Nov  1 17:33:28 2008
(==) Using config file: /etc/X11/xorg.conf
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(**) RADEON(0): RADEONPreInit
(II) Module already built-in
(II) Module already built-in
(EE) RADEON(0): Failed to parse MetaModes or no modes found. MergeFB mode
disabled.
(II) Module already built-in
(**) RADEON(0): RADEONScreenInit d800 0
(**) RADEON(0): Map: 0xd800, 0x0800
(**) RADEON(0): RADEONSave
(**) RADEON(0): RADEONSaveMode(0x821af80)
(**) RADEON(0): Read: 0x0006 0x00030047 0x
(**) RADEON(0): Read: rd=6, fd=71, pd=3
(**) RADEON(0): RADEONSaveMode returns 0x821af80
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(**) RADEON(0): RADEONDRICloseScreen
(**) RADEON(0): RADEONInitMemoryMap() :
(**) RADEON(0):   mem_size : 0x0800
(**) RADEON(0):   MC_FB_LOCATION   : 0xdfffd800
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffc0
(**) RADEON(0): RADEONModeInit()
1920x1080 148.50  1920 2448 2492 2640  1080 1084 1089 1125 (24,32) +H +V
1920x1080 148.50  1920 2448 2492 2640  1080 1084 1089 1125 (24,32) +H +V
(**) RADEON(0): Pitch = 15728880 bytes (virtualX = 1920, displayWidth =
1920)
(**) RADEON(0): dc=14850, of=29700, fd=132, pd=2
(**) RADEON(0): TMDS_PLL from 1f40191 to 1f40191
(**) RADEON(0): RADEONInit returns 0x821b930
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x821b930)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) 

Re: Cannot install fonts on FreeBSD due to a permission problem

2008-11-01 Thread Pramod Dematagoda
On Thu, 2008-10-30 at 20:59 +0530, Pramod Dematagoda wrote:
 Hello there, I have been building X-Server 1.5.1 on FreeBSD 7.0 and I've
 managed to build all prerequisites for X and X now tries to start,
 however at the end I realised that I had forgotten to install the fonts,
 but now when I try to install the fonts(any font for that matter), I get
 the error:-
 make install-data-hook
 PATHTOFONTS:Permission Denied
  Error code 1
 
 Can someone please tell me what I am doing wrong here or be so kind as
 to point me in the right direction?
 
 Thanks in advance.
 
 Regards,
 Pramod Dematagoda
 
Ok, I figured out the problem and managed to install the fonts properly.
But now another problem, the fonts.dir files created by mkfontdir is
completely empty, even if I run:-
mkfontdir /path/to/fonts(in this case, /usr/local/lib/X11/fonts/misc)
I just get a file with 0 which means that mkfontdir wasn't executed
properly. Can anyone please help?

Thanks in advance.

Regards,
Pramod Dematagoda

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Issues building synaptics + add orientation feature

2008-11-01 Thread Mildred Ki'Lya
Hi,

I wanted to modify a little bit the synaptics driver, but I have issues
building it properly. This is no major issue (some  constants not
defined) but I don't have any idea on the proper way to solve that. I
took the latest release from the git tree.

When i run ./configure (after ./autogen.sh of course), I get:

./configure: line 12587: XORG_MANPAGE_SECTIONS: command not found
./configure: line 12588: XORG_RELEASE_VERSION: command not found

I didn't notice any error running autogen (except perhaps underquoted
macros). The real problem comes when I try to build the source using
make:

make[2]: Entering directory `xf86-input-synaptics/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I../include/-I/usr/include/xorg -I/usr/include/pixman-1-I../src -MT 
synaptics.lo -MD -MP -MF .deps/synaptics.Tpo -c -o synaptics.lo synaptics.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ 
-I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT synaptics.lo -MD -MP 
-MF .deps/synaptics.Tpo -c synaptics.c  -fPIC -DPIC -o .libs/synaptics.o
synaptics.c:149: error: ‘PACKAGE_VERSION_MAJOR’ undeclared here (not in a 
function)
synaptics.c:149: error: ‘PACKAGE_VERSION_MINOR’ undeclared here (not in a 
function)
synaptics.c:149: error: ‘PACKAGE_VERSION_PATCHLEVEL’ undeclared here (not in a 
function)
make[2]: *** [synaptics.lo] Error 1
make[2]: Leaving directory `xf86-input-synaptics/src'


it seems that PACKAGE_VERSION_MAJOR,MINOR,PATCHLEVEL aren't defined.
But how to have them correctly defined?

If I run something like:

make CFLAGS=-DPACKAGE_VERSION_MAJOR=1 -DPACKAGE_VERSION_MINOR=1 
-DPACKAGE_VERSION_PATCHLEVEL=1

I can go a little further, but not that much, it seems that the header
xorg-server.h cannot be found:

In file included from synaptics.c:58:
../config.h:4:25: error: xorg-server.h: No such file or directory

But I have it on my system ... in /usr/include/xorg/xorg-server.h. So
what's going wrong?

Thanks for any help.



Anyway, I'm also up to adding a new feature to the driver, change the
orientation of the trackpad. You may ask me what could this be used
for. This comes because of the orientation option of xrandr. On a
laptop, I can change the orientation of the screen, but then, the
intuitive behaviour for the trackpad would be to change the orientation
as well. So the motion of your finger would reflect the same way on the
screen.

The best thing would be that the orientation would magically change if
xrandr changes the  orientation, but I don't have much idea on how to
do that. Fortunately, it is possible to change the orientation at
runtime using the shared memory. So it would be possible to change the
orientation of the trackpad at the same time.

So, I have a patch almost ready, I just have to test it to see if it
does what I want. I'm still not sure if swapping hw-x and hw-y is
effective or not :/ Are any of the maintainer interested by that patch?



Thanks.



Mildred


-- 
Mildred Ki'Lya
╭─ mildred593@online.fr ──
│ Jabber, GoogleTalk: [EMAIL PROTECTED]
│ Site: http://ki.lya.online.fr  GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Rotate trouble on r300 (was: Re: XRandR rotate support HW rotate or not?)

2008-11-01 Thread Alex Deucher
On Sat, Nov 1, 2008 at 12:29 PM, Xavier Bestel [EMAIL PROTECTED] wrote:
 Le samedi 01 novembre 2008 à 14:51 +0100, Xavier Bestel a écrit :
 Le samedi 01 novembre 2008 à 12:25 +0100, Michel Dänzer a écrit :
  On Fri, 2008-10-31 at 19:17 +0100, Xavier Bestel wrote:
   BTW, does anyone know why rotating the screen doesn't play well with
   compiz on an r300 ? The screen looks garbled (like if the framebuffer
   wasn't rotated so the pitch is all wrong), every second image (e.g. when
   you move the cube slowly, one image is perfect, the next one is
   garbled).
 
  Does disabling tiling and/or page flipping help?

 Disabling page flipping helps a lot, thank you !
 Now it works perfectly well.
 I didn't try disabling tiling yet. Should I ?

 Oh, and here is the log with page flipping enabled.
 The only meaningful diffs I saw with page flipping disabled (apart that
 it works) are:

 -(**) RADEON(0): Option EnablePageFlip true
 +(**) RADEON(0): Option EnablePageFlip false
 -(**) RADEON(0): Page Flipping enabled
 +(**) RADEON(0): Page Flipping disabled
 -(II) RADEON(0): Damage tracking initialized for page flipping

The pageflipping code doesn't deal with rotation yet.

Alex
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: DVI Output works only if Monitor is switched on upon X-Org start

2008-11-01 Thread Alex Deucher
On Sat, Nov 1, 2008 at 12:46 PM, Hendrik Friedel [EMAIL PROTECTED] wrote:
 Hello,

 I'm using a LCD TV on my Radeon 9200. The TV has a conbined VGA/DVI Input. I
 can switch between 'DVI-Analog' and 'DVI-Digital' on the menu of the TV.

 If I start X and the TV is switcht to DVI-Digital, everything works fine.
 But if I don't switchthe TV on or switch it to DVI-Analog when the X-Server
 starts, I find no way of getting an Output on my TV via DVI-Digital. Only
 DVI-Analog works then.

 What I'd like to realise is, that the DVI-Digital always works, no matter
 what the TV is switched to. If this is not possible, I'd like to switch it
 on without restarting the X-Server vie commandline.

 Is that possible?

You can dynamically turn outputs on and off with xrandr 1.2.  Based on
your log it looks like you are using an old pre-randr 1.2 version of
the radeon driver.  Upgrade to xf86-video-ati 6.8.0 or 6.9.0.

Alex
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Cannot build libxcb from git

2008-11-01 Thread James Cloos
If that is due to the ebuilds in either the x11 project’s overlay or my
live-x11 overlay, I’ve updated them — in both overlays — to compile.

Libxcb’s master and handoff branches have diverged enough that the patch
sequence generated by git format-patch was misapplied by patch(1) during
the ebuild(1) process.

I am running libxcb and libX11 from the overlays now.

-JimC
-- 
James Cloos [EMAIL PROTECTED] OpenPGP: 1024D/ED7DAEA6
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

gtkperf freeze, a backtrace, and not sure what to file the bug against.

2008-11-01 Thread Maarten Maathuis
Based on the backtrace there are several things that could cause this.

xcb, xrender and cairo are amongst the first that come to mind.

This happens on the GtkDrawingArea - Text test only.

Any idea who i should poke?

Maarten.


#0  0x7fc6f74826e3 in __select_nocancel () from /lib/libc.so.6
#1  0x7fc6f491d9c4 in _xcb_conn_wait () from /usr/lib/libxcb.so.1
#2  0x7fc6f491f327 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x7fc6f6f008c8 in _XReply () from /usr/lib/libX11.so.6
#4  0x7fc6f6efb38f in _XSeqSyncFunction () from /usr/lib/libX11.so.6
#5  0x7fc6f5351989 in XRenderFillRectangles () from /usr/lib/libXrender.so.1
#6  0x7fc6f6981275 in _cairo_xlib_surface_fill_rectangles () from
/usr/lib/libcairo.so.2
#7  0x7fc6f696ce3b in _cairo_surface_fill_rectangles () from
/usr/lib/libcairo.so.2
#8  0x7fc6f696cfad in _cairo_surface_fill_region () from
/usr/lib/libcairo.so.2
#9  0x7fc6f696ed06 in _clip_and_composite_trapezoids () from
/usr/lib/libcairo.so.2
#10 0x7fc6f696f3e8 in _cairo_surface_fallback_paint () from
/usr/lib/libcairo.so.2
#11 0x7fc6f696cd82 in _cairo_surface_paint () from /usr/lib/libcairo.so.2
#12 0x7fc6f696db28 in _cairo_surface_create_similar_solid () from
/usr/lib/libcairo.so.2
#13 0x7fc6f6965608 in _cairo_pattern_acquire_surface_for_solid ()
from /usr/lib/libcairo.so.2
#14 0x7fc6f696609e in _cairo_pattern_acquire_surface () from
/usr/lib/libcairo.so.2
#15 0x7fc6f697f5ee in _cairo_xlib_surface_show_glyphs () from
/usr/lib/libcairo.so.2
#16 0x7fc6f696c19d in _cairo_surface_show_text_glyphs () from
/usr/lib/libcairo.so.2
#17 0x7fc6f695a6b1 in _cairo_gstate_show_text_glyphs () from
/usr/lib/libcairo.so.2
#18 0x7fc6f6956091 in cairo_show_glyphs () from /usr/lib/libcairo.so.2
#19 0x7fc6f71b4c73 in pango_cairo_renderer_show_text_glyphs ()
from /usr/lib/libpangocairo-1.0.so.0
#20 0x7fc6f71b4ed3 in pango_cairo_renderer_draw_glyphs () from
/usr/lib/libpangocairo-1.0.so.0
#21 0x7fc6f7c31eec in pango_renderer_draw_glyphs () from
/usr/lib/libpango-1.0.so.0
#22 0x7fc6f71b3cb2 in _pango_cairo_do_glyph_string () from
/usr/lib/libpangocairo-1.0.so.0
#23 0x7fc6f7c31eec in pango_renderer_draw_glyphs () from
/usr/lib/libpango-1.0.so.0
#24 0x7fc6f7c31e71 in pango_renderer_draw_glyph_item () from
/usr/lib/libpango-1.0.so.0
#25 0x7fc6f7c323bb in pango_renderer_draw_layout_line () from
/usr/lib/libpango-1.0.so.0
#26 0x7fc6f7c32800 in pango_renderer_draw_layout () from
/usr/lib/libpango-1.0.so.0
#27 0x7fc6f80952d7 in gdk_draw_layout_with_colors () from
/usr/lib/libgdk-x11-2.0.so.0
#28 0x7fc6f809547f in gdk_draw_layout () from /usr/lib/libgdk-x11-2.0.so.0
#29 0x00407ccc in on_idle_gtkdrawingarea_text_test ()
#30 0x7fc6f773f5f4 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#31 0x7fc6f77415e0 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#32 0x7fc6f7742410 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#33 0x7fc6f8652d27 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x0040459c in main ()
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg