BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
Please support our sponsors!
NeoMagic video driver
Talkback
 Go back to the NeoMagic video driver page
 Post a new Talkback comment!
overlay on high res spaces
 By rudolfc - Posted on June 28, 2003 - 08:53:55   (#7941)
 Current version when comment was posted: zero
Hi dr. Evil,

This is possible because in that case single buffered overlay is used. Currently VLC and Be's mediaplayer always use double buffered overlay however :-/

Setting up single buffered overlay in VLC should be so simple. There just has to be someone to do it ;-)

I have requested this feature on the BeBits talkback page. I don't know if this will be enough however.

With double buffered overlay three overlay bitmaps are created. The videocard hardware switches between them for each new frame.

With single buffered overlay one overlay bitmap is created. In main memory three bitmaps need to be created that get the videodata now. If you want to switch for a new frame you now copy the respective bitmap to the overlay bitmap.

While copying a bitmap will increase CPU load visibly, it will be much lower than with bitmap output. This is because the YUY2 bitmap consists of less data than an RGB bitmap! Also hardware scaling and filtering remain being done by the overlay unit, so the output will be much smoother than with bitmap output. Especially if you watch fullsreen ;-)

So VLC should first try to setup double buffered overlay. If creating more than one bitmap fails, it should use single bufferd overlay. If it cannot create even one overlay bitmap, it should fall-back to bitmap output.

-----

Anyone outthere willing to update VLC? ;-)
The Neomagic owners in the BeOS community would be very gratefull!

BTW Dr. Evil, could you give me your Email adress? (just mail me..) I am keeping a list of people using the new driver, so I can try to get a fix on problems that might arise. The trouble with Laptop displays is that I cannot buy them all to make the driver work perfectly, so I have to try to get enough detailed info out of the people that try it..

Though changes remain slim that that will be enough to create the perfect all-round driver.

Anyway: I'll do my best to get it up to speed, after that it's up to the community to improve it further themselves and remove the last faults in it, via openBeOS CVS. (Or laptops will have to be sent over here ;-)

Greetings!

Rudolf.

.
 By dr_evil - Posted on June 27, 2003 - 15:22:16   (#7920)
 Current version when comment was posted: zero
thank you very much for the detailed & very useful replies... this is really incredible.



as soon as i switch to 640x480x16 or 800x600x8 i get wonderful overlays.

but under w2k on the same notebook, i get sometimes overlays, but i run w2k with 800x600x16. how can that work? there isn't enough ram for that.

alone 937.5 kb are used as screen buffer. how does that work ?

overlay
 By rudolfc - Posted on June 25, 2003 - 11:39:33   (#7889)
 Current version when comment was posted: zero
Get driverversion 0.04 from the site. Then just use VLC 0.60 and some MPEG1 file in max 384x288 resolution.
VLC takes care of any space translation that's nessesary AFAIK. It will use YUY2 to playback the files. YUY2 is what's most commonly supported on BeOS. (YUY2 == B_YCbCr422)

Make sure you set your desktop to 8-bit color, and choose a low resolution for the test. Max 800x600 should do it.

This setup should get you overlay on all NeoMagic cards that support this feature. On younger cards (with more RAM) you can also use higher resolution and colordepths with overlay. Just test a bit to find out what the limits are, or calculate it based on the amount of RAM in your card. (nm_info.c has the RAM amount info you need. It's also dumped in the logfile if enabled.)

Be's mediaplayer can be used also if you're on DANO. Otherwise that player will keep using bitmap output. On R5 you could try niftyplayer: maybe it works also though it's not recommended because it will load your CPU more than VLC. (It makes an extra colorspace translation for overlay output.)

Let me know how it turns out :-)


Best regards,

Rudolf.

how can i test the overlay?
 By dr_evil - Posted on June 25, 2003 - 10:03:00   (#7887)
 Current version when comment was posted: zero
i tried using mediaPlayer & vlc but none of them made use of the overlay. i think it's because they try to setup an i420-overlay.


what software/video-format do you use to test the driver?

overlay
 By rudolfc - Posted on June 23, 2003 - 02:39:21   (#7853)
 Current version when comment was posted: zero
Thanks. Glad to hear it's working over there!

2D acceleration will be added later. Overlay is already working. I am cleaning up the code now and I will release the new version as V0.04 ;-)

BTW: NeoMagic cards do not support downscaling on overlay. VLC and Be's mediaplayer correctly respect this so you will not be able to scale below 100%. (Windows uses a trick to get sort of downscaling done. This is impossible on BeOS ATM.)

Greetings :-)

Rudolf.

dr_evil
 By dr_evil - Posted on June 17, 2003 - 06:56:02   (#7771)
 Current version when comment was posted: zero
wow... that's great. i was on that page a week ago (or so), but back then the driver wasn't released yet...


the driver works fine. i had to install the driver manually because i made some own symlinks and removed some folder...

some things feel a bit faster, but i'm really waiting for 2d acceleration... but it's great work anyway.

thank you.

Dr_evil / cardID
 By rudolfc - Posted on June 15, 2003 - 15:11:09   (#7752)
 Current version when comment was posted: zero
OK, ok,

missed the cardID in your message :-/

You have a MagicGraph 128ZV+ (NM2097) card.
The driver on the page I mentioned should support that..

Rudolf

Dr_evil / cardID
 By rudolfc - Posted on June 15, 2003 - 15:08:10   (#7751)
 Current version when comment was posted: zero
Hi Dr_Evil,

Maybe you could try another driver. I am working on an opensource driver that could work on your card. The first alpha version is available at:
http://web.inter.nl.net/users/be-hold/BeOS/NMdriver/index.html

BTW: Have a look at the BeOS Devices preference app to see what cardID your card has for 'proper' identification: the type you mention does not exist AFAIK..

(Please let me know what it says? Thanks :-)

Rudolf.

doesn't work with card id 83
 By dr_evil - Posted on June 13, 2003 - 17:23:29   (#7717)
 Current version when comment was posted: zero
when i install the driver, my screen shows after booting only disorted patterns, and the notebook crashes shortly thereafter.

the working windows-driver calls itself "128zx"

any suggestions ?

opensource driver
 By rudolfc - Posted on May 11, 2003 - 05:47:57   (#7269)
 Current version when comment was posted: zero
Hi Ernest,

I sent you an Email yesterday, but it seems your account is down? I got a warning today that the mail could not be delivered after 1 day...

Anyway:
Can you tell me this:
-> What's the resolution and type of your flatpanel? 800x600 color displayfor instance?
->Do you have a CRT at your disposal so we could also do some tests on the external VGA connector?
->What type and speed CPU does your laptop have?

The driver is progressing well. Panning is working too now (so full virtualscreen support up and running), and the colordepth can be chosen (8/15/16bit).
Next up is the refreshrate ;-)

Rudolf.

Neomagic driver testing
 By rudolfc - Posted on May 8, 2003 - 13:21:38   (#7221)
 Current version when comment was posted: zero
Hi Ernest,

Thanks for the compliment :-)

Could you have a look at devices for the VGA card and tell me the cards ID and manuf. code?
Also, mail me, or give me your Emailadress another way so I can send you a version once testing would be handy...

Thanks in advance!

Rudolf.

NeoMagic driver
 By ernestTX - Posted on May 8, 2003 - 07:07:40   (#7217)
 Current version when comment was posted: zero
Rudolf,

I would interested in a new NeoMagic driver. I just installed BeOS 5.0.3 on a Soyo 9801 notebook and it has the NeoMagic 128ZV+ chipset and does not seem to be working with the current NeoMagic driver. It's possible I don't have the driver in the right folder, but I unzipped it in /boot. Fortunately VESA accepted works and BeOS is now visible and sound working on this kewl less than 3 lb. notebook. So, if you need testers for different NeoMagic versions, let me know. :) And I think your work on BeTVOut is sooo awesome.

opensource driver for Neomagic
 By rudolfc - Posted on May 8, 2003 - 03:31:03   (#7212)
 Current version when comment was posted: zero
Hi there,

Are there people here interested in a new Neomagic driver? Although I have nothing to test yet, I have started a new driver for these cards. Don't know how far I'll come, because I only have the Magicgraph128XD to test with (NM2160).

The current status is that I have the hardcursor working and that BWindowScreen is party operational. (Which does not work at all with the closed source driver ;-)

The neomagic cards have overlay support in them, so I'll try to add that to the new driver. In linux this seems to be working..

best regards,

Rudolf.

driver source
 By rudolfc - Posted on January 10, 2003 - 03:45:54   (#5258)
 Current version when comment was posted: zero
Hi there,

So you modified the binary version of an existing NeoMagic BeOS driver to include support for more versions?

I am asking since I have a laptop with NeoMagic 128XD chipset and 2MB videoRAM: it works resonable with the BeOS R4 and DANO NeoMagic driver except for a few things:

- BWindowScreen support is broken: if you try to use it the system will land in KDL.

- No overlay support: The 128XD is capable of that in theory AFAIK: Would be very nice to have that... (Though probably only single buffered overlay would work due to low RAM size)

- The R5 version of the Be driver has issues with other resolutions that the laptop display resolution: the video is not centered correctly on lower resolution. This seems fixed for the DANO driver.


If your driver is not a modified Be binary, I would try it on my laptop to see if some of the issues mentioned are solved. If it is a modified binary, I won't bother of course ;-)

Thanks anyway for the mods!

Best regards,

Rudolf.

can't do anything to this driver.
 By 7 - Posted on January 10, 2003 - 00:41:37   (#5254)
 Current version when comment was posted: zero
I didn't write this driver, I just 'got' the binary and decided to share it.

sorry.



issues with Neomagic 2160/128XD
 By mainlymac - Posted on January 9, 2003 - 03:16:29   (#5237)
 Current version when comment was posted: zero
Hey - just tried out your driver and had some issues. As the other guy reported earlier (with Dell Latitude CPi and 2160 chipset), the mouse disappears. Additionally, I got a little fried approx. 80x80 square of pixels in the upper lefthand corner of an otherwise normal 1024x768 display and a system freeze. It would be great if you could do some more work on this so 2160s would work and might even be a little snappier. Thanks a lot.

So far, So good.
 By Be_Doug - Posted on July 17, 2002 - 17:46:34   (#2245)
 Current version when comment was posted: zero
I'm using an IBM 600x. I can now boot DANO w/o using VESA settings! Thank you so much for your efforts with this driver. Imagine my disappointment when I booted DANO for the first time and got a COMPLETELY gargled vid display.. Thanks again,

Doug

mouse cursors
 By s_d - Posted on July 16, 2002 - 18:58:11   (#2231)
 Current version when comment was posted: zero
There were lot of problems with subject in BeOS using old RivaTNT cards, especially with PS2 mouse.
And remedy was setting IRQ 12 (with PS2) to LegacyISA and playing a bit with disabling/enabling IRQ assigning to VGA.

Re: invisible cursor
 By Eugenia - Posted on July 16, 2002 - 18:35:43   (#2230)
 Current version when comment was posted: zero
I know that XFree86 has a similar problem with the cursor on Neomagic chipsets. BTW, make sure you are booting to BeOS with a boot manager or bootable floppy, and *NOT* via Windows.

Mouse Problem!
 By Earl Colby Pottinger - Posted on July 16, 2002 - 18:02:12   (#2229)
 Current version when comment was posted: zero
This driver gives me more colour and size options so I really want it to work. However, my mouse is invisible! On booting up everything looks normal, but the mouse cursor which is visible does not move. If I mouse carefully and use the mouse buttons I can see that the mouse is working, just the cursor is frozen. I assume this is a hardware mouse that has diffirent X/Y registers. I am using a Dell Latitude CPi, Bios A11. The video is a NeoMagic 2160 with 2MB. It is my understanding that if the driver says there is no hardware cursor then BeOS does a software cursor. If it possible to patch it so the drivers says there is no hardware? I would love to use this driver.

mebbe
 By 7 - Posted on July 15, 2002 - 23:21:28   (#2216)
 Current version when comment was posted: zero
I'm afraid it's not entirely up to me, I'll see what I can do.

Alan

Source Code
 By nerfherder - Posted on July 15, 2002 - 22:34:14   (#2215)
 Current version when comment was posted: zero
I know that many people are weary about letting source code go but... It would be very helpful for developers like myself to be able to work off some example code when working on drivers. Please at least consider open-sourcing the code.

Thanks
--jeremy

ps. the first driver that I would like to work on is the i815 driver (specifically for the sony vaio laptops), if anyone else would be interested in having this driver email me, it will probably speed up development if I know that other people are actually interested.

Geat App, it makes me happy.
 By wurz25 - Posted on July 15, 2002 - 02:50:31   (#2210)
 Current version when comment was posted: zero
Now i can my TB600X mutch easyer with BeOS, i have tried linux yesterday and i must say there is no alternative like BeOS.

Thanks !

nicolas

 
BeGroovy
  Recent Downloads  -  # 106
Total Downloads  -  # 187
Total Views  -  # 183
User Ratings  -  N/A
  Video Drivers
1.  QEMU - 9.62
2.  ScummVM - 9.50
3.  cpu_fix - 9.42
4.  Jukebox - 9.36
5.  Haiku AGP busm... - 9.35
6.  vim6 - 9.31
7.  Transmission - 9.27
8.  Beezer - 9.25
9.  BeeF - 9.25
10.  HandBrake - 9.24
1.  Realtek RTL8139... - 274
2.  BeOS 5 Personal... - 229
3.  ATI Rage 128 Pr... - 201
4.  Ati Radeon Grap... - 191
5.  Broadcom 440x 1... - 126
6.  USB Serial driver - 122
7.  DjVu Viewer - 110
8.  Ensoniq AudioPCI... - 89
9.  Intel Extreme Gr... - 79
10.  Sound Blaster Pr... - 74
You are not logged in.
 Login or create an account...
Hosted by NetConnect

 
Unless otherwise noted, everything is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions