Re: [Xpert]Trouble with DGA and MAME
In article[EMAIL PROTECTED] writes: >>I'm assuming they're not using Xlib to render and this is root-mode >>DGA where they are touching the framebuffer. I've attached one of >>my original DGA 2.0 test apps. If it works fine for you then it's >>probably the case that there's nothing wrong with the "mga" driver's >>DGA support. This app will pretty much test every mode advertised. >> >> Mark. > >Ok, your test program has some pretty odd behavior on my machine. Try not using the mga_hal_drv.o module from Matrox (assuming you're using it). Every version of it I've been able to try breaks DGA2 nicely on my G400. In single headed mode, the driver still offers all of the normal DGA2 modes, but no matter which the client requests, it always switches to the same width, height, and pitch as the root window without any feedback to the client that its DGA request was only half honoured. In dualhead mode, it also silently throws away all accelerated DGA fills, even though the flags for both the requested and acutally used DGA2 mode indicate support. I poked around Matrox's web site for a while trying to find a useful way to report my problems and offer a simple test program, but eventually gave up. Yours, Jeremy. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Trouble with DGA and MAME
> > >I'm assuming they're not using Xlib to render and this is root-mode >DGA where they are touching the framebuffer. I've attached one of >my original DGA 2.0 test apps. If it works fine for you then it's >probably the case that there's nothing wrong with the "mga" driver's >DGA support. This app will pretty much test every mode advertised. > > Mark. Mark, Ok, your test program has some pretty odd behavior on my machine. First off, it seems to always be drawing multiple cubes, for example in mode #44 640 x 480, bpp = 32, depth = 24, pitch 2560 bytes I get 2 distinct cubes in the top and bottom half of the screen. In 640x480x16 I get the same pallete ugliness that I see in MAME. Secondly, there seems to be some sort of residual image of my desktop that when I move my mouse it alternates between images of the cubes and the residual image, producing a flickering. I am assuming this is not normal behavior :) - James -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Trouble with DGA and MAME
Mark, Hmm, the sections aren't really half-height, more like 1/3 height including about an inch border surrounding them. However, this could be because MAME reports the game resolution is 304x224 and DGA is displaying in 640x480. To test your theory I tried running MAME with the horiz/vert rez scaled to 2, and this time it reported a 608x672 resolution and switched DGA to 1024x768. However, this time there were more than just 2 sections at the top of the screen, there were like 4 different overlapping sections. Does this fit with your theory? If so, I'll go bug the mame people :) Thanks a bunch! - James >On Sat, 17 Nov 2001, James Farwell wrote: > >> Greetings, >> >> I have recently been trying to run MAME in fullscreen mode using >> XFree86 4.1.0 on a Matrox G550. MAME works great in a window, but >> when I try to fullscreen it DGA 2.0 starts up, it kicks in to >> 640x480x16 mode, but then instead of MAME filling the screen it shows >> up in *2* little sections at the top of screen, where the left >> section seems to contain every other scanline, and the right section >> seems to contain the missing scanlines. The pallete is also mangled >> pretty horridly and seems to consist primarily of black, white, cyan, >> magenta, and green. I have no idea if this is a problem with my MAME >> or DGA or what. Does anyone know what could be the problem or how I >> would go about testing things to find what might be the problem? >> Thanks! > >Sounds like Mame is trying to draw 320x240 on a 640x480 surface, >hence the to half-height sections side-by-side. Sounds like a MAME >issue. > > > Mark. -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Trouble with DGA and MAME
On Sat, 17 Nov 2001, James Farwell wrote: > Greetings, > > I have recently been trying to run MAME in fullscreen mode using > XFree86 4.1.0 on a Matrox G550. MAME works great in a window, but > when I try to fullscreen it DGA 2.0 starts up, it kicks in to > 640x480x16 mode, but then instead of MAME filling the screen it shows > up in *2* little sections at the top of screen, where the left > section seems to contain every other scanline, and the right section > seems to contain the missing scanlines. The pallete is also mangled > pretty horridly and seems to consist primarily of black, white, cyan, > magenta, and green. I have no idea if this is a problem with my MAME > or DGA or what. Does anyone know what could be the problem or how I > would go about testing things to find what might be the problem? > Thanks! Sounds like Mame is trying to draw 320x240 on a 640x480 surface, hence the to half-height sections side-by-side. Sounds like a MAME issue. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Trouble with DGA and MAME
Greetings, I have recently been trying to run MAME in fullscreen mode using XFree86 4.1.0 on a Matrox G550. MAME works great in a window, but when I try to fullscreen it DGA 2.0 starts up, it kicks in to 640x480x16 mode, but then instead of MAME filling the screen it shows up in *2* little sections at the top of screen, where the left section seems to contain every other scanline, and the right section seems to contain the missing scanlines. The pallete is also mangled pretty horridly and seems to consist primarily of black, white, cyan, magenta, and green. I have no idea if this is a problem with my MAME or DGA or what. Does anyone know what could be the problem or how I would go about testing things to find what might be the problem? Thanks! - James Farwell [EMAIL PROTECTED] -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert