Re: [Xpert]blitting RGB images?

2002-06-16 Thread Yuri van Oers


On Sat, 15 Jun 2002, Mark Vojkovich wrote:
> On Sun, 16 Jun 2002, Yuri van Oers wrote:
> > 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.
> >
> > What should I use; ZPixmap? In that case, what's the RGB format; ARGB or
> > something else (I need RGB)?
>
>ZPixmap.  XImages aren't RGB per se, they are pixel data that
> gets interpreted according to the visual.  So if you're using them
> with a Window that has a TrueColor visual you'll want them to
> match the RGB masks for that visual.  See the man page on XVisualInfo
> for determining the RGB masks associated with a visual.

I see my first thoughts weren't all that wrong.
Querying visuals, I get (among others):
Visual 1:
 ID: 33
 screen: 0
 depth: 24
 red mask: FF
 green mask: FF00
 blue mask: FF
 colormap size: 256
 bits per rgb: 8

According to xdpyinfo, the class is Truecolor.

This looks like what I need to me. But reality disagrees.
A fabricated image, with a red bar at the top, a green bar in the middle
and a blue bar at the bottom, is displayed as a picture with the first
three pixels blue, green and red pixel respectively, then repeated in the
whole image:

RRR rgbrgbrgbrgbrg
RRR brgbrgbrgbrgbr
GGG->   gbrgbrgbrgbrgb
GGG rgbrgbrgbrgbrg
BBB brgbrgbrgbrgbr
BBB gbrgbrgbrgbrgb

This looks like packed information is interpreted as planed.
What am I doing wrong?

Thanks,
Yuri

___
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



[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 B&W, 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]NVidia RIVA TNT2 M64 and Xv - how can I implement it?

2002-04-29 Thread Yuri van Oers


On Mon, 29 Apr 2002, Mark Vojkovich wrote:
> On Mon, 29 Apr 2002, Yuri van Oers wrote:
> > On Mon, 29 Apr 2002, Peter Finderup Lund wrote:
> > > On Sun, 28 Apr 2002, Mark Vojkovich wrote:
> > >
> > > >I'm told that pre GeForce cards have different overlay hardware
> > > > that is more difficult to program.  I've never really looked into
> > > > it and wasn't planning on it since I don't have docs for the
> > > > deprecated TNT overlay engine.
> > >
> > > :(
> > >
> > > When even you don't have the docs then it's really hopeless for the rest
> > > of us.
> >
> > Excuse me for going against this, but: Mark, you have access to the source
> > of the Detonator driver and NVdriver, right? Isn't it possible to
> > extrapolate from those?
>
>Probably.  Doesn't mean I have the time or desire to do that
> though.

Just making the point of possibility, nothing more.

Regards,
Yuri

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



Re: [Xpert]NVidia RIVA TNT2 M64 and Xv - how can I implement it?

2002-04-29 Thread Yuri van Oers


On Mon, 29 Apr 2002, Peter Finderup Lund wrote:

> On Sun, 28 Apr 2002, Mark Vojkovich wrote:
>
> >I'm told that pre GeForce cards have different overlay hardware
> > that is more difficult to program.  I've never really looked into
> > it and wasn't planning on it since I don't have docs for the
> > deprecated TNT overlay engine.
>
> :(
>
> When even you don't have the docs then it's really hopeless for the rest
> of us.

Excuse me for going against this, but: Mark, you have access to the source
of the Detonator driver and NVdriver, right? Isn't it possible to
extrapolate from those?

Regards,
Yuri

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



Re: [Xpert]Need help getting X to run at 1920x1440

2002-04-10 Thread Yuri van Oers


IIRC XFree86 4.2.0's "nv" driver is able to do 1920x1440.
You could also check out http://nvidia.netexplorer.org/
That project is about getting the binary NVIDIA driver going on FreeBSD. I
understand they've accomplished quite a bit already.

Hth,
Yuri

On Tue, 9 Apr 2002, solomon Fulop wrote:

> 
> 
> I was just wondering if it would be possible to get X to run at 1920x1440 
> with an Nvidia Geforce 3 ultra and a 21 inch monitor (btw this is on a 
> FreeBSD machine).any help would be greatly appreciated
> 
> 
> _
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> ___
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
> 

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



Re: [Xpert]mouse

2002-03-22 Thread Yuri van Oers


On Fri, 22 Mar 2002, [iso-8859-1] ano nyme wrote:

> I got a X v4.1 on a woody, working perfectly, but a
> strange (but cheep) mouse.
> 
> It s a boeder with 3 buttons and 2 scrolls on
> PS/2(which complies with part 15 of the FCC rulez if
> that can help) I've tried approximatky all the
> protocols, imPS/2 seems to work BUT my pointer jump
> without my order, click when it has not to... Seems to

Looks like gpm is running. gpm causes this sort of behaviour with X.
Kill it before you start the server.

Regards,
Yuri


> be normal with a misconfiguration but can't find how
> to configure it, and docs are poor about it. I've put
> 5 buttons on XF86config, with the 4th and 5th to the
> scroll...
> 
> Anyone got a similar problem?
> 
> Thx by advance
> 
> Seb


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



Re: [Xpert]Added XResQueryClientPixmapBytes function

2002-03-10 Thread Yuri van Oers


On Sun, 10 Mar 2002, Mark Vojkovich wrote:

> On Sun, 10 Mar 2002, Keith Packard wrote:
> 
> > 
> > Around 14 o'clock on Mar 10, Mark Vojkovich wrote:
> > 
> > >I've attached a modified version of the original restest.c
> > > program which uses it.
> > 
> > Is there a good reason not to place 'restest' in the distribution?  
> > Perhaps with a better name?
> 
>I think restest is not very polished.  I'm not sure what the
> best way to present this information is.  One could probably do
> alot more than what restest does.

Yeah, but you could call it version 0.0.0.0.0.1-pre1-alfa and give it a
place on the internet so everyone can find it, at least.

-Yuri

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



Re: [Xpert]Cyberblade not accelerated [OT!]

2002-02-23 Thread Yuri van Oers


[ xpert - Off Topic! ]

On Sat, 23 Feb 2002, Joe Krahn wrote:

> SO, Microsoft takes there statistics of what percent of users run
> Windows, and they put you in that list, even though you have erased
> WIndows, all as part of the evil FUD system to get the few Linux
> supporters to decide it's a waste of time.
> 
> Am I wrong? Is there a way to unregister a computer as running
> Windoze? Or are the statistics I've read correct in saying that
> 95% of all users run Windoze?

Maybe 95% of all users run Win-something. But the percentage is of course
skewed. A percentage does not account for users who run more than one
operating system, or who use more than one computer (work - home
difference, for example). Plus it does not say how many of those users
actually WANT to run what they are running. And all illegal versions of
windows are probably estimated and included. All versions of Windows ever
sold may even be included. - Man, be glad the numbers of existing
computers isn't counted by the number of installed windows' !

The first time you booted up that laptop, you thought something like "Oh
my God!", angrily shoved in a bootfloppy and reset it. But you *SAW*
windows! You count as having used it.

Yeah, I run windows. Up until Transgaming's WineX works well enough. I run
Linux like 90% of the time, but boy, do I count as a windows user.

95% may even be invented: "Hey Joe, when I say 95% o' tha world uses
windows, that's 'bout right, ain't it?" Joe: "Yeah, whatever".
Lie born.

Until people start realizing this, and accepting the kind of crap from MS
that makes them use windows, the percentage will stay 95%, or higher.

Believe yourself, and the ones you trust. Don't believe anyone else.

Sorry, I got carried away a bit...
Yuri

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



Re: [Xpert]Here's how to unsubscribe from this list!

2002-02-20 Thread Yuri van Oers


On Wed, 20 Feb 2002, Dave Williss wrote:

> If you forget your password, don't worry, you will receive a monthly
> reminder telling you what all your XFree86.Org mailing list passwords
> are, and how to unsubscribe or change your options.  There is also a
> button on your options page that will email your current password to
> you.
> 
> * NOTE!  Does this "monthly" email actually get sent ? *

Yes, it does.

-Yuri

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



Re: [Xpert]inspiron 3200 cs4232 sound lockup

2002-02-13 Thread Yuri van Oers


And why is it you suspect your X server?
And which version is it?

Regards,
Yuri

On Mon, 11 Feb 2002, dotaku wrote:

> sound lockup when i run xmms in inspiron 3200, don't know why.
> use Redhat 7.2. But previously i used redhat 6.2, and no
> problem...everything smooth..
> 
> hmm..any idea...
> 
> -- 
> Best regards,
>  dotaku  mailto:[EMAIL PROTECTED]

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



Re: [Xpert]TNT2, Bt868

2002-01-29 Thread Yuri van Oers


On Mon, 28 Jan 2002, Mark Vojkovich wrote:
> On Tue, 29 Jan 2002, Johnny Andersson wrote:
> > 
> > Any chance that XFree's nv driver will support my tv-out chip (while still 
> > letting me use Xvideo), or is there another way to enable it?
> 
>There's no X-video support for TNT2 in the "nv" driver, nor is there
> TV-out support and I don't expect either to happen.

W.r.t TV-out, I understand www.sourceforge.net/projects/nv-tv-out is doing
a pretty good job of tv-out, including overscan, underscan, etc.
I haven't heard of a TNT2 with BT868 before, though, so it could be your
BT chip is not supported yet. If it isn't, I'm sure they would like to add
it.

-Yuri

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



Re: [Xpert](no subject)

2002-01-15 Thread Yuri van Oers


On 15 Jan 2002, Thomas Steffen wrote:

> Yuri van Oers <[EMAIL PROTECTED]> writes:
> 
> >>>  * Does this problem have to do with the fact that, one of the 
> >>>video-cards is a motherboard-built-in Video card ? Does the scenario
> >>>change, when the 2 video-cards are add-on cards ?
> >> 
> >> Shouldn't matter. 
> > 
> > Most BIOSes I've seen disable the built-in graphics adaptor when an add-on
> > card is used. I'm guessing that's the problem here.
> 
> I agree that it could, but since the ATI is present on the PCI bus, it
> hasn't been completely disabled. 
> 
Yep, that's what bothered me about the whole situation.
I was thinking BIOS bug. But indeed, without a bit more information, it is
impossible to tell :-)

-Yuri

> Whether int10 works is a different question, especially if board BIOS
> and VGA-BIOS have been put together. Using the buildin adapter as
> primary should solve this problem, if it is possible. The matrox works
> very well as a secondary display. 
> 
> > Are you sure it doesn't matter in this case?
> 
> Impossible to tell exactly without a bit more information :-)
> 
>   Thomas <[EMAIL PROTECTED]>
> ___
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
> 

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



Re: [Xpert](no subject)

2002-01-15 Thread Yuri van Oers


On 15 Jan 2002, Thomas Steffen wrote:

> "SHOBHIT MATHUR" <[EMAIL PROTECTED]> writes:
> 
> >  * Does this problem have to do with the fact that, one of the 
> >video-cards is a motherboard-built-in Video card ? Does the scenario
> >change, when the 2 video-cards are add-on cards ?
> 
> Shouldn't matter. 

Most BIOSes I've seen disable the built-in graphics adaptor when an add-on
card is used. I'm guessing that's the problem here.

Are you sure it doesn't matter in this case?

-Yuri

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



Re: [Xpert]Xv without the nvidia binary driver

2002-01-04 Thread Yuri van Oers


On Sat, 5 Jan 2002, ephemeron wrote:

> On Fri, 4 Jan 2002 12:28:15 -0800 (PST)
> Andy Ritger <[EMAIL PROTECTED]> wrote:
> 
> > On Sat, 5 Jan 2002, ephemeron wrote:
> > 
> > > With XFree86 4.1. it appears that downloading the nVidia binary drivers
> > > is the only way to get Xv working. Which can be a problem for those who
> > > aren't using an RPM-based system.
> > There are also tarballs available on NVIDIA's website.
> I know. No problem. I have it up and running. The problem is, I don't
> like the nVidia binaries. And not because they're binaries. It seems
> that every time I compile a particular linux version. I have to
> recompile the kernel-dependent binary.

The NVdriver is a (linux) kernel module.
When you compile a different kernel, any modules you use have to be
compiled for this new kernel.
The NVdriver is no different.

That's the way it works.

> RPM's make the binary installation less of a chore. But I don't have an
> RPM-based system. Wouldn't it be nice if the binaries were simple cp
>  /usr/X11R6/lib/modules/drivers/ affairs?

I don't know what kind of a setup you've got, but I don't use RPMs either,
and a simple 
# cd /usr/src/NVIDIA_kernel-1.0-2314/
# make

does the trick for me.

You could write a little script, that compares the kernel and nvdriver
date. If the kernel is newer than the driver, let it run above commands.
Put the script in your rc.local or /rc.d/init.d or whatever and it's done
at boot.

Problem solved.

Greets,
Yuri

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



Re: [Xpert]*Severe* time lossage with XF86 4.1.0 and S3Virge MX LCD

2002-01-03 Thread Yuri van Oers


On Wed, 2 Jan 2002, Kenneth Crudup wrote:

> 
> Looking thru a couple of months of list archives turned up nothing, so:
> 
> When running 4.1.0 on my laptop using a S3Virge MX, my system clock loses
> at least two seconds per minute.
> 
> I've done everything I can to narrow this down, and the bottom line is
> when X is running, even in a "fresh" weave (running "X" only), even when
> the VT is not active, my clock is slowed. I've tried pulling out all
> the optional stuff (fifo_aggressive, the pci-burst/retry stuff,
> NoPM, you name it). I've got an AMD K6-2 at 400MHz.

I must say I've been noticing a time shift in my PC's clock as well. It
didn't bother me much, as the difference is not that big, over quite a 
long period of time (in my case, anyway). Therefore, I haven't sought to
find the cause.
My hardware differs a lot from yours, so if the X server is causing time
loss, I wouldn't blame it on any of the drivers.

I'm curious as to what others think and/or experience...

-Yuri

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



Re: [Xpert]two same I2C device in the I2C bus?

2001-11-30 Thread Yuri van Oers


> Hi
> I have a problem about the decoder. I have two 7111 decoder in my
> card, they can be knock down. It seems that
> they can all work at the same time. But I wonder how can it do that.
> When I initlized the I2C device, I only give the same device address,
> the 7111's address is 0x48, how can the system distingush the two
> deocoder use the same address? 

It can't. If my memory serves me right, there are two likely possibilities
of getting two the same I2C devices to work.
First, and trivial case: they are on two different busses.
Second, the 7111's have two possible addresses, indead 0x48 and I don't
know the other one by heart.

If they are really on the same bus, and have the same address, there's no
distinguishing between them. I believe behaviour of the I2C bus is
undefined in this case.

Regards,
Yuri van Oers

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



Re: [Xpert]create a icon on desktop

2001-10-25 Thread Yuri van Oers


You're on the wrong list, I'm afraid.
X has nothing to do with desktops and icons thereon.
You need to contact the people who created your windowmanager (KDE, Gnome,
Windowmaker, etc).

-Yuri

On Thu, 25 Oct 2001, Louis Lu wrote:

> Hi :
>
>Is there anyone who know how to to create a icon (short-cut as
> well) on the desktop?  therefore, I can just click the icon to run
> the program.
>
>  the executable file is located /root/sample.
>
> thanks in advance.
> Louis

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



Re: [Xpert]please help me! (Matrox G400)

2001-10-24 Thread Yuri van Oers



On Wed, 24 Oct 2001, Francesco Oppedisano wrote:

> This is my system
> Intel Celeron 1067 Mhz

1067 MHz?
Are you running an overclocked processor, and if yes, did you try running
at the specified speeds ? SCSI can be picky about bus-speeds.

-Yuri

> 640Mb Ram
> Matrox G400 DualHead 16Mb
> Pioneer DVD Player scsi
> 3 ultra wide scsi ibm HDs
> Pinnacle studio pctv TV Card
> Creative Sound Blaster Live!
> Slackware Linux 8.0
> Linux 2.4.12
> Xfree 4.1.0
> Driver matrox (from matrox web site)
> Mtrr activated in kernel
> ...
> The first (and much important) problem  are my system's performances in
> playing DVD disks. Really i'm not able to obtain good smooth video stream.
> My Xfree log says... (i'm reporting only strange things):

> [snip]

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



Re: [Xpert]differences on celeron and PIII

2001-10-01 Thread Yuri van Oers


On 1 Oct 2001, Michel [ISO-8859-1] Dänzer wrote:

> On Mon, 2001-10-01 at 00:13, Peter Pilsl wrote:
>
> > > Are you sure the configuration is _exactly_ the same except for the
> > > CPU - no other hardware differences or anything?
> >
> > There are two laptops from Dell - same model with same equipment only
> > differing in the CPU. When doing lspci I see that even the reported
> > versions of all components (especially vga-adpater) are equal.
> >
> > What the hell is going on ? The only reasonable explanation is some
> > MMX-code in a relevant part of the driver that doesnt run on the
> > Celeron.
>
> Hardly, as Mark pointed out.

As far as I can see on intel.com the mobile Celeron 700 still has the P2
core and does not have SSE (SIMD). The (mobile) P3 does. Maybe that's the
problem. Or could it be something with MTRRs?

-Yuri

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



Re: [Xpert]Odd looking code in XFree86

2001-09-26 Thread Yuri van Oers

On Tue, 25 Sep 2001, Keith Packard wrote:

> Around 23 o'clock on Sep 25, "Mike A. Harris" wrote:
>
> > Hmm.  Looks to me like the programmer probably tried to silence
> > the warning resulting from the lack of inclusion of stdio.h by
> > adding (void) then..
>
> More likely a warning was generated on a system where sprintf returned a
> char * instead of an int; some compilers warn about everything *except*
> functions returning int.

Guyz,

In csfindNX.c v1.6 (CVS), stdio.h is the third header included.

-Yuri

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