Re: [Xpert]blitting RGB images?
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
[Xpert]blitting RGB images?
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]blitting RGB images?
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
Re: [Xpert]NVidia RIVA TNT2 M64 and Xv - how can I implement it?
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]NVidia RIVA TNT2 M64 and Xv - how can I implement it?
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]Need help getting X to run at 1920x1440
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
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
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!]
[ 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!
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
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]Xv without the nvidia binary driver
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 path-to-driver /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
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]create a icon on desktop
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)
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
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