Xorg R7.6 mesa/egl Makefile fixing in Ubuntu 10.10

2011-02-21 Thread Chen, Dennis (SRDC SW)
Hi All,

 

I found that current the Makefile of mesa/mesa/src/egl/main in X11 R7.6
has the below line:

 

INCLUDE_DIRS = -I$(TOP)/include

 

When build the mesa module in Ubuntu system, this will led to a build
error complaining can't find the X11/Xlib.h, that's because in ubuntu,
the Xlib.h is located in /usr/include/X11 by default, so I think

The Makefile should be changed to:

 

INCLUDE_DIRS = -I$(TOP)/include -I/usr/include/X11

 

Dennis

 

___
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: Xorg R7.6 mesa/egl Makefile fixing in Ubuntu 10.10

2011-02-21 Thread Michel Dänzer
On Mon, 2011-02-21 at 16:05 +0800, Chen, Dennis (SRDC SW) wrote: 
 Hi All,
 
  
 
 I found that current the Makefile of mesa/mesa/src/egl/main in X11
 R7.6 has the below line:
 
  
 
 INCLUDE_DIRS = -I$(TOP)/include
 
  
 
 When build the mesa module in Ubuntu system, this will led to a build
 error complaining “can’t find the X11/Xlib.h”, that’s because in
 ubuntu, the Xlib.h is located in /usr/include/X11 by default, so I
 think
 
 The Makefile should be changed to:
 
  
 
 INCLUDE_DIRS = -I$(TOP)/include -I/usr/include/X11

Please send a patch (preferably generated by git format-patch) to the
mesa-dev mailing list at lists.freedesktop.org .


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer
___
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

Multiple head cursor collision detection

2011-02-21 Thread Mihai Draghicioiu
Hi guys! I have a triple monitor setup (see
http://lists.freedesktop.org/archives/xorg/2011-January/052383.html
for more details), with the leftmost and rightmost monitors being
setup to be slightly below the middle monitor's top line (see
http://img819.imageshack.us/img819/5999/triplehead.png), and my
problem is that when i move the cursor along the top edge of the
middle monitor, and hit the right or left edge and the cursor is about
to enter one of the side monitors, instead of stopping at the right
edge of the middle monitor, the cursor y position is set to the top of
the side monitor. On Windows, the cursor stops at the edge of the
monitor, and to enter the lateral monitors, one has to lower the
cursor until it's low enough to enter the other monitor. Vertically,
this works fine. If the cursor is in one of the side monitors and i
try to move it upwards, it stops at the top edge of the monitor. If I
move the cursor along the top edge until it enters the middle monitor,
after it enters it, I can move it up some more until it reaches the
topmost edge of the middle monitor. This is correct, in my view. The
incorrect situation is when i move the cursor along the top edge of
the middle monitor and the y position is warped.

So my question is whether i can get this to work like it does in
Windows. This is more correct, in my opinion. This is also more
useful, because with my window manager (and others too, probably), i
can just move the cursor to the top right corner (and have it slide
along the edges until it hits the corner, so all i have to do is move
the mouse diagonally). Let me try to illustrate:
http://img218.imageshack.us/img218/7996/cursorn.png (the blue and
purple lines illustrate where the cursor ends up).

I hope my question is clear. I have a feeling that this has never been
implemented in X.

Thanks!
___
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


XFT and xorg-macros

2011-02-21 Thread Krosh Ivanov
Hi,
I know XFT depends on xorg-macros to be installed, but I keep getting the
error must install xorg-macros  1.8... despite having had installed the
most recent version of xorg-macros and copied the *.pc of xorg-macros to
/usr/local/lib/pkgconfig and to /usr/lib/pkgconfig. Why is it happening?

Thanks in advance,
Ivan
___
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: XFT and xorg-macros

2011-02-21 Thread Julien Cristau
On Mon, Feb 21, 2011 at 11:11:13 -0300, Krosh Ivanov wrote:

 Hi,
 I know XFT depends on xorg-macros to be installed, but I keep getting the
 error must install xorg-macros  1.8... despite having had installed the
 most recent version of xorg-macros and copied the *.pc of xorg-macros to
 /usr/local/lib/pkgconfig and to /usr/lib/pkgconfig. Why is it happening?
 
Tell aclocal to look for xorg-macros.m4 in the right place?

Cheers,
Julien
___
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: Xorg R7.6 mesa/egl Makefile fixing in Ubuntu 10.10

2011-02-21 Thread Alan Coopersmith
On 02/21/11 12:05 AM, Chen, Dennis (SRDC SW) wrote:
 Hi All,
 
  
 
 I found that current the Makefile of mesa/mesa/src/egl/main in X11 R7.6 has 
 the
 below line:
 
  
 
 INCLUDE_DIRS = -I$(TOP)/include
 
  
 
 When build the mesa module in Ubuntu system, this will led to a build error
 complaining “can’t find the X11/Xlib.h”, that’s because in ubuntu, the Xlib.h 
 is
 located in /usr/include/X11 by default, so I think

That's where Xlib.h is located on most systems.

 The Makefile should be changed to:
 
 INCLUDE_DIRS = -I$(TOP)/include -I/usr/include/X11

That doesn't make sense.   The #include path is relative to the -I path,
so you've just specified that #include X11/Xlib.h should be looking for
/usr/include/X11/X11/Xlib.h.

Compilers normally include -I/usr/include by default so no -I flag is needed
for #include X11/Xlib.h to find /usr/include/X11/Xlib.h.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
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: XFT and xorg-macros

2011-02-21 Thread Gaetan Nadon
On Mon, 2011-02-21 at 11:11 -0300, Krosh Ivanov wrote:

 Hi,
 I know XFT depends on xorg-macros to be installed, but I keep getting
 the error must install xorg-macros  1.8... despite having had
 installed the most recent version of xorg-macros and copied the *.pc
 of xorg-macros to /usr/local/lib/pkgconfig and to /usr/lib/pkgconfig.
 Why is it happening?


util-macros is installed in /usr/share as it is architecture
independent.

For my part. I set:

PKG_CONFIG_PATH=
/home/nadon/xorg/src/lib/pkgconfig:/home/nadon/xorg/src/share/pkgconfig

This path is searched before the default search path. See man
pkg-config.

Once you have sorted it out, remove excess files copied and install
util-macros using make install.
Also check if PKG_CONFIG_LIBDIR is set which changes the default search
path.
That makes several places were an older copy can hide.

This should tell you where it is, based on env vars:

pkg-config --variable pkgdatadir xorg-macros




 Thanks in advance,
 Ivan
 
 ___
 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: mems...@videotron.ca


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: Build error for the Xorg R7.6 in Ubuntu 10.10

2011-02-21 Thread Gaetan Nadon
On Mon, 2011-02-21 at 11:01 +0800, Chen, Dennis (SRDC SW) wrote:

 After all the required packages installed, then with the below command
 will build the total package of the xorg successfully:
 
 util/modular/build.sh --clone -n
 

Thanks for the feedback. You can use -a -p to get updates from git and
rebuild only affected parts.


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: Xorg R7.6 mesa/egl Makefile fixing in Ubuntu 10.10

2011-02-21 Thread Chen, Dennis (SRDC SW)
Hi man, you can try it in ubuntu system...
But the issue can't find the X11/Xlib.h is in the source codes from the git, 
maybe the version is not R7.6 since I found that there're some different in 
xserver source code between the git database and download from the www.x.org 
Xorg R7.6 release...

Dennis

-Original Message-
From: xorg-bounces+dennis1.chen=amd@lists.freedesktop.org 
[mailto:xorg-bounces+dennis1.chen=amd@lists.freedesktop.org] On Behalf Of 
Alan Coopersmith
Sent: 2011年2月22日 0:45
To: xorg@lists.freedesktop.org
Subject: Re: Xorg R7.6 mesa/egl Makefile fixing in Ubuntu 10.10

On 02/21/11 12:05 AM, Chen, Dennis (SRDC SW) wrote:
 Hi All,
 
  
 
 I found that current the Makefile of mesa/mesa/src/egl/main in X11 R7.6 has 
 the
 below line:
 
  
 
 INCLUDE_DIRS = -I$(TOP)/include
 
  
 
 When build the mesa module in Ubuntu system, this will led to a build error
 complaining “can’t find the X11/Xlib.h”, that’s because in ubuntu, the Xlib.h 
 is
 located in /usr/include/X11 by default, so I think

That's where Xlib.h is located on most systems.

 The Makefile should be changed to:
 
 INCLUDE_DIRS = -I$(TOP)/include -I/usr/include/X11

That doesn't make sense.   The #include path is relative to the -I path,
so you've just specified that #include X11/Xlib.h should be looking for
/usr/include/X11/X11/Xlib.h.

Compilers normally include -I/usr/include by default so no -I flag is needed
for #include X11/Xlib.h to find /usr/include/X11/Xlib.h.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
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: dennis1.c...@amd.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

Re: wierd keyboard problem

2011-02-21 Thread Teika Kazura
Hi, Michal. It's more of a (k)ubunt issue. I mainly suspect consolekit
/ polkit thingy. I'm not conversant in them, and I recommend you to
ask in ubunt forums.

Or, next day may come from suspend / hibernate, aka s2ram / s2disk.

(I'm a layman subscriber of Xorg ML, not an expert.)

Regards,
Teika (Teika kazura)

On Sun, 20 Feb 2011 21:52:04 -0500, Michael P. Conlon wrote:
   I am running the latest Kubuntu Linux. Last week, when I was running 
 Kubuntu 
 9.something, one day my keyboard stopped working under X. (I have a PS/2 
 keyboard, 32-bit Athlon processor, 256 Mbytes of RAM.) I soon discovered that 
 the keyboard worked just fine in the console, and for the KDE login, but I 
 could not enter text into any window or widget after login. Also, pressing 
 numlock or capslock does not illuminate the indicator lights.
 
   After fiddling with it for several days, I downloaded the latest 
 Kubuntu 
 (10.10) figuring that it was time for an upgrade anyway. After installation, 
 the keyboard worked fine for one day. Second day, I was back to the same 
 problem: console input just fine, but no response once logged into X. I tried 
 both another PS/2 keyboard and a USB keyboard. The system wouldn't boot 
 (kernel panic) with the USB keyboard; the PS/2 keyboard exhibited the exact 
 same problem as the original one. My xorg.conf file is rather sparse, and it 
 doesn't mention the keyboard.

___
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


XDMX

2011-02-21 Thread ankur jain
*Hi ,

I am using DMX(Distributed Multihead X ) for spreading display across
multiple monitors.
 I have compiled xorg-server with enable dmx option .
The command I am using to run dmx is ::
 startx `which gnome-session` --  /usr/bin/Xdmx :1  -display
control_node_ip:0 -display client_node_1_ip:0  -ignorebadfontpaths +xinerama
-noglxproxy

Also I ran xhost + on both the systems and made sure that Xserver can listen
tcp clients.

However on running Xdmx using above command it gives  an error :
giving up
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3):server error.

Could someone please tell me where I made a mistake in this procedure.

Thanks,
Samyak
 *
___
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