Fixed! :-)
In neo_driver.c I commented lines = 1024; on line 1637. --- if (/* nPtr->NeoChipset < NM2200 && */lines > 1024) /* lines = 1024; */ AvailFBArea.x1 = 0; AvailFBArea.y1 = 0; AvailFBArea.x2 = pScrn->displayWidth; AvailFBArea.y2 = lines; xf86InitFBManager(pScreen, &AvailFBArea); --- WOOHOO haha On Wed, 2002-02-13 at 21:16, Andrew Wyatt wrote: > This is BEAUTIFUL :-) The only issue I am having is this one: > > Dell Latitude CS > Linux 2.4.17 (RedHat 7.2 or what's left of it) > 256MB Ram > 4MB NeoMagic MagicMedia 256ZX > > --- > Decoder is capable of YUV output ( flags 0x9) > Movie-Aspect is undefined - no prescaling applied. > VO: [xv] 704x368 => 704x368 Packed YUY2 fs > vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => > local display) > Xvideo image format: 0x32595559 (YUY2) packed > Xvideo image format: 0x32315659 (YV12) planar > Xvideo image format: 0x30323449 (I420) planar > Xvideo image format: 0x35315652 (RV15) packed > Xvideo image format: 0x36315652 (RV16) packed > using Xvideo port 55 for hw scaling > [xv] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 1024 dh: 768 > [xv-fs] dcx: 1 dcy: 117 dx: 0 dy: 116 dw: 1024 dh: 536 > AO: [sdl] 44100Hz Stereo Signed 16-bit (Little-Endian) > SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit > (Little-Endian) > Start playing... > [xv] dcx: 1 dcy: 1 dx: 0 dy: 0 dw: 1024 dh: 768 > [xv-fs] dcx: 1 dcy: 117 dx: 0 dy: 116 dw: 1024 dh: 536 > X Error of failed request: BadAlloc (insufficient resources for > operation) > Major opcode of failed request: 141 (XVideo) > Minor opcode of failed request: 19 () > Serial number of failed request: 50 > Current serial number in output stream: 51 > > --- > > Here is the relevent part of /proc/pci: > > --- > Bus 1, device 0, function 0: > VGA compatible controller: Neomagic Corporation NM2360 [MagicMedia > 256ZX] (rev 0). > IRQ 11. > Master Capable. Latency=32. Min Gnt=16.Max Lat=255. > Prefetchable 32 bit memory at 0xfa000000 [0xfbffffff]. > Non-prefetchable 32 bit memory at 0xfdc00000 [0xfdffffff]. > Non-prefetchable 32 bit memory at 0xfdb00000 [0xfdbfffff]. > > --- > > Here is my /proc/mtrr: > > --- > reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1 > reg01: base=0x100a0000 ( 256MB), size= 128KB: write-through, count=1 > reg02: base=0xfa000000 (4000MB), size= 4MB: write-combining, count=1 > --- > > Here is my xvinfo: > --- > X-Video Extension version 2.2 > screen #0 > Adaptor #0: "NeoMagic Video Engine" > number of ports: 1 > port base: 55 > operations supported: PutVideo PutImage > supported visuals: > depth 16, visualID 0x23 > depth 16, visualID 0x24 > number of attributes: 3 > "XV_COLORKEY" (range 0 to 16777215) > client settable attribute > client gettable attribute (current value is 2110) > "XV_BRIGHTNESS" (range -128 to 127) > client settable attribute > client gettable attribute (current value is 0) > "XV_INTERLACE" (range 0 to 2) > client settable attribute > client gettable attribute (current value is 0) > number of encodings: 1 > encoding ID #0: "XV_VIDEO" > size: 1024 x 1024 > rate: 1.000000 > maximum XvImage size: 1024 x 1024 > Number of image formats: 5 > id: 0x32595559 (YUY2) > guid: 59555932-0000-0010-8000-00aa00389b71 > bits per pixel: 16 > number of planes: 1 > type: YUV (packed) > id: 0x32315659 (YV12) > guid: 59563132-0000-0010-8000-00aa00389b71 > bits per pixel: 12 > number of planes: 3 > type: YUV (planar) > id: 0x30323449 (I420) > guid: 49343230-0000-0010-8000-00aa00389b71 > bits per pixel: 12 > number of planes: 3 > type: YUV (planar) > id: 0x35315652 (RV15) > guid: 52563135-0035-0000-0000-000000000000 > bits per pixel: 16 > number of planes: 1 > type: RGB (packed) > depth: 0 > red, green, blue masks: 0x1f, 0x3e0, 0x7c00 > id: 0x36315652 (RV16) > guid: 52563136-0000-0000-0000-000000000000 > bits per pixel: 16 > number of planes: 1 > type: RGB (packed) > depth: 0 > red, green, blue masks: 0x1f, 0x7e0, 0xf800 > --- > > I tried to find and rem out the if statement in NM_2000.c but I couldn't > find it in the patch. > > > Thanks guys, this will fix one of the only beefs left with this > notebook. :-) > > On Wed, 2002-02-13 at 14:11, Egbert Eich wrote: > > > > I have attached an update version of the Neomagic driver > > for 4.2.0. It contains Shigehiro Nomura's video patches. > > > > The tarball contains the full set of driver files, no diffs. > > If you have made your own changes to you would like to keep, > > please make sure to back up your old driver. > > > > I have fixed a few outstanding issues: > > > > - video now works with 8/15/16/24 bpp. > > > > - video works on the NM2200 and should work on all chips including the > > NM2160 and higher. (I have no idea if earlier chips had video support). > > > > - I fixed/worked around some of the neomagic problems with stretching, > > resizing, moving over the left or right edge. > > > > - All of Shigehiro's fixes are included. I've also included the > > OVERLAY_MEM patch. Currently the Xserver framebuffer memory manager > > can handle only one range of memorz for video and acceleration. > > I'm not sure if the 2D accelerator can handle framebuffer memory > > beyond line 1024. I'm still investigating. > > > > Regards, > > Egbert. > > > > > > > _______________________________________________ > Neomagic mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/neomagic > _______________________________________________ Neomagic mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/neomagic