Re: [Xpert]Multihead X
On Tue, 27 Nov 2001, [iso-8859-1] André Magoga (E-mail) wrote: First, sorry by the l message :=) We're developing a project that needs true multihead support for X under Linux. Our environment is as follows: - one PC with an AGP video adapter board, one ps/2 mouse and keyboard set. - one or more set of PCI video adapter board, with USB mouse and keyboard. We've tried some hacks found in the web to put this environment working, but unfortunately, no one work in an acceptable manner. We're able to get the extra keyboards and mouses working, but faced a major problem with the video adapters. I assume that the hacks you looked at included http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/ (I've never tried it). patch we got the first, second and third server up and running. But we faced a problem: the video of the first Xserver blanks after the second starts. If we switch the terminal to VT1 and after to VT7 the image appears again. For the first video we decided to use a standard (non-patched) Xserver. The other instances use the patched Xserver. Notice that the patched Xserver has all VT related code commented. So, would be great if someone can give us a clue where in that BIG X source code tree we could look for this cited action. I know little about this area of the code, but I guess that you want to look at the code which calls the driver EnterVT and LeaveVT routines. These routuines prepare the graphics card for the virtual console which is about to become active. In your case you don't really want to associate a VT with the running X server, so I believe that you need to disable the VT-awareness of the server in some way. I hope this proves a useful hint. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]S-Video and ATI Rage 128 Mobility M4
Thanx for the hint, looks promising. Only thing that worries me ist the note: many people have reported problems installing over RPM or DPKG based installations. These problems stem from the fact that package maintainers get creative and put XFree86 in non-standard places. Our official recommended way is to either compile XFree86 4.1.0 tree yourself (this way you can develop too) or to use plain XFree86 binaries - the ones in .tgz format. I'm using my laptop for my daily work and can't risk to spoil my setup. So I really hope it will be included into official XFree86!!! matthias On Wed, Nov 28, 2001 at 09:08:21AM +, Dr Andrew C Aitchison wrote: On Wed, 28 Nov 2001, Matthias Weiss wrote: Hi! I've a Dell Inspiron 8000 with ATI Rage 128 Mobility M4 graphic chip set. My laptop has also a S-Video plug which works under WinMe when I reboot the box while the S-Video port is connected with the TV. Did you find anything at http://www.linuxvideo.org/gatos/ ? That project is supposed to provide tv output on ATI cards. There is a plan to merge this into XFree86, but I don't know how far it has got. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Wheel mouse does not work with USB mouse when using input core driver
Hi, I'm using a Logitech MouseManPlus USB (also works when using a USB-PS/2 adapter). Current setup: Linux kernel 2.4.15, XFree86 from CVS (Nov. 24th). Bug: Mouse wheel does not work when using USB mouse and Input core driver whereas it works with the PS/2 adapter. I have a similar setup as described here: http://www.linux-usb.org/USB-guide/x194.html I'm using this setup because I never got native XFree86 USB mode to work. (I didn't try InputDevice USB Mice SendCoreEvents yet, might it help ?) Therefore, when not in X yet, I can cat /dev/input/mice in console and see some input when using the mouse wheel, like when in PS/2 mode with cat /dev/psaux , that's why I thought of an XFree86 bug. Config follows, and both /var/log/XFree86.0.log output when using PS/2 and USB mode. PS: Hope this is the right mailing-list, I searched the Web, searched http://koala.ilog.fr/colas/mouse-wheel-scroll/ , saw nothing on newbie@ archives. Here's /etc/X11/XF86Config: Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/CID/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ EndSection Section Module Load extmod Load GLcore Load glx Load dri Load dbe Load record Load speedo Load type1 Load freetype EndSection Section DRI Mode 0666 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option AutoRepeat 500 30 Option XkbRules xfree86 Option XkbLayout fr Option XkbModel pc102 EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol MouseManPlusPS/2 Option Device /dev/input/mice #Option Device /dev/mouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection Section Monitor #DisplaySize 320 240 # mm Identifier Monitor0 VendorName IVM ModelName1711 HorizSync27-96 VertRefresh 50-160 # ModeLine 1280x1024 165.47 1280 1336 1616 1728 1024 1026 1038 1064 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 SWcursor# [bool] #Option Dac6Bit # [bool] #Option Dac8Bit # [bool] #Option ForcePCIMode# [bool] #Option CPPIOMode # [bool] #Option CPusecTimeout # i #Option AGPMode # i #Option AGPSize # i #Option RingSize# i #Option BufferSize # i #Option EnableDepthMoves# [bool] #Option crt_screen # [bool] #Option UseFBDev# [bool] Identifier Card0 Driver ati VendorName ATI BoardName Radeon VE QY BusID PCI:1:0:0 Option AGPMode 2 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Depth 1 EndSubSection SubSection Display Depth 4 EndSubSection SubSection Display Depth 8 EndSubSection SubSection Display Depth 15 EndSubSection SubSection Display Depth 16 EndSubSection SubSection Display Depth 24 Modes 1280x1024 640x480 800x600 1024x768 ViewPort 0 0 EndSubSection EndSection Here's the output when using USB mouse and the input core driver: This is a pre-release version of XFree86, and is not supported in any way. Bugs may be reported to [EMAIL PROTECTED] and patches submitted to [EMAIL PROTECTED] Before reporting bugs in pre-release versions, please check the latest version in the XFree86 CVS repository (http://www.XFree86.Org/cvs) XFree86 Version 4.1.99.1 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: xx
[Xpert]How to convet XAllocColorCells() to XAllocColor()
Hi, I have one example using XAllocColorCells(), I want to make it work with 24bpp mode, for that I am trying to convert the function XAllocColorCells() to XAllocColor(), after conveting that it is giving Bad Value error (int parameter out of range), is there any exapmle or tutorials for this kind of convertions??? Thanks in advance, Bala. __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]XFree86 4.1.99.1 and Enlightenment 0.16.5 drawing black/white lines when minimizing
Mark, I just tested it and it leaves artifacts without Option XaaNoSolidTwoPointLine, see screenshot here: http://www.epita.fr/~cahagn_o/xfree86/xfreebug3.jpg [...] Mark, any idea what could cause this? miSetZeroLineBias isn't set to reflect the hardware's (peculiar) biases. But from the looks of the real-life screen shots you have bigger problems than that. Mismatches between software and hardware line biases, though definitely an error, are rarely a problem for real-world apps unless you have backing store enabled. I don't use backing store AFAIK (see my XF86Config here: http://www.xfree86.org/pipermail/xpert/2001-November/013270.html ). So, is this bug likely to be fixed or do I have faulty hardware ? -- Olivier Cahagne [EMAIL PROTECTED] ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]ATI XPERT 2000 PRO
On Wed, 28 Nov 2001, Jesús Sánchez wrote: I DON'T GET TO USE MY VIDEO CARD(ATI XPERT 2000 PRO) BECAUSE LINUX NOT RECOGNIZE THIS CARD. I AM USING RED HAT 6.0. ARE THERE ANY SOLUTION ABOUT THIS? I guess turning caps off and using a standard line length in eMail messages is the first step to success. Seriously: How this problem can be solved is described under http://two.ucdavis.edu/~holland/unix/xpert2000.html Hope that helps Nils Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * [EMAIL PROTECTED] ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Re: ATI XPERT 2000 PRO
On Wed, 28 Nov 2001, Jesús Sánchez wrote: Date: Wed, 28 Nov 2001 10:31:58 +0100 From: Jesús Sánchez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Content-Type: multipart/alternative; boundary==_NextPart_000_0005_01C177F7.E862C8A0 List-Id: General X Discussion xpert.XFree86.Org Subject: ATI XPERT 2000 PRO I DON'T GET TO USE MY VIDEO CARD(ATI XPERT 2000 PRO) BECAUSE LINUX NOT RECOGNIZE THIS CARD. I AM USING RED HAT 6.0. ARE THERE ANY SOLUTION ABOUT THIS? I have added support to XFree86 for this chipset, which is the (ATI Rage 128 SM). It is available in XFree86 4.1.0-3 in Red Hat Linux 7.2. The small patch has been applied to XFree86 CVS and will appear in the official XFree86 4.2.0 release. The easiest way to have the card working, and supported, is to upgrade to Red Hat Linux 7.2. If you would like help doing so, you can subscribe to our Red Hat Linux 7.2 mailing list by sending an email message to: To: [EMAIL PROTECTED] Subject: subscribe Hope this helps. Good luck! TTYL -- -- Mike A. Harris Shipping/mailing address: OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie, XFree86 maintainer Ontario, Canada, P6C 5B3 Red Hat Inc.Phone: (705)949-2136 http://www.redhat.com ftp://people.redhat.com/mharris Red Hat XFree86 mailing list: [EMAIL PROTECTED] General open IRC discussion:#xfree86 on irc.openprojects.net -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]xmodmap pointer problem
Hello, greetings to everyone. I want to use an build-in touchpad and, if attached, an USB mouse with 7 buttons. To use the side buttons, if have to map the wheel to button 6 and 7 and then remap them with xmodmap to button 4 and 5. This works fine if I use the USB mouse as core pointer and the touchpad to generate core events. This has the drawback that my X-Server won't start if the USB mouse is not attached because it can't find the core pointer. However, if I use the touchpad as core pointer and the USB mouse to generate core events,, xmodmap -e 'pointer 1 2 3 6 7 4 5' won't work. It seems that only the core pointer device is remapped because the wheel generates button 6 and 7 events in xev. So my question is: Is this a bug in xmodmap or is there an option to overcome this problem? Thanks in advance. Udo Willers P.S I am not subscribed to this list, so please CC your answer to my mail address. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]xmodmap pointer problem
On Wed, 2001-11-28 at 15:07, Udo Willers wrote: greetings to everyone. I want to use an build-in touchpad and, if attached, an USB mouse with 7 buttons. To use the side buttons, if have to map the wheel to button 6 and 7 and then remap them with xmodmap to button 4 and 5. This works fine if I use the USB mouse as core pointer and the touchpad to generate core events. This has the drawback that my X-Server won't start if the USB mouse is not attached because it can't find the core pointer. This should work if you use /dev/input/mice with protocol ImPS/2 for the USB mouse. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Multi-Head Matrox G400
Does Xv (overlay) work on both heads in merged mode, or it is primary head only? Alex -Original Message- From: Alex Deucher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 5:06 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [Xpert]Multi-Head Matrox G400 Does this merged mode require the binary module or will it work with the open source drivers? It requires the binary module. Alex -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Kujawski Sent: Tuesday, November 27, 2001 10:37 AM To: Randall Watt Cc: Xpert Mailing List Subject: RE: [Xpert]Multi-Head Matrox G400 That option was shaded out, what do I need to inable to turn it on? I installed both this package and the beta version of Matrox's mga drivers. Frank My apologies, I spoke too soon. Merged mode is not supported on the G400. Oh well, hopefully some G450/G550 users out there will benefit from this information. On Tue, 27 Nov 2001, Randall Watt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Kujawski Sent: Tuesday, November 27, 2001 7:23 AM To: Xpert Mailing List Subject: [Xpert]Multi-Head Matrox G400 I have downloaded the patches from Matrox and installed them. Everything works ok in fvwm. But when I run KDE I have font problems on my second monitor. The AA fonts should work on the second head if you enable Merged Display Mode through the Matrox PowerDesk utility. Merged mode also allows for DRI and Xinerama to work together on the second head. __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Video output on a Trident CyberbladeAi1d
Hello With the CVS-development version on a Trident CyberbladeAi1d (in a Acer Travelmate 354e laptop) I'm having a small problem with displaying videos. I've read through the mailing list archive and now got it almost working but not fully. And I had to make some changes to the code in trident_video.c, namely: - changing line 95 to: if (pTrident-Chipset = CYBERBLADEAI1d) (so that VID_OFF_SHIFT_4 gets not or'ed in) - changing the lines 75[56] to: ty1 = dstBox-y1 + pTrident-vsync; ty2 = dstBox-y2 + pTrident-vsync; (i.e. removing the `- 2' and `+ 2') That latter change was wild guessing, obviously, but fixed the problem that I got a line at the bottom of the video output region containing garbled color pixels (looks like the stuff you get when putting an uninitialised pixmap on the screen, pretty randomly, although the pattern looks enough like the line above it to make me think that it's just the last video line displayed with the wrong color information). But I also get such a row of garbled pixels on the right of the video region and I wasn't able to find a place where I can fix that. I've frobbed with the variables for the zoom factor and for the positions of the video region but without fixing the problem. But otherwise video with the current CVS version is working nicely, good work, guys. If someone could point me in the right direction, I'd be willing to try any suggestions made. Thanks. Bye Sven ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Multi-head Display
I was wondering what solution would be best for multi-head displays. Would it be a card that supports dual heads or two cards? I suppose the next question is what would be done on the screens, a primary high res workspace for office type issues and a secondary low res for picutres/movies etc. A second option is for both monitors to be the primary work space and for windows to move natraly between the two. What type of cards would work best for each situation and why? This is a general post to help me decide how to configure my workstation and what is availiable that I may not have considered. Frank ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Multi-head displays - why so difficult?
Frank Kujawski said... | |I was wondering what solution would be best for multi-head displays. |Would it be a card that supports dual heads or two cards? |I suppose the next question is what would be done on the screens, a |primary high res workspace for office type issues and a secondary low res |for picutres/movies etc. A second option is for both monitors to be the |primary work space and for windows to move natraly between the two. |What type of cards would work best for each situation and why? I've been kind of boggled that this is such a big deal. In 1992, I was running the Graphics Product Verification Test (PVT) lab at IBM/Austin for the R/S 6000 line. We did a lot of multi-head testing, including on occasion one of every type of graphics adapter we could cram into a big box. I recall more than once running six diverse adapters together, including a B/W and their big dog 3D engine, and various things in between. We tested them as separate displays, and as screens of one display. It tended to all work pretty seamlessly. Pretty amazing, and *very* cool. [1] So was this just IBM's heavily modified X server, or was this based on common, multi-head code. Why is this not readily available in XFree86? Is it the limitations of the PC architecture? Thanks, Miles [1] I was a contractor, not an employee of IBM. No vested interest, etc. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]X will not find font server after partition change.
I am running a new RH 7.2 Linux install. All was and is working fine, but: During the Linux install I selected too small of a /tmp partition. I had played with partitions before, so I created another ext2 file system on my hard drive, booted to single user, copied everything from /tmp to the new partition (a good copy, no translation of sym links, etc.) and changed fstab so /tmp mounts on the newly created partition. The X server won't initialize, saying that it cannot find the font path unix:/7100. I have no idea where to look, I don't know the X conf files very well, maybe something is /dev dependent?? BTW, I checked /usr/rc.d/init.d/xfs status and is not running. If I point /tmp at my old partition all works fine. I appreciate any help on this, thx. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Video output on a Trident CyberbladeAi1d
Wischnowsky, Sven writes: Hello With the CVS-development version on a Trident CyberbladeAi1d (in a Acer Travelmate 354e laptop) I'm having a small problem with displaying videos. I've read through the mailing list archive and now got it almost working but not fully. And I had to make some changes to the code in trident_video.c, namely: - changing line 95 to: if (pTrident-Chipset = CYBERBLADEAI1d) You should send a 'diff -u' output or at least a larger code segment as your line 95 may not be my line 95. (so that VID_OFF_SHIFT_4 gets not or'ed in) Yes, that's correct! I found that on a AI1 yesterday, too. - changing the lines 75[56] to: ty1 = dstBox-y1 + pTrident-vsync; ty2 = dstBox-y2 + pTrident-vsync; (i.e. removing the `- 2' and `+ 2') That latter change was wild guessing, obviously, but fixed the problem that I got a line at the bottom of the video output region containing garbled color pixels (looks like the stuff you get when putting an uninitialised pixmap on the screen, pretty randomly, although the pattern looks enough like the line above it to make me think that it's just the last video line displayed with the wrong color information). We cannot remove these as they may affect other chips. Try to find an optimal value for pTrident-vsync. (Please check trident_dac.c where it gets set.) But I also get such a row of garbled pixels on the right of the video region and I wasn't able to find a place where I can fix that. I've frobbed with the variables for the zoom factor and for the positions of the video region but without fixing the problem. You may want to check pTrident-hsync for this. I needed to do a pTrident-hsync -= 7; from the default value for the Ai1. But otherwise video with the current CVS version is working nicely, good work, guys. Thanks! Regards, Egbert. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]X will not find font server after partition change.
I am running a new RH 7.2 Linux install. All was and is working fine, but: During the Linux install I selected too small of a /tmp partition. I had played with partitions before, so I created another ext2 file system on my hard drive, booted to single user, copied everything from /tmp to the new partition (a good copy, no translation of sym links, etc.) and changed fstab so /tmp mounts on the newly created partition. The X server won't initialize, saying that it cannot find the font path unix:/7100. I have no idea where to look, I don't know the X conf files very well, maybe something is /dev dependent?? BTW, I checked /usr/rc.d/init.d/xfs status and is not running. If I point /tmp at my old partition all works fine. I appreciate any help on this, thx. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Re:
[Xpert]From: Kike _kike@mol.com.mk - Virus
Dude, you have a virus -_ABC0987654321DEF_-- --_ABC1234567890DEF_ Content-Type: audio/x-wav; name=Me_nude.MP3.scr Content-Transfer-Encoding: base64 Content-ID: EA4DMGBP9p TVqQAAME//8AALgAQAAA 8A4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAoxs1SbKejAWynowFsp6MBF7uvAWinowHvu60BbqejAYS4qQF2p6MBhLin AW6nowEOuLABZaejAWynogHyp6MBhLioAWCnowHUoaUBbaejAVJpY2hsp6MB A ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Matrox G450
I try to use a Matrox G450 in overlay mode, but it looks like the mode is still buggy Is there somebody who is working on that problem? -GES Gerhard Schaden http://www.liscon.com/ http://www.liscon.com/ Leitung Forschung u. Entwicklung [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] LISCON GmbH Mobil:+43 664 223 Richard-Wagner-Strasse 7 Tel:+43 4242 214855 A-9500 Villach Fax:+43 4242 214855 99 AUSTRIA / EUROPE ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
RE: [Xpert]From: Kike _kike@mol.com.mk - Virus
Title: RE: [Xpert]From: Kike [EMAIL PROTECTED] - Virus He's got something... I had to delete my Xpert folder in Outlook in order to get things working again. Preview pane was on and couldn't turn it off because of the email. -Original Message- From: Raphael Amaury JACQUOT [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 2:56 PM To: [EMAIL PROTECTED] Subject: [Xpert]From: Kike [EMAIL PROTECTED] - Virus Dude, you have a virus -_ABC0987654321DEF_-- --_ABC1234567890DEF_ Content-Type: audio/x-wav; name=Me_nude.MP3.scr Content-Transfer-Encoding: base64 Content-ID: EA4DMGBP9p TVqQAAME//8AALgAQAAA 8A4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v ZGUuDQ0KJAAoxs1SbKejAWynowFsp6MBF7uvAWinowHvu60BbqejAYS4qQF2p6MBhLin AW6nowEOuLABZaejAWynogHyp6MBhLioAWCnowHUoaUBbaejAVJpY2hsp6MB A ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]How to convet XAllocColorCells() to XAllocColor()
On Wed, 28 Nov 2001, Ba la wrote: Hi, I have one example using XAllocColorCells(), I want to make it work with 24bpp mode, for that I am trying to convert the function XAllocColorCells() to XAllocColor(), after conveting that it is giving Bad Value error (int parameter out of range), is there any exapmle or tutorials for this kind of convertions??? XAllocColor returns BadValue? That shouldn't be possible. Use of XAllocColor replaces both XAllocColorCells and the XStoreColor. With XAllocColor you simply pass in the RGB values that you want. It returns the closest RGB color and fills in the pixel value of that color. Alternatively you could have generated the pixel values yourself without calling XAllocColor. All you need is the RGB masks in the XVisualInfo for the visual you are using. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Multi-head displays - why so difficult?
On Wed, 28 Nov 2001 [EMAIL PROTECTED] wrote: Frank Kujawski said... | |I was wondering what solution would be best for multi-head displays. |Would it be a card that supports dual heads or two cards? |I suppose the next question is what would be done on the screens, a |primary high res workspace for office type issues and a secondary low res |for picutres/movies etc. A second option is for both monitors to be the |primary work space and for windows to move natraly between the two. |What type of cards would work best for each situation and why? I've been kind of boggled that this is such a big deal. In 1992, I was running the Graphics Product Verification Test (PVT) lab at IBM/Austin for the R/S 6000 line. We did a lot of multi-head testing, including on occasion one of every type of graphics adapter we could cram into a big box. I recall more than once running six diverse adapters together, including a B/W and their big dog 3D engine, and various things in between. We tested them as separate displays, and as screens of one display. It tended to all work pretty seamlessly. Pretty amazing, and *very* cool. [1] So was this just IBM's heavily modified X server, or was this based on common, multi-head code. Why is this not readily available in XFree86? Is it the limitations of the PC architecture? The XFree86 project showed a 12 headed system running on an IBM Netfinity with 12 Matrox G200 PCI cards at LinuxTag in Germany a year or two ago. I'm currently running two cards on my machine - a PC with an NVIDIA GeForce2 GTS AGP on one head and NVIDIA TNT2 PCI on the other. When I worked at VA Linux Systems many people had 2 and 3 headed systems with XFree86 4.0, most of them running with Xinerama as I am now. This stuff is readily available with XFree86, but only with particular video drivers. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Multi-head Display
I currently have an AGP Number Nine Revlution 4 32MB as primary, and a PCI ATI @ Work 98 8MB (I think) as a slave. Both heads at 1024x768, and both on 20 monitors. This setup works fine for normal business type apps, programing, web browsing, etc. I'm using the Xinerama extension, so both heads combine to just one wide display split across two monitors. You can drag windows across the screens, have one window fill up both screens, etc. There are some limitations though: I haven't found any window managers (as of about 6 months ago) that were fully Xinerama/multi-head aware. This is mostly just an annoyance. When an app starts up, it can be split across the screens, a menu from your left screen can overlap to the right screen, etc. No DGA support. If you use VMWare, don't expect full screen mode. This can hamper your use of VMWare, expecially if you run graphics intence apps under vmware. My use of windows apps is very minimal, so this doesn't bother me much. I just ran into this one, only one screen can support openGL, and as far as I can tell, only the primary screen. I just started playing around with some 3D modeling, and the app I'm using requires openGL. The app runs fine as long as it stays on the primary screen. But since the window manager isn't fully aware, it's next to impossible to stay on one screen. This creates a good bit of flakiness in the app, and seems to cause flakiness in X it's self. Now my main Video card doesn't support openGL acceleration, which I believe is causing X windows to be flaky. I have since started to run a second X server on display :1, without Xinerama, when I run this 3D modeler (still flaky, but I believe it's my video card). Recent messages on this list lead me to think that Matrox G450 and G550 dual head cards will support openGL on both heads. I've always heard matrox cards to be more multi-head friendly than others, so this makes since to me. Any how that's my next step, a G550. I probably won't get to it till after new years, so if you go this route post back with your results. Good luck, Chris On Wed, 28 Nov 2001, Frank Kujawski wrote: Date: Wed, 28 Nov 2001 11:58:13 -0500 (EST) To: Xpert Mailing List [EMAIL PROTECTED] From: Frank Kujawski [EMAIL PROTECTED] Subject: [Xpert]Multi-head Display I was wondering what solution would be best for multi-head displays. Would it be a card that supports dual heads or two cards? I suppose the next question is what would be done on the screens, a primary high res workspace for office type issues and a secondary low res for picutres/movies etc. A second option is for both monitors to be the primary work space and for windows to move natraly between the two. What type of cards would work best for each situation and why? This is a general post to help me decide how to configure my workstation and what is availiable that I may not have considered. Frank ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]From: Kike _kike@mol.com.mk - Virus
I love my linux.. *grin* ...(Balsa mailer ... delete key.) On 2001.11.28 14:47 George Jones (IT) wrote: He's got something... I had to delete my Xpert folder in Outlook in order to get things working again. Preview pane was on and couldn't turn it off because of the email. -Original Message- From: Raphael Amaury JACQUOT [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 2:56 PM To: [EMAIL PROTECTED] Subject: [Xpert]From: Kike [EMAIL PROTECTED] - Virus Dude, you have a virus Indeed he does ... -_ABC0987654321DEF_-- --_ABC1234567890DEF_ Content-Type: audio/x-wav; name=Me_nude.MP3.scr Content-Transfer-Encoding: base64 Content-ID: EA4DMGBP9p CONTENT SNIPPED ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Multi-head Display
On Wednesday 28 November 2001 17:22, Chris Carbaugh wrote: I haven't found any window managers (as of about 6 months ago) that were fully Xinerama/multi-head aware. This is mostly just an annoyance. When an app starts up, it can be split across the screens, a menu from your left screen can overlap to the right screen, etc. KDE can be compiled with Xinerama support and most apps work quite nicely. The ones that break tend to be the ones that get the geometry of the screen and then move the window to the centre manually. Qt3 has Xinerama support now and I've been working with other KDE developers to improve our support for KDE3. But the biggest problem I've found with Xinerama... apps don't support it yet. It would be nice if the Xinerama API were more full-featured too. It's nice to have functions like screenLeftOf(int x) so that it's easy to walk through the screen map. I found that I implemented many of these for KWinTV. However the WM can't do much for apps that assume they are on a single headed machine. Recent messages on this list lead me to think that Matrox G450 and G550 dual head cards will support openGL on both heads. I've always heard matrox cards to be more multi-head friendly than others, so this makes since to me. Any how that's my next step, a G550. I probably won't get to it till after new years, so if you go this route post back with your results. The G550 works quite well. Hopefully we will have Xv on the second head soon. That would be very nice. -- George Staikos ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
RE: [Xpert]i815 - overlay output
Markus, I suspect that the video is actually shifted relative to the framebuffer. The OVRACT register accounts for a shift that is applied to keep the overlay and framebuffer in line when the LCD or TV timings are in use. Open a gimp and paint the window the exact color of blue that you see on the right side. Put that window under the mplayer window on the left side. If the video is actually shifted you'll the see the portion of the video that is outside the window on the left side. (The overlay will only draw on pixels that are blue, since that is what the colorkey is set to.) If that is determined to be the problem we can look into a value for the OVRACT register that works for the i815M without issue. FYI: OVRACT = 0x6001c offset from mmio base. and bits 26:16 are the overlay active end, bits 11:0 are the start. BTW: How did you get that screenshot? Did you photograph the screen? -Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 6:12 PM To: [EMAIL PROTECTED] Subject: [Xpert]i815 - overlay output Hey, I bought an Acer Travelmate 612TX with an Intel i815 graphic chip. All movie players show up a blue bar on the right side (http://shell.dnload.com:5/overlay.jpg) Does someone know how to fix that problem? If anyone needs more information please let me know :) Markus ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]How to convet XAllocColorCells() to XAllocColor()
Hi Mark, I need to change the colors dynamically, so I have to use XAllocColorCells(), that is what mentioned in man pages, is it possible to change dynamically the colors, when we use XAllocColor(). I setted my display in 8bpp mode, so that example is working, but when my netscape is open, I con't run my XAllocColorCells example, it is giving error as Bad Access(int parameter out of range for access) mager opcode (X_StoreColor)failed it is giving the error like this, when I close my netscape it is working fine, when I start my example after that I start netscape, then no problem I cam quit my example and start again it will work. why the Bad Access error from XStoreColor() is comming even in 8bpp mode also(when the netscape is open), is it not enough space is not available for XStoreColor() to store the values, or we need to validate the parameters to XStoreColors(), so that it won't give int parameter out of range error, if it is so, how to validate the parameters to XAllocColors(). Thanks in advance, Bala. --- Mark Vojkovich [EMAIL PROTECTED] wrote: On Wed, 28 Nov 2001, Ba la wrote: Hi, I have one example using XAllocColorCells(), I want to make it work with 24bpp mode, for that I am trying to convert the function XAllocColorCells() to XAllocColor(), after conveting that it is giving Bad Value error (int parameter out of range), is there any exapmle or tutorials for this kind of convertions??? XAllocColor returns BadValue? That shouldn't be possible. Use of XAllocColor replaces both XAllocColorCells and the XStoreColor. With XAllocColor you simply pass in the RGB values that you want. It returns the closest RGB color and fills in the pixel value of that color. Alternatively you could have generated the pixel values yourself without calling XAllocColor. All you need is the RGB masks in the XVisualInfo for the visual you are using. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]X will not find font server after partition change.
Thx Safemode, for some reason: 1) I didn't know that, and 2) I did an upgrade from RH 7.0, and the setup was kept withxfs... I did what you said and it works, and the fonts seem to work better now, what a surprise! :) I also removedxfs from all run levels (is there anything else I should look into to make sure my "upgrade" didn't miss anything?) Take care, Cloter p.s.: I also got multihead to work (in 1/2 hr), really nice!! safemode [EMAIL PROTECTED] wrote: I assume this is X 4.x If it is then you do realize that you shouldn't be using xfs. It's not necessary. the x font server is inside the X server now. Just add "Load "freetype" in the module list to get true type font support. add your font paths in the X config file and you're set. Of course if it's 3.x just ignore this.On Wednesday 28 November 2001 15:55, Dr Andrew C Aitchison wrote: On Wed, 28 Nov 2001, Cloter M. wrote: I am running a new RH 7.2 Linux install. All was and is working fine, but: During the Linux install I selected too small of a /tmp partition. I had played with partitions before, so I created another ext2 file system on my hard drive, booted to single user, copied everything from /tmp to the new partition (a good copy, no translation of sym links, etc.) and changed fstab so /tmp mounts on the newly created partition. The X server won't initialize, saying that it cannot find the font path "unix:/7100". I have no idea where to look, I don't know the X conf files very well, maybe something is "/dev" dependent?? BTW, I checked "/usr/rc.d/init.d/xfs status" and is not running. If I point "/tmp" at my old partition all works fine. I appreciate any help on this, thx. Restart xfs, probably with /etc/init.d/xfs stop /etc/init.d/xfs start I don't *think* "restart" will work here. Some of the files you copied were not files or links but something stranger (named pipes or sockets I think). The font server is still listening to the old copy, but a new X server will talk to the new copy :-)Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
Re: [Xpert]How to convet XAllocColorCells() to XAllocColor()
On Wed, 28 Nov 2001, Ba la wrote: Hi Mark, I need to change the colors dynamically, so I have to use XAllocColorCells(), that is what mentioned in man pages, is it possible to change dynamically the colors, when we use XAllocColor(). You cannot change the colors associated with a pixel in TrueColor modes. That's why TrueColor colormaps are called read-only maps. If you need to do palette effects and have the colors change without redrawing the scene, that can only be done on read-write maps like PseudoColor or DirectColor. I setted my display in 8bpp mode, so that example is working, but when my netscape is open, I con't run my XAllocColorCells example, it is giving error as Bad Access(int parameter out of range for access) mager opcode (X_StoreColor)failed XStoreColors failed because the XAllocColorCells failed in the first place and you can't store colors in cells that you haven't allocated. They failed to allocate for you because Netscape already allocated most of them. You are trying to allocate colors on the default map and doing so will only succeed if other apps haven't already allocated them. You can create your own colormap and use that instead but you will get the color flashing that happens when the colormaps are swapped when your window comes into focus. Basically, programming in PseudoColor mode is problematic in general on PC hardware because PC hardware only has a single hardware palette that has to be shared by all. it is giving the error like this, when I close my netscape it is working fine, when I start my example after that I start netscape, then no problem I cam quit my example and start again it will work. why the Bad Access error from XStoreColor() is comming even in 8bpp mode also(when the netscape is open), is it not enough space is not available for XStoreColor() to store the values, or we need to validate the parameters to XStoreColors(), so that it won't give int parameter out of range error, if it is so, how to validate the parameters to XAllocColors(). You need to think about what you really need to do color-wise. In TrueColor you can use as many colors as you want but you cannot change the color associated with a pixel value. In PseudoColor you can only allocate as many cells as are free in the colormap. You can create a new colormap with all the cells free but then you get color flashing as the X-server swaps maps in and out. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]How do I get rid of this cannot open PEX Roman_M message
Hi, I have X running but I keep seeing this message in my log. How do I get rid of it. I looked in the source and I see the PEX directory. Is there a way to compile and install this without having to do everything? Thanks! Francis ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Laptop freezes up when I switch vty's
Hi, I finally got DRI running with my laptop which has the ATI Mobility M6 Radeon chipset. But now when I ctrl-alt-fnumber to a different terminal like ctrl-alt-f1 for the first term to look at a message and then switch back to vty7 to see my X screen, the display is all garbled and stays that way. I cannot type or move my mouse. The computer appears to be frozen. However and thankfully, since I have ACPI working too ;-) I hit the power button and the laptop shuts down gracefully, and I can restart it without fscking (I'm running ext2). This means that the computer is not truly frozen but rather, maybe, it is just the mouse, keyboard, and screen Disabling DRI will stop this problem but I'd like to have DRI available. What's going on? I'm running the latest XFree86 checkout with kernel 2.4.16. Thanks! Francis ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert