Re: Relative positions of screens
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; jnumberOfScreens; 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 -- 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
Info about X-architecture
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
RE: Relative positions of screens
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; jnumberOfScreens; 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: can't get dual monitors working
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 wd4...@comcast.net 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 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 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 ModelNameQ7-3 Series HorizSync30.0 - 80.0 VertRefresh 55.0 - 75.0 Option DPMS EndSection Section Monitor Identifier Monitor1 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option NoAccel # [bool] #Option AccelMethod # str #Option HWCursor # [bool] #Option SWCursor # [bool] #Option ShadowFB # [bool] #Option Rotate# [str] #Option UseBIOS # [bool] #Option LCDClock # freq #Option ShadowStatus # [bool] #Option CrtOnly # [bool] #Option TvOn # [bool] #Option PAL # [bool] #Option ForceInit # [bool] #Option Overlay # [str] #Option TransparencyKey # [str] #Option ForceInit # [bool] #Option DisableXVMC # [bool] #Option DisableTile # [bool] #Option DisableCOB# [bool] #Option BCIforXv # [bool] #Option DVI # [bool] #Option IgnoreEDID# [bool] #Option BusType # [str] #Option DmaType # [str] #Option DmaMode # [str] #Option AGPMode # i #Option AGPSize # i #Option DRI # [bool] #Option AGPforXv # [bool] Identifier Card0 Driver savage VendorName Unknown Vendor BoardName Unknown Board BusID PCI:1:0:0 EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f
Re: Cann't get dual monitors working, S3Virge bios input/output error
tj 999alfred at 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 at 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 at 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
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 testmrs@gmail.com wrote: On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote: vijay singh testmrs@gmail.com 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
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
Re: Info about X-architecture
On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson mostawesomed...@gmail.com 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 testmrs@gmail.com wrote: On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote: vijay singh testmrs@gmail.com 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
Re: Dual head on ATI FirePro M5800
On Mon, Oct 4, 2010 at 5:37 PM, Ole Tange o...@tange.dk 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
[ANNOUNCE] font-util 1.1.2
-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