Re: Info about X-architecture

2010-10-04 Thread The Rasterman
On Tue, 05 Oct 2010 12:08:59 +0530 vijay singh  said:

> On Tue, 2010-10-05 at 15:26 +0900, Carsten Haitzler wrote:
> > On Tue, 05 Oct 2010 11:45:10 +0530 vijay singh  said:
> > 
> > no fbdev driver. it's there in the error output. did you not build/install
> > one? is ther an fb device from the kernel?
> Bootlog i can see Fb is initialize..
> 
> arm11fb driver initializing..
> Allocated 1 buffer(s)
> arm11fb regs mapped @:cc82, fb mapped @:fde0
> arm11fb0: arm11fb frame buffer device
> 
> do i have to create device node or some other way i can try.

xorg fbdev driver module - not kernel. u also need kernel fb support - /dev/fb*
should indicate u have device nodes for it if they are there.

> > > Hi,
> > > Thanks for info..
> > > 
> > > I have below HW system :
> > > Main CPU : ARM11
> > > Graphic Card : SGX535.
> > > 
> > > Currently in my first step i want startx should run & then xterm.
> > > 
> > > When i try to run startx on target below is error :
> > > 
> > > auth:  creating new authority file /root/.serverauth.948
> > > _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> > > _XSERVTransOpen: transport open failed for inet6/ARM11SMP-NEMID:0
> > > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for
> > >  inet6   X.Org X Server 1.8.2 Release Date: 2010-07-01 X Protocol
> > > Version 11, Revision 0 Build Operating System: Linux 2.6.32-24-generic
> > > i686 Current Operating System: Linux ARM11SMP 2.6.34.6 #1 SMP Mon Sep 20
> > > 13:47:32 CEST 2010 armv6l Kernel command line: console=ttyS0,115200n8n
> > > mem=192M maxcpus=2 rootwait root=/d ev/sda1 lpj=1994752 Build Date: 01
> > > October 2010  06:31:51PM   
> > > Current version of pixman: 0.17.6
> > >   Before reporting problems, check http://wiki.x.org to make
> > > sure that you have the latest version. 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:
> > > Thu Jan  1 01:04:31 1970 
> > > Primary device is not PCI (==) Using default built-in configuration (12
> > > lines) 
> > > (EE) Failed to load module "fbdev" (module does not exist, 0)
> > > (EE) No drivers available.   Fatal server error: no screens found  
> > >  Please consult the The X.Org Foundation support  at
> > > http://wiki.x.org for help. Please also check the log file at
> > > "/var/log/Xorg.0.log" for additional informati on.   giving up. xinit:
> > > No such file or directory (errno 2):  unable to connect to X server
> > > xinit:  No such process (errno 3):  Server error
> > > ==
> > > 
> > > Any idea what is missing ??
> > > 
> > > Cheers--
> > > 
> > > 
> > > 
> > > On Tue, 2010-10-05 at 07:30 +0900, Carsten Haitzler wrote:
> > > > On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson
> > > >  said:
> > > > 
> > > > indeed. most hw i have ever seen in embedded has a memory mapped dumb
> > > > fb as part of the main memory - the kernel should already support this-
> > > > if so x will work just fine (fb drvier). it will work exactly as well
> > > > as it does on a desktop or laptop - just no acceleration. this of
> > > > course depends if you HAVE any hardware that can do acceleration on
> > > > your SoC. even then - is it useful? at worst it may simply be you ave
> > > > multiple fb's (yuv over/underlay, rgb layer (8/16/32bpp) and have to
> > > > configure them correctly on  init and use the right one to get sensible
> > > > gfx. xv (yuv layer) may not work in this dumb mode without some driver
> > > > work.
> > > > 
> > > > your problems really begin when trying to do the yuv support and then
> > > > acceleration - if your SoC has anything.. and the big problems begin
> > > > with 3D if your SoC has a 3D unit. at this point you'll want to  have
> > > > your SoC vendor be helping you out.
> > > > 
> > > > > Which hardware, specifically? If Linux has already been ported, and a
> > > > > framebuffer driver exists, then X will work perfectly already, using
> > > > > the "fbdev" X driver.
> > > > > 
> > > > > Sending from a mobile, pardon the brevity. ~ C.
> > > > > 
> > > > > On Oct 4, 2010 3:18 AM, "vijay singh"  wrote:
> > > > > > On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> > > > > >> vijay singh  writes:
> > > > > >> > I would like to know is their any document available which will
> > > > > >> > explain about X-architecture.
> > > > > >>
> > > > > >> Even just http://en.wikipedia.org/wiki/X_Window_System gives a
> > > > > >> rough
> > > > > overview.
> > > > > >>
> > > > > >> > if i want to add any new X-client then what is the way.
> > > > > >>
> > > > > >> Things like evolution and firefox usually work as X clients on
> > > > > >> gnu/linux. You can t

Re: Info about X-architecture

2010-10-04 Thread vijay singh
On Tue, 2010-10-05 at 15:26 +0900, Carsten Haitzler wrote:
> On Tue, 05 Oct 2010 11:45:10 +0530 vijay singh  said:
> 
> no fbdev driver. it's there in the error output. did you not build/install 
> one?
> is ther an fb device from the kernel?
Bootlog i can see Fb is initialize..

arm11fb driver initializing..
Allocated 1 buffer(s)
arm11fb regs mapped @:cc82, fb mapped @:fde0
arm11fb0: arm11fb frame buffer device

do i have to create device node or some other way i can try.

> > Hi,
> > Thanks for info..
> > 
> > I have below HW system :
> > Main CPU : ARM11
> > Graphic Card : SGX535.
> > 
> > Currently in my first step i want startx should run & then xterm.
> > 
> > When i try to run startx on target below is error :
> > 
> > auth:  creating new authority file /root/.serverauth.948
> > _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> > _XSERVTransOpen: transport open failed for inet6/ARM11SMP-NEMID:0
> > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for
> >  inet6   X.Org X Server 1.8.2 Release Date: 2010-07-01 X Protocol
> > Version 11, Revision 0 Build Operating System: Linux 2.6.32-24-generic
> > i686 Current Operating System: Linux ARM11SMP 2.6.34.6 #1 SMP Mon Sep 20
> > 13:47:32 CEST 2010 armv6l Kernel command line: console=ttyS0,115200n8n
> > mem=192M maxcpus=2 rootwait root=/d ev/sda1 lpj=1994752 Build Date: 01
> > October 2010  06:31:51PM   
> > Current version of pixman: 0.17.6
> >   Before reporting problems, check http://wiki.x.org to make
> > sure that you have the latest version. 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:
> > Thu Jan  1 01:04:31 1970 
> > Primary device is not PCI (==) Using default built-in configuration (12
> > lines) 
> > (EE) Failed to load module "fbdev" (module does not exist, 0)
> > (EE) No drivers available.   Fatal server error: no screens found  
> >  Please consult the The X.Org Foundation support  at
> > http://wiki.x.org for help. Please also check the log file at
> > "/var/log/Xorg.0.log" for additional informati on.   giving up. xinit:
> > No such file or directory (errno 2):  unable to connect to X server
> > xinit:  No such process (errno 3):  Server error
> > ==
> > 
> > Any idea what is missing ??
> > 
> > Cheers--
> > 
> > 
> > 
> > On Tue, 2010-10-05 at 07:30 +0900, Carsten Haitzler wrote:
> > > On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson 
> > > 
> > > said:
> > > 
> > > indeed. most hw i have ever seen in embedded has a memory mapped dumb fb 
> > > as
> > > part of the main memory - the kernel should already support this- if so x
> > > will work just fine (fb drvier). it will work exactly as well as it does 
> > > on
> > > a desktop or laptop - just no acceleration. this of course depends if you
> > > HAVE any hardware that can do acceleration on your SoC. even then - is it
> > > useful? at worst it may simply be you ave multiple fb's (yuv 
> > > over/underlay,
> > > rgb layer (8/16/32bpp) and have to configure them correctly on  init and
> > > use the right one to get sensible gfx. xv (yuv layer) may not work in this
> > > dumb mode without some driver work.
> > > 
> > > your problems really begin when trying to do the yuv support and then
> > > acceleration - if your SoC has anything.. and the big problems begin with
> > > 3D if your SoC has a 3D unit. at this point you'll want to  have your SoC
> > > vendor be helping you out.
> > > 
> > > > Which hardware, specifically? If Linux has already been ported, and a
> > > > framebuffer driver exists, then X will work perfectly already, using the
> > > > "fbdev" X driver.
> > > > 
> > > > Sending from a mobile, pardon the brevity. ~ C.
> > > > 
> > > > On Oct 4, 2010 3:18 AM, "vijay singh"  wrote:
> > > > > On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> > > > >> vijay singh  writes:
> > > > >> > I would like to know is their any document available which will
> > > > >> > explain about X-architecture.
> > > > >>
> > > > >> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough
> > > > overview.
> > > > >>
> > > > >> > if i want to add any new X-client then what is the way.
> > > > >>
> > > > >> Things like evolution and firefox usually work as X clients on
> > > > >> gnu/linux. You can take a look at them or google for "GTK hello 
> > > > >> world"
> > > > >> or "QT hello world" to get something simpler.
> > > > >>
> > > > > Thanks for the info..
> > > > >
> > > > > If i want to build test filesystem for new HW (In my case it is
> > > > > ARM11)where some basics X-client (xterm,xeyes..) should work, in this
> > > > > case how i should configure X to work.
> > 

Re: Info about X-architecture

2010-10-04 Thread The Rasterman
On Tue, 05 Oct 2010 11:45:10 +0530 vijay singh  said:

no fbdev driver. it's there in the error output. did you not build/install one?
is ther an fb device from the kernel?

> Hi,
> Thanks for info..
> 
> I have below HW system :
> Main CPU : ARM11
> Graphic Card : SGX535.
> 
> Currently in my first step i want startx should run & then xterm.
> 
> When i try to run startx on target below is error :
> 
> auth:  creating new authority file /root/.serverauth.948
> _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> _XSERVTransOpen: transport open failed for inet6/ARM11SMP-NEMID:0
> _XSERVTransMakeAllCOTSServerListeners: failed to open listener for
>  inet6   X.Org X Server 1.8.2 Release Date: 2010-07-01 X Protocol
> Version 11, Revision 0 Build Operating System: Linux 2.6.32-24-generic
> i686 Current Operating System: Linux ARM11SMP 2.6.34.6 #1 SMP Mon Sep 20
> 13:47:32 CEST 2010 armv6l Kernel command line: console=ttyS0,115200n8n
> mem=192M maxcpus=2 rootwait root=/d ev/sda1 lpj=1994752 Build Date: 01
> October 2010  06:31:51PM   
> Current version of pixman: 0.17.6
>   Before reporting problems, check http://wiki.x.org to make
> sure that you have the latest version. 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:
> Thu Jan  1 01:04:31 1970 
> Primary device is not PCI (==) Using default built-in configuration (12
> lines) 
> (EE) Failed to load module "fbdev" (module does not exist, 0)
> (EE) No drivers available.   Fatal server error: no screens found  
>  Please consult the The X.Org Foundation support  at
> http://wiki.x.org for help. Please also check the log file at
> "/var/log/Xorg.0.log" for additional informati on.   giving up. xinit:
> No such file or directory (errno 2):  unable to connect to X server
> xinit:  No such process (errno 3):  Server error
> ==
> 
> Any idea what is missing ??
> 
> Cheers--
> 
> 
> 
> On Tue, 2010-10-05 at 07:30 +0900, Carsten Haitzler wrote:
> > On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson 
> > said:
> > 
> > indeed. most hw i have ever seen in embedded has a memory mapped dumb fb as
> > part of the main memory - the kernel should already support this- if so x
> > will work just fine (fb drvier). it will work exactly as well as it does on
> > a desktop or laptop - just no acceleration. this of course depends if you
> > HAVE any hardware that can do acceleration on your SoC. even then - is it
> > useful? at worst it may simply be you ave multiple fb's (yuv over/underlay,
> > rgb layer (8/16/32bpp) and have to configure them correctly on  init and
> > use the right one to get sensible gfx. xv (yuv layer) may not work in this
> > dumb mode without some driver work.
> > 
> > your problems really begin when trying to do the yuv support and then
> > acceleration - if your SoC has anything.. and the big problems begin with
> > 3D if your SoC has a 3D unit. at this point you'll want to  have your SoC
> > vendor be helping you out.
> > 
> > > Which hardware, specifically? If Linux has already been ported, and a
> > > framebuffer driver exists, then X will work perfectly already, using the
> > > "fbdev" X driver.
> > > 
> > > Sending from a mobile, pardon the brevity. ~ C.
> > > 
> > > On Oct 4, 2010 3:18 AM, "vijay singh"  wrote:
> > > > On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> > > >> vijay singh  writes:
> > > >> > I would like to know is their any document available which will
> > > >> > explain about X-architecture.
> > > >>
> > > >> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough
> > > overview.
> > > >>
> > > >> > if i want to add any new X-client then what is the way.
> > > >>
> > > >> Things like evolution and firefox usually work as X clients on
> > > >> gnu/linux. You can take a look at them or google for "GTK hello world"
> > > >> or "QT hello world" to get something simpler.
> > > >>
> > > > Thanks for the info..
> > > >
> > > > If i want to build test filesystem for new HW (In my case it is
> > > > ARM11)where some basics X-client (xterm,xeyes..) should work, in this
> > > > case how i should configure X to work.
> > > >
> > > > If more details about what all kernel dependency, how X can be test will
> > > > be helpful.
> > > >
> > > >>
> > > >
> > > >
> > > > ___
> > > > 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: mostawesomed...@gmail.com
> > 
> > 
> 
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Ras

Re: Info about X-architecture

2010-10-04 Thread vijay singh
Hi,
Thanks for info..

I have below HW system :
Main CPU : ARM11
Graphic Card : SGX535.

Currently in my first step i want startx should run & then xterm.

When i try to run startx on target below is error :

auth:  creating new authority file /root/.serverauth.948
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/ARM11SMP-NEMID:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for
 inet6   X.Org X Server 1.8.2 Release Date: 2010-07-01 X Protocol
Version 11, Revision 0 Build Operating System: Linux 2.6.32-24-generic
i686 Current Operating System: Linux ARM11SMP 2.6.34.6 #1 SMP Mon Sep 20
13:47:32 CEST 2010 armv6l Kernel command line: console=ttyS0,115200n8n
mem=192M maxcpus=2 rootwait root=/d ev/sda1 lpj=1994752 Build Date: 01
October 2010  06:31:51PM   
Current version of pixman: 0.17.6
  Before reporting problems, check http://wiki.x.org to make
sure that you have the latest version. 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:
Thu Jan  1 01:04:31 1970 
Primary device is not PCI (==) Using default built-in configuration (12
lines) 
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.   Fatal server error: no screens found  
 Please consult the The X.Org Foundation support  at
http://wiki.x.org for help. Please also check the log file at
"/var/log/Xorg.0.log" for additional informati on.   giving up. xinit:
No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error
==

Any idea what is missing ??

Cheers--



On Tue, 2010-10-05 at 07:30 +0900, Carsten Haitzler wrote:
> On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson 
> said:
> 
> indeed. most hw i have ever seen in embedded has a memory mapped dumb fb as
> part of the main memory - the kernel should already support this- if so x will
> work just fine (fb drvier). it will work exactly as well as it does on a
> desktop or laptop - just no acceleration. this of course depends if you HAVE
> any hardware that can do acceleration on your SoC. even then - is it useful? 
> at
> worst it may simply be you ave multiple fb's (yuv over/underlay, rgb layer
> (8/16/32bpp) and have to configure them correctly on  init and use the right
> one to get sensible gfx. xv (yuv layer) may not work in this dumb mode without
> some driver work.
> 
> your problems really begin when trying to do the yuv support and then
> acceleration - if your SoC has anything.. and the big problems begin with 3D 
> if
> your SoC has a 3D unit. at this point you'll want to  have your SoC vendor be
> helping you out.
> 
> > Which hardware, specifically? If Linux has already been ported, and a
> > framebuffer driver exists, then X will work perfectly already, using the
> > "fbdev" X driver.
> > 
> > Sending from a mobile, pardon the brevity. ~ C.
> > 
> > On Oct 4, 2010 3:18 AM, "vijay singh"  wrote:
> > > On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> > >> vijay singh  writes:
> > >> > I would like to know is their any document available which will explain
> > >> > about X-architecture.
> > >>
> > >> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough
> > overview.
> > >>
> > >> > if i want to add any new X-client then what is the way.
> > >>
> > >> Things like evolution and firefox usually work as X clients on
> > >> gnu/linux. You can take a look at them or google for "GTK hello world"
> > >> or "QT hello world" to get something simpler.
> > >>
> > > Thanks for the info..
> > >
> > > If i want to build test filesystem for new HW (In my case it is
> > > ARM11)where some basics X-client (xterm,xeyes..) should work, in this
> > > case how i should configure X to work.
> > >
> > > If more details about what all kernel dependency, how X can be test will
> > > be helpful.
> > >
> > >>
> > >
> > >
> > > ___
> > > 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: mostawesomed...@gmail.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


Dual head on ATI FirePro M5800

2010-10-04 Thread Ole Tange
I am trying to get dual head on ATI FirePro M5800 working. LVDS works,
but VGA-0 is in power save mode no matter what I do.

My colleague got the non-free driver working, but I would prefer using
the free driver. My research seems to indicate the chipset is called
Redwood or r8xx or RV830 or r800 or Evergreen - but I could be wrong.

I have been unable to find a guide for this card and the obvious
(xrandr --output LVDS --output VGA-0 --left-of LVDS) does not work.
Neither does KDE's gui config of display.

Below is some output that may help.

/Ole

$ lspci |grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Device 68c0

$ cat /etc/X11/xorg.conf
Section "Screen"
Identifier  "Configured Screen Device"
Device  "Configured Video Device"
SubSection "Display"
Virtual 3280 1080
EndSubSection
EndSection

Section "Device"
Identifier  "Configured Video Device"
EndSection

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 3280 x 1080
LVDS connected 1920x1080+0+0 (normal left inverted right x axis y
axis) 0mm x 0mm
   1920x1080  59.9*+
   1680x1050  60.0
   1600x1024  60.2
   1400x1050  60.0 60.0
   1280x1024  59.9 60.0
   1440x900   59.9 59.9
   1280x960   60.0 59.9
   1280x854   59.9
   1360x768   59.8
   1280x800   59.8
   1152x864   60.0
   1280x720   59.9
   1152x768   59.8
   1024x768   60.0 59.9
   800x60060.3 59.9
   640x48059.9 59.4
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected (normal left inverted right x axis y axis)
   1360x768   59.8
   1152x864   60.0
   1024x768   60.0
   800x60060.3
   640x48059.9
___
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] font-util 1.1.2

2010-10-04 Thread Alan Coopersmith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

These utilities are used when generating and building the packages
for the X.Org fonts.

This release fixes the bug in the fontutils.m4 autoconf macros that
allowed packages generated with these macros to successfully pass
configure when required utilities were missing, resulting in build
failures that were hard to diagnose, such as "-b: command not found".

Existing font packages will need to have autoreconf run after installing
the new fontutil.m4 to take advantage of this fix - the next release of
the font packages will include this fix in the configure scripts
distributed in their tarballs.

Alan Coopersmith (4):
  Update Sun license notices to current X.Org standard form
  Replace /usr/X11R6 mapfiles path in manpage with actual path via sed
  Sun's copyrights now belong to Oracle
  font-util 1.1.2

Gaetan Nadon (9):
  .gitignore: use common defaults with custom section # 24239
  INSTALL, NEWS, README COPYING or AUTHORS files are missing/incorrect 
#24206
  Makefile.am: add INSTALL target and clean ChangeLog DIST targets
  Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
  config: generated fontutil.m4 is "installed", not "distributed"
  config:  remove fontutil.pc.in from the EXTRA_DIST variable
  config: upgrade to util-macros 1.8 for additional man page support
  XORG_FONT_REQUIRED_PROG: should stop when program is missing #14436
  config: update AC_PREREQ statement to 2.60

git tag: font-util-1.1.2

http://xorg.freedesktop.org/archive/individual/font/font-util-1.1.2.tar.bz2
MD5:  6a56a1a93f2e07f0323db988e4ebfcce
SHA1: 7615a776a0f6291c08d14d397083bc22d4894a23

http://xorg.freedesktop.org/archive/individual/font/font-util-1.1.2.tar.gz
MD5:  59bd5bf6502b5c68e870e70ebf244c58
SHA1: 23401ce69b4031fa124502f8fd6af0449ff1


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

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkyqrNYACgkQovueCB8tEw738wCfbMjJNKc7wfYPW1NtllopsiCR
KVwAn35qNVmRHGmARijmlV5bDchtTtIn
=ZVXB
-END 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: Dual head on ATI FirePro M5800

2010-10-04 Thread Alex Deucher
On Mon, Oct 4, 2010 at 5:37 PM, Ole Tange  wrote:
> I am trying to get dual head on ATI FirePro M5800 working. LVDS works,
> but VGA-0 is in power save mode no matter what I do.
>
> My colleague got the non-free driver working, but I would prefer using
> the free driver. My research seems to indicate the chipset is called
> Redwood or r8xx or RV830 or r800 or Evergreen - but I could be wrong.
>
> I have been unable to find a guide for this card and the obvious
> (xrandr --output LVDS --output VGA-0 --left-of LVDS) does not work.
> Neither does KDE's gui config of display.
>
> Below is some output that may help.

If you are not already, your best bet is to use KMS.  Some evergreen
vbioses had a bug in the i2c table for the VGA port.  Make sure your
kernel has this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ea39302b87b8d944d567ef29c0647c09da5743fa
or better yet, try 2.6.36.

Alex

>
> /Ole
>
> $ lspci |grep VGA
> 01:00.0 VGA compatible controller: ATI Technologies Inc Device 68c0
>
> $ cat /etc/X11/xorg.conf
> Section "Screen"
>        Identifier      "Configured Screen Device"
>        Device  "Configured Video Device"
>        SubSection "Display"
>                Virtual 3280 1080
>        EndSubSection
> EndSection
>
> Section "Device"
>        Identifier      "Configured Video Device"
> EndSection
>
> $ xrandr
> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 3280 x 1080
> LVDS connected 1920x1080+0+0 (normal left inverted right x axis y
> axis) 0mm x 0mm
>   1920x1080      59.9*+
>   1680x1050      60.0
>   1600x1024      60.2
>   1400x1050      60.0     60.0
>   1280x1024      59.9     60.0
>   1440x900       59.9     59.9
>   1280x960       60.0     59.9
>   1280x854       59.9
>   1360x768       59.8
>   1280x800       59.8
>   1152x864       60.0
>   1280x720       59.9
>   1152x768       59.8
>   1024x768       60.0     59.9
>   800x600        60.3     59.9
>   640x480        59.9     59.4
> DisplayPort-2 disconnected (normal left inverted right x axis y axis)
> DisplayPort-1 disconnected (normal left inverted right x axis y axis)
> DisplayPort-0 disconnected (normal left inverted right x axis y axis)
> VGA-0 connected (normal left inverted right x axis y axis)
>   1360x768       59.8
>   1152x864       60.0
>   1024x768       60.0
>   800x600        60.3
>   640x480        59.9
> ___
> 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: alexdeuc...@gmail.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: Info about X-architecture

2010-10-04 Thread The Rasterman
On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson 
said:

indeed. most hw i have ever seen in embedded has a memory mapped dumb fb as
part of the main memory - the kernel should already support this- if so x will
work just fine (fb drvier). it will work exactly as well as it does on a
desktop or laptop - just no acceleration. this of course depends if you HAVE
any hardware that can do acceleration on your SoC. even then - is it useful? at
worst it may simply be you ave multiple fb's (yuv over/underlay, rgb layer
(8/16/32bpp) and have to configure them correctly on  init and use the right
one to get sensible gfx. xv (yuv layer) may not work in this dumb mode without
some driver work.

your problems really begin when trying to do the yuv support and then
acceleration - if your SoC has anything.. and the big problems begin with 3D if
your SoC has a 3D unit. at this point you'll want to  have your SoC vendor be
helping you out.

> Which hardware, specifically? If Linux has already been ported, and a
> framebuffer driver exists, then X will work perfectly already, using the
> "fbdev" X driver.
> 
> Sending from a mobile, pardon the brevity. ~ C.
> 
> On Oct 4, 2010 3:18 AM, "vijay singh"  wrote:
> > On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> >> vijay singh  writes:
> >> > I would like to know is their any document available which will explain
> >> > about X-architecture.
> >>
> >> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough
> overview.
> >>
> >> > if i want to add any new X-client then what is the way.
> >>
> >> Things like evolution and firefox usually work as X clients on
> >> gnu/linux. You can take a look at them or google for "GTK hello world"
> >> or "QT hello world" to get something simpler.
> >>
> > Thanks for the info..
> >
> > If i want to build test filesystem for new HW (In my case it is
> > ARM11)where some basics X-client (xterm,xeyes..) should work, in this
> > case how i should configure X to work.
> >
> > If more details about what all kernel dependency, how X can be test will
> > be helpful.
> >
> >>
> >
> >
> > ___
> > 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: mostawesomed...@gmail.com


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.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


Dual head on ATI FirePro M5800

2010-10-04 Thread Ole Tange
I am trying to get dual head on ATI FirePro M5800 working. LVDS works,
but VGA-0 is in power save mode no matter what I do.

My colleague got the non-free driver working, but I would prefer using
the free driver. My research seems to indicate the chipset is called
Redwood or r8xx or RV830 or r800 or Evergreen - but I could be wrong.

I have been unable to find a guide for this card and the obvious
(xrandr --output LVDS --output VGA-0 --left-of LVDS) does not work.
Neither does KDE's gui config of display.

Below is some output that may help.

/Ole

$ lspci |grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Device 68c0

$ cat /etc/X11/xorg.conf
Section "Screen"
       Identifier      "Configured Screen Device"
       Device  "Configured Video Device"
       SubSection "Display"
               Virtual 3280 1080
       EndSubSection
EndSection

Section "Device"
       Identifier      "Configured Video Device"
EndSection

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 3280 x 1080
LVDS connected 1920x1080+0+0 (normal left inverted right x axis y
axis) 0mm x 0mm
  1920x1080      59.9*+
  1680x1050      60.0
  1600x1024      60.2
  1400x1050      60.0     60.0
  1280x1024      59.9     60.0
  1440x900       59.9     59.9
  1280x960       60.0     59.9
  1280x854       59.9
  1360x768       59.8
  1280x800       59.8
  1152x864       60.0
  1280x720       59.9
  1152x768       59.8
  1024x768       60.0     59.9
  800x600        60.3     59.9
  640x480        59.9     59.4
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected (normal left inverted right x axis y axis)
  1360x768       59.8
  1152x864       60.0
  1024x768       60.0
  800x600        60.3
  640x480        59.9
___
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


Possibilities to CTRL-ALT-F? does not work.

2010-10-04 Thread Mauricio Kanada
Hi.

I am a arch-linux user. For any reason, days ago, CTRL-ALT-F? does not switch 
to 
any text terminal, and I don't know why. Xorg.log does not show any error 
message, and the problema is already there even in KDM, before any login.

Where I need start my investigations?

Xorg version: 1.9.0
video-card: nvidia 8600GT
Video Driver: nvidia

Thanks for any help.

Maurício Kanada



  ___
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: Info about X-architecture

2010-10-04 Thread Corbin Simpson
Which hardware, specifically? If Linux has already been ported, and a
framebuffer driver exists, then X will work perfectly already, using the
"fbdev" X driver.

Sending from a mobile, pardon the brevity. ~ C.

On Oct 4, 2010 3:18 AM, "vijay singh"  wrote:
> On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
>> vijay singh  writes:
>> > I would like to know is their any document available which will explain
>> > about X-architecture.
>>
>> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough
overview.
>>
>> > if i want to add any new X-client then what is the way.
>>
>> Things like evolution and firefox usually work as X clients on
>> gnu/linux. You can take a look at them or google for "GTK hello world"
>> or "QT hello world" to get something simpler.
>>
> Thanks for the info..
>
> If i want to build test filesystem for new HW (In my case it is
> ARM11)where some basics X-client (xterm,xeyes..) should work, in this
> case how i should configure X to work.
>
> If more details about what all kernel dependency, how X can be test will
> be helpful.
>
>>
>
>
> ___
> 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: mostawesomed...@gmail.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: Info about X-architecture

2010-10-04 Thread walter harms


vijay singh schrieb:
> On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
>> vijay singh  writes:
>>> I would like to know is their any document available which will explain
>>> about X-architecture.  
>> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough 
>> overview.
>>
>>> if i want to add any new X-client then what is the way.
>> Things like evolution and firefox usually work as X clients on
>> gnu/linux. You can take a look at them or google for "GTK hello world"
>> or "QT hello world" to get something simpler.
>>
> Thanks for the info..
> 
> If i want to build test filesystem for new HW (In my case it is
> ARM11)where some basics X-client (xterm,xeyes..) should work, in this
> case how i should configure X to work.
> 
> If more details about what all kernel dependency, how X can be test will
> be helpful.
> 
> 
> 

This is a bold goal,
what you need is a driver for you particular chipset.

IMHO the most easy way to start is to setup a framebuffer (see: man xvfb).
this way you can use X11 from remote and you are sure that the
related libs are working. Then you may need an driver for your particular
hardware, see other how the other driver work and you are next to ready.

later you may want to add the driver to the linux kernel to make use of
the KMS infrastructure, see related information LKML.

good luck,
 wh
___
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: Cann't get dual monitors working, S3Virge bios input/output error

2010-10-04 Thread bh
tj <999alfred  comcast.net> writes:

> 
> I am trying to get a dual monitor system working using the onboard S3 
> ProSavage adapter and a PCI S3 Virge card.
> 
> However, after I do Xorg -configure to get a xorg.conf and then execute 
> it, Xorg -config /root/xorg.conf.new I get a blank screen with only a 
> "-" in the upper left hand corner of screen 0. Then I cannot use 
> cntrl-slt-1, ec to get to another screen. I have to ssh in to get it 
> back. Now, I do have this error
> (EE) S3VIRGE(1): Cannot read V_BIOS (3) Input/output error
> (--) S3VIRGE(1): Chipset: "virge"
> (==) S3VIRGE(1): XVideo not supported.
> 
> Commentng out screen 1, the virge, causes X to come up normally.
> 
> tj
> 
> ___
> 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: gcfx-xorg-2  m.gmane.org
> 
> 

Hallo tj,

I am experiencing the same problem. It seems to be an old story and never got
fixed until now.

But I found some good explanations in the following links:

https://bugs.freedesktop.org/show_bug.cgi?id=9920
https://bugs.freedesktop.org/show_bug.cgi?id=2597#c52

Perhaps you can explain your problem to the last commentor of Bug 9920 which
eventually responded in Feb. 2010.

Good luck.


___
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: Info about X-architecture

2010-10-04 Thread vijay singh
On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> vijay singh  writes:
> > I would like to know is their any document available which will explain
> > about X-architecture.  
> 
> Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough overview.
> 
> > if i want to add any new X-client then what is the way.
> 
> Things like evolution and firefox usually work as X clients on
> gnu/linux. You can take a look at them or google for "GTK hello world"
> or "QT hello world" to get something simpler.
> 
Thanks for the info..

If i want to build test filesystem for new HW (In my case it is
ARM11)where some basics X-client (xterm,xeyes..) should work, in this
case how i should configure X to work.

If more details about what all kernel dependency, how X can be test will
be helpful.

> 


___
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


Info about X-architecture

2010-10-04 Thread vijay singh
Hello,
I am new to X-window system.

I would like to know is their any document available which will explain
about X-architecture.  
if i want to add any new X-client then what is the way.


Cheers--


___
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


Configuration of ALPS touchpad

2010-10-04 Thread Łukasz Maśko
I'm having problems with my touchpad recently. I have a Dell D430 with Alps 
touchpad. Some time ago I had it configured with synaptics driver and 
everything worked like charm - tapping, scrolling, corners and so on. But 
recently, I don't know since when, I'm having problem. Tapping or touchpad 
corners are not working. Scrolling is working perfectly. I'm also getting 
some strange errors in log (http://yen.ipipan.waw.pl/~ed/Xorg.0.log.gz). My 
touchpad is configured with the following file:

$ cat /etc/X11/xorg.conf.d/50-synaptics.conf
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"

Option "SHMConfig" "true"

Option "LeftEdge" "120"
Option "RightEdge" "900"
Option "TopEdge" "120"
Option "BottomEdge" "660"
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "ClickFinger3" "2"
Option "HorizEdgeScroll" "1"
Option "VertEdgeScroll" "1"
Option "UpDownScrolling" "1"
Option "LeftRightScrolling" "1"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "VertTwoFingerScroll" "0"
Option "HorizTwoFingerScroll" "0"
Option "HorizScrollDelta" "20"
Option "VertScrollDelta" "20"
Option "FingerLow" "18"
Option "FingerHigh" "19"
Option "FingerPress" "256"
Option "PalmDetect" "0"
Option "PalmMinWidth" "10"
Option "PalmMinZ" "200"
Option "MinSpeed" "2"
Option "MaxSpeed" "2.5"
Option "AccelFactor" "0.020"
Option "MaxTapMove" "110"
Option "MaxTapTime" "180"
Option "MaxDoubleTapTime" "300"
Option "EmulateMidButtonTime" "75"
Option "EmulateTwoFingerMinZ" "100"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "0"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
Option "Emulate3Buttons" "on"
EndSection

What's wrong with my config? Can you help me with this?
-- 
Łukasz Maśko   GG:   2441498_o)
Lukasz.Masko(at)ipipan.waw.pl   /\\
Registered Linux User #61028   _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
___
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: Info about X-architecture

2010-10-04 Thread Timo Juhani Lindfors
vijay singh  writes:
> I would like to know is their any document available which will explain
> about X-architecture.  

Even just http://en.wikipedia.org/wiki/X_Window_System gives a rough overview.

> if i want to add any new X-client then what is the way.

Things like evolution and firefox usually work as X clients on
gnu/linux. You can take a look at them or google for "GTK hello world"
or "QT hello world" to get something simpler.



___
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: can't get dual monitors working

2010-10-04 Thread Francisco P Kaseker
For the old card sis/savage/via/others you have to:

1) X -configure with old X (like 1.4.x) to probe all vga cards
2) X -configure with your X with Option "NoInt10" "yes" enabled only to the
old cards like sis/savage/etc

Xorg 1.7.x+ has bug with systemcall Int10, an a lot of SiS and VIA old cards
need to use Int10.

nvidia, radeon, ati, nv and nouveau drivers doesnt need this option and
often ignore this option.

other solutions: maybe vbetool or posttool (vga arbiter) can help to probe
vga devices, but for me they dont work fine.



On Sat, Oct 2, 2010 at 12:35 AM, Jeff  wrote:

> I am trying an experiment and getting dual monitors working on a system
> using two video cards. the video cards are the onboard S3 Savage and a S3
> Virge PCI card. lspci yields:
> 00:05.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06)
> 01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]
>
> Trying the easy route I run
> Xorg -configure
>
> which I check and all seems ok, but when I try Xorg -config
> /root/xorg.conf.new screen 0 goes blank with a "-" in the upper left hand
> corner, and then nothing. I cannot even get another terminal screen using
> cntrl-alt-1, etc. I have to ssh into the system to reboot.
>
> Now, if I comment out Screen 1 in the Screen Layout scetion X runs fine on
> Screen  0. Here is the xorg.conf that works.
>
> Section "ServerLayout"
>   Identifier "X.org Configured"
>   Screen  0  "Screen0" 0 0
> #   Screen  1  "Screen1" RightOf "Screen0"
>   InputDevice"Mouse0" "CorePointer"
>   InputDevice"Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>   ModulePath   "/usr/lib/xorg/modules"
>   FontPath "/usr/share/fonts/local"
>   FontPath "/usr/share/fonts/TTF"
>   FontPath "/usr/share/fonts/OTF"
>   FontPath "/usr/share/fonts/Type1"
>   FontPath "/usr/share/fonts/misc"
>   FontPath "/usr/share/fonts/CID"
>   FontPath "/usr/share/fonts/75dpi/:unscaled"
>   FontPath "/usr/share/fonts/100dpi/:unscaled"
>   FontPath "/usr/share/fonts/75dpi"
>   FontPath "/usr/share/fonts/100dpi"
>   FontPath "/usr/share/fonts/cyrillic"
> EndSection
>
> Section "Module"
>   Load  "dri2"
>   Load  "dbe"
>   Load  "dri"
>   Load  "glx"
>   Load  "extmod"
> EndSection
>
> Section "InputDevice"
>   Identifier  "Keyboard0"
>   Driver  "kbd"
> EndSection
>
> Section "InputDevice"
>   Identifier  "Mouse0"
>   Driver  "mouse"
>   Option  "Protocol" "auto"
>   Option  "Device" "/dev/input/mice"
>   Option  "ZAxisMapping" "4 5 6 7"
> EndSection
> Section "Monitor"
>   #DisplaySize  340   270 # mm
>   Identifier   "Monitor0"
>   VendorName   "VSC"
>   ModelName"Q7-3 Series"
>   HorizSync30.0 - 80.0
>   VertRefresh  55.0 - 75.0
>   Option  "DPMS"
> EndSection
>
> Section "Monitor"
>   Identifier   "Monitor1"
>   VendorName   "Monitor Vendor"
>   ModelName"Monitor Model"
> EndSection
>
> Section "Device"
>   ### Available Driver options are:-
>   ### Values: : integer, : float, : "True"/"False",
>   ### : "String", : " Hz/kHz/MHz"
>   ### [arg]: arg optional
>   #Option "NoAccel"   # []
>   #Option "AccelMethod"   # 
>   #Option "HWCursor"  # []
>   #Option "SWCursor"  # []
>   #Option "ShadowFB"  # []
>   #Option "Rotate"# []
>   #Option "UseBIOS"   # []
>   #Option "LCDClock"  # 
>   #Option "ShadowStatus"  # []
>   #Option "CrtOnly"   # []
>   #Option "TvOn"  # []
>   #Option "PAL"   # []
>   #Option "ForceInit" # []
>   #Option "Overlay"   # []
>   #Option "TransparencyKey"   # []
>   #Option "ForceInit" # []
>   #Option "DisableXVMC"   # []
>   #Option "DisableTile"   # []
>   #Option "DisableCOB"# []
>   #Option "BCIforXv"  # []
>   #Option "DVI"   # []
>   #Option "IgnoreEDID"# []
>   #Option "BusType"   # []
>   #Option "DmaType"   # []
>   #Option "DmaMode"   # []
>   #Option "AGPMode"   # 
>   #Option "AGPSize"   # 
>   #Option "DRI"   # []
>   #Option "AGPforXv"  # []
>   Identifier  "Card0"
>   Driver  "savage"
>   VendorName  "Unknown Vendor"
>   BoardName   "Unknown Board"
>   BusID   "PCI:1:0:0"
> EndS

RE: Relative positions of screens

2010-10-04 Thread Mark Dwyer
Thanks for your response.

Unfortunately, I am unable to do Xinerama given that there is other software 
running on the cluster that cannot have Xinerama turned on (easy if that were 
the case).  XRandR doesn't return the information I require (I'm pretty sure, 
would love to be proven wrong).

There are 5 machines each with four monitors.  Other installations around the 
country are set up exactly the same (separate screens) so for the code to be 
portable I kinda need to do it this way.  

regards
Mark

Am 04.10.10, 12:28 +1000 schrieb Mark Dwyer:
>  I'm trying to draw large scenes on multi monitor setups.  I can get all 
> screens and the resolutions of the screens via:
>
> numberOfScreens = XScreenCount(dpy);
> /* Work out the sizes of the screens */
> for (int j = 0; j {
>   Screen *screen = XScreenOfDisplay(dpy, j);
>   SIZE_X = DisplayWidth(dpy,j);
>   SIZE_Y = DisplayHeight(dpy, j);
>   printf("Width::%d\tHeight::%d\n", DisplayWidth(dpy,j), 
> DisplayHeight(dpy,j));
> }
>
> But how can I get where one screen is in relation to another?

Did you try configuring one big screen over all monitors and the Xinerama
API to get positioning? I guess XRandR works similiar these days if
available.

kind regards
Kai-Uwe Behrmann



___
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: Relative positions of screens

2010-10-04 Thread Kai-Uwe Behrmann

Am 04.10.10, 12:28 +1000 schrieb Mark Dwyer:

 I'm trying to draw large scenes on multi monitor setups.  I can get all 
screens and the resolutions of the screens via:

numberOfScreens = XScreenCount(dpy);
/* Work out the sizes of the screens */
for (int j = 0; j

Did you try configuring one big screen over all monitors and the Xinerama 
API to get positioning? I guess XRandR works similiar these days if 
available.


kind regards
Kai-Uwe Behrmann
--
developing for colour management 
www.behrmann.name + www.oyranos.org




___
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