[Xpert]blitting RGB images?

2002-06-15 Thread Yuri van Oers


Hi people,

Is there any fast way to display RGB images ?
I've been searching for a way to do this, in a non-accelerated way, but
have been unsuccesfull in finding any. I have been playing with XPutImage,
but I read somewhere XYPixmaps are BW, and ZPixmaps is planed RGB.

There has to be some way of blitting a simple RGB image to a window,
without the use of something like Qt or Gtk, hasn't there?
(Main reason for not using Qt et al. is speed.)

Thanks!
Yuri

PS. To me, this really sounds like the Simplest Question Of The Month. And
if it is, somebody should really make this info easy to find!

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]XF86_SVGA vs. XF86_Mach64

2002-06-15 Thread Michel Dänzer

On Mon, 2002-06-10 at 18:43, Pat Suwalski wrote: 
 
 I was wondering if someone could clarify the difference between the 
 server XF86_Mach64 with the driver 'ati' and XF86_SVGA with the driver 
 r128. They both seem to work with various cards interchangably, and 
 have quirks with some laptops or don't work at all with some laptops. I 
 guess my question is how is support for chipsets split up between them, 
 and why are some ati cards in one server and others in the other?

Mach64 and Rage128 are different chip families. I'm surprised that chips of
both families should work with the same driver.


 The video support page is very vague when it comes supported chipsets. 
 It says ...Rage, Rage 128 and Radeon chips by the ati driver. But 
 the rage driver is XF86_SVGA with r128, not ati.
 
 If someone could clarify my confusion it would be much appreciated.

An important part of the confusion is probably that this sentence sounds
like it's from 4.x documentation while the servers you mention are 3.x.
Upgrading to 4.x shouldn't be a bad idea.


-- 
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



Re: [Xpert]Re: Re: Radeon VE QY (PCI)

2002-06-15 Thread Michel Dänzer

On Sat, 2002-06-08 at 02:59, Keith Gross wrote: 
 On Tuesday 04 June 2002 11:31 pm, Mike A. Harris wrote:
  On Tue, 4 Jun 2002, Keith Gross wrote:
  Date: Tue, 4 Jun 2002 20:57:06 -0500
 
  From: Keith Gross [EMAIL PROTECTED]
 
  To: [EMAIL PROTECTED]
  Content-Type: text/plain;
charset=iso-8859-1
  List-Id: General X Discussion xpert.XFree86.Org
  Subject: Re: Re: Radeon VE QY (PCI)
  
  I do most of my work on the weekends so I'll try setting this up this
   wekend. What would be the easiest way to get the changes you made to
   enable the support so I could start from there.
 
  The patch is in the RHL 7.3 XFree86 src.rpm package, as well as
  buried somewhere under my testing dir in my sig.
 
 I was just wondering if the following will work.  I retreived the patch 
 (XFree86-4.2.0-ati-radeon-pci-drm-enable.patch) from your ftp server and 
 applied it to my XFree 4.2.0 build tree and recompiled.  I was thinking than 
 that I'd replace the following files with the new versions in the build tree 
 as shown below :
 
 Replaced /lib/modules/2.4.19-gentoo-r5/kernel/drivers/char/drm/radeon.o
with /xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/radeon.o
 
 Replaced /usr/X11R6/lib/modules/dri/radeon_dri.so
with /xc/exports/lib/modules/dri/radeon_dri.so
 
 Replaced /usr/X11R6/lib/modules/drivers/radeon_drv.o
with /xc/exports/lib/modules/drivers/radeon_drv.o
 
 After looking at the patches and reading some background on DRI and XFree 
 design this seemed viable.

Yes.

 I as also wondering how bad the reports where on the patch?  Did it 
 periodically fail or it just plain wouldn't start?

I think 3D clients would lock up after a while.


-- 
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



Re: [Xpert]blitting RGB images?

2002-06-15 Thread Mark Vojkovich

On Sat, 15 Jun 2002, Yuri van Oers wrote:

 There has to be some way of blitting a simple RGB image to a window,
 without the use of something like Qt or Gtk, hasn't there?
 (Main reason for not using Qt et al. is speed.)

   XShmPutImage.  Or XPutImage if not local or shared memory is not
available.  XShmPutImage can be considerably faster for local
connections.


Mark.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]XF86_SVGA vs. XF86_Mach64

2002-06-15 Thread Pat Suwalski

Nope, this is 4.2.0 for both cases.

--Pat

Michel Dänzer wrote:
 An important part of the confusion is probably that this sentence sounds
 like it's from 4.x documentation while the servers you mention are 3.x.
 Upgrading to 4.x shouldn't be a bad idea.
 
 



___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]XFree86-CVS 4.2.99.1 - Tonight's snapshot - Mouse strangeness..

2002-06-15 Thread Shawn Starr


Hello, I'm having a strange problem with the mouse. When it's on the left
side of the screen it jerks but on the right side of the screen it's
perfectly fine:

It's a Microsoft Intellipoint 1.3A scroll mouse.

I set the following mouse config:

Identifier Mouse1
Driver  mouse
Option  Device /dev/psaux
Option  Protocol imPS/2
Option  ZAxisMapping 4 5
Option  SendCoreEvents Yes
Option  CorePointer Yes
   #Option BaudRate  9600
Option SampleRate200

Scrolling works, the mouse works fine but not on the left side of screen.
It seems to cause the X server to pause for a few seconds?

I have a ATI Radeon All-In-Wonder 7500 64MB DDR Card
 ATI Radeon 7500 QW (AGP) (ChipID = 0x5157)

Any Ideas?


Shawn.

--
Shawn Starr, sh0n.net, [EMAIL PROTECTED]
Maintainer: -shawn kernel patches: http://xfs.sh0n.net/2.4/
Developer Support Engineer
Datawire Communication Networks Inc.
10 Carlson Court, Suite 300
Toronto, ON, M9W 6L2
T: 416.213.2001 ext 179 F: 416.213.2008

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]blitting RGB images?

2002-06-15 Thread Yuri van Oers


On Sat, 15 Jun 2002, Mark Vojkovich wrote:

 On Sat, 15 Jun 2002, Yuri van Oers wrote:

  There has to be some way of blitting a simple RGB image to a window,
  without the use of something like Qt or Gtk, hasn't there?
  (Main reason for not using Qt et al. is speed.)

XShmPutImage.  Or XPutImage if not local or shared memory is not
 available.  XShmPutImage can be considerably faster for local
 connections.

XShmPutImage and XPutImage should behave about the same, no?
I've been messing with XPutImage, but for some reason I just can't get it
to do what I want. My RGB image is turned into nonsense when
XPutImage'ing.

What should I use; ZPixmap? In that case, what's the RGB format; ARGB or
something else (I need RGB)?

Thanks,
Yuri

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert