Author Topic: SNAP drivers and video speed - IBM vs AN release differences...  (Read 1948 times)

Dariusz Piatkowski

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 6
  • Posts: 293
    • View Profile
SNAP drivers and video speed - IBM vs AN release differences...
« on: October 24, 2017, 09:31:45 pm »
Folks,

I just installed the AN release of the SNAP video drivers here. What I found was both exhilarating and somewhat dissapointing (well, just a tad bit, but read on), so I thought I'd share my experience.

My findings relate to the differences between the IBM/SciTech SNAP drivers (the latest publicly available build being 3.1.8 I believe) and the current SNAP drivers that are shipping with the ANOS, that being 'Build No 506'.

Alright, so ATI X850 XT PE video card here, driving my Samsung 245T panel at 1900x1200 resolution.

OK, good, heck GREAT stuff first. I used to suffer from that annoying OS/2 version of the "Blue Screen of Death"...LOL, meaning, as the GUI comes up and WPS is starting to initialize my system would simply hang. Not a hard hang, CTL-ALT-DEL would allow a re-boot w/o a chkdsk. This would only happen if I ran all 6 cores of my AMD Phenom CPU enabled. Since that made my box un-usable I disabled the 6th core in BIOS and simply used a crippled system with 5 cores only. But hey, at least it worked!!!

Well, I am thrilled to report this issue is now GONE...no longer a problem, I can routinely re-boot using the full 6 cores, no WPS start-up hang, all good! This is a great result. My understanding is that the SNAP drivers had some SMP related issues addressed, so if this was one of them it certainly did the trick.

Alright...so what's the "problematic" piece to report on?

Hmm, the video performance is down. Not sure why that is the case, I will log a ticket for the SNAP team and point to a few things I'm seeing, but in short, take a look at the before & after Sysbench 0.9.5d results:

1) old IBM/SciTech SNAP drivers

Graphics
   BitBlt S->S copy      :     9175.950    Million pixels/second
   BitBlt M->S copy      :      293.762    Million pixels/second
   Filled Rectangle      :    22804.327    Million pixels/second
   Pattern Fill          :     3514.758    Million pixels/second
   Vertical Lines        :      173.654    Million pixels/second
   Horizontal Lines      :     1342.758    Million pixels/second
   Diagonal Lines        :       69.059    Million pixels/second
   Text Render           :      853.040    Million pixels/second
   -----------------------------------------------------------------------
   Total                 :     1145.656    PM-Graphics-marks

 Direct Interface to video extensions - DIVE
   Video bus bandwidth   :     1123.420    Megabytes/second
   DIVE fun              :     3834.609    fps normalised to 640x480x256
   M->S, DD,   1.00:1    :     3831.759    fps normalised to 640x480x256
   -----------------------------------------------------------------------
   Total                 :     1432.589    DIVE-marks



2) new AN SNAP drivers

Graphics
   BitBlt S->S copy      :    12437.376    Million pixels/second
   BitBlt M->S copy      :       58.650    Million pixels/second
   Filled Rectangle      :    46704.301    Million pixels/second
   Pattern Fill          :     3507.515    Million pixels/second
   Vertical Lines        :      173.718    Million pixels/second
   Horizontal Lines      :     1267.768    Million pixels/second
   Diagonal Lines        :       57.530    Million pixels/second
   Text Render           :      859.766    Million pixels/second
   -----------------------------------------------------------------------
   Total                 :     1033.508    PM-Graphics-marks

 Direct Interface to video extensions - DIVE
   Video bus bandwidth   :      223.803    Megabytes/second
   DIVE fun              :      763.788    fps normalised to 640x480x256
   M->S, DD,   1.00:1    :      763.845    fps normalised to 640x480x256
   -----------------------------------------------------------------------
   Total                 :      285.501    DIVE-marks



In particular, the 'BitBlt M->S copy' and DIVE performance is severely down. In terms of application impact that is making my FF so slow that I can literaly see the page re-draw...OK, we are not talking here line at a time, but you can see the refresh whereas before it was lighting fast.

The drivers claim that write combining is enabled but in the GRAPHICS.LOG I see there is a failure report of some type, so there is something here that probably needs further review.

That's all for now. I would love to hear from anyone else who's using the AN SNAP drivers on their system and what you are seeing?



Roderick Klein

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 8
  • Posts: 176
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #1 on: October 24, 2017, 10:33:31 pm »
What is the error in graphics.log ?

Dariusz Piatkowski

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 6
  • Posts: 293
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #2 on: October 24, 2017, 10:48:37 pm »
Hi Roderick,

What is the error in graphics.log ?

Here is a quick snippet, but I've attached the full log to the post as well:

GA_enumerateDevices: Found 1 PCI/AGP display devices

Global options for all devices:
  Force VBE Fallback ...... Off
  Force VGA Fallback ...... Off
  Allow non-certified ..... On
  Disable write combining . Off
  Use BIOS for LCD panel... Auto
  Shared AGP memory size... 4096 KB
  Use system memory driver. Off
  Disable DDC detection.... Off
  Virtual Display.......... Off

Loading driver for device 0 (radeon.drv)
---------------------------------------------------------

Partially mapped graphics memory: 0x08000000 instead of 0x10000000 bytes
You may not see all available memory due to memory mapping limitations

Attempting to enable write combining, base = 0xD0000000, length = 0x08000000 ... Success!
Attempting to disable caching for MMIO, base = 0xFE9F0000, length = 0x00004000 ...
Failed: UNKNOWN ERROR!
Loading chipset filters...done.
Loading splash screen...done.

Graphics device configuration:
  Manufacturer......... ATI
  Chipset.............. Radeon X850 Series
  Bus Type............. PCI Express
  Memory............... 131072 KB
  DAC.................. ATI Internal 24 bit DAC
  Clock................ ATI Internal Clock
  Memory Clock......... 400 MHz
  Default Memory Clock. 400 MHz
  Maximum Memory Clock. 400 MHz
  Driver Revision...... 3.2, Build 29
  Driver Build......... May  2 2017
  Certified Version.... Not Certified

Graphics device options:
  Invert .................. Off
  Rotation ................ Off
  Flipped ................. Off
  Prefer 16 bit per pixel.. On
  Prefer 32 bit per pixel.. On
  PCI bus mastering........ On
  Hardware acceleration.... Full



Dariusz Piatkowski

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 6
  • Posts: 293
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #3 on: October 24, 2017, 10:51:32 pm »
...and here is the matching section from the IBM_SNAP driver initialization:

GA_enumerateDevices: Found 1 PCI/AGP display devices

Global options for all devices:
  Force VBE Fallback ...... Off
  Force VGA Fallback ...... Off
  Allow non-certified ..... On
  Disable write combining . Off
  Use BIOS for LCD panel... Auto
  Shared AGP memory size... 4096 KB
  Use system memory driver. Off
  Disable DDC detection.... Off
  Virtual Display.......... Off

Loading driver for device 0 (radeon.drv.Sep.25.2006.13.01.08)
---------------------------------------------------------

Partially mapped graphics memory: 0x08000000 instead of 0x10000000 bytes
You may not see all available memory due to memory mapping limitations

Attempting to enable write combining, base = 0xD0000000, length = 0x08000000 ... Success!
Attempting to disable caching for MMIO, base = 0xFE9F0000, length = 0x00004000 ... Success!
Loading chipset filters...done.
Loading splash screen...done.

Graphics device configuration:
  Manufacturer......... ATI
  Chipset.............. Radeon X850 Series
  Bus Type............. PCI Express
  Memory............... 131072 KB
  DAC.................. ATI Internal 24 bit DAC
  Clock................ ATI Internal Clock
  Memory Clock......... 400 MHz
  Default Memory Clock. 400 MHz
  Maximum Memory Clock. 400 MHz
  Driver Revision...... 3.2, Build 29
  Driver Build......... Sep 25 2006
  Certified Version.... 1.60
  Certified Date....... Sep 25 2006

Graphics device options:
  Invert .................. Off
  Rotation ................ Off
  Flipped ................. Off
  Prefer 16 bit per pixel.. On
  Prefer 32 bit per pixel.. On
  PCI bus mastering........ On
  Hardware acceleration.... Full


Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 7
  • -Receive: 88
  • Posts: 1146
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #4 on: October 25, 2017, 05:58:05 am »
Out of curiosity, I tested on my old T42 with ATI Mobility Radeon 7500 and Pentium M 1.6Ghz
eCS with Snap build for T42, Ver 2.3, build 419.

  Graphics
   BitBlt S->S copy      :      204.195    Million pixels/second
   BitBlt M->S copy      :       30.545    Million pixels/second
   Filled Rectangle      :      927.106    Million pixels/second
   Pattern Fill          :      927.278    Million pixels/second
   Vertical Lines        :       12.047    Million pixels/second
   Horizontal Lines      :      451.019    Million pixels/second
   Diagonal Lines        :       14.393    Million pixels/second
   Text Render           :      242.816    Million pixels/second
   ---------------------------------------------------------------
   Total                 :      133.654    PM-Graphics-marks
 Direct Interface to video extensions - DIVE
   Video bus bandwidth   :      167.531    Megabytes/second
   DIVE fun              :      572.116    fps normalised to 640x480x256
   M->S, DD,   1.00:1    :      571.994    fps normalised to 640x480x256
   -----------------------------------------------------------------------
   Total                 :      213.790    DIVE-marks


ArcaOS with Snap v3.19, build local (506)

Graphics
   BitBlt S->S copy      :      205.285    Million pixels/second
   BitBlt M->S copy      :       42.508    Million pixels/second
   Filled Rectangle      :      933.017    Million pixels/second
   Pattern Fill          :      931.745    Million pixels/second
   Vertical Lines        :       12.027    Million pixels/second
   Horizontal Lines      :      481.276    Million pixels/second
   Diagonal Lines        :       15.136    Million pixels/second
   Text Render           :      238.063    Million pixels/second
   ---------------------------------------------------------------
   Total                 :      141.224    PM-Graphics-marks

 Direct Interface to video extensions - DIVE
   Video bus bandwidth   :      166.894    Megabytes/second
   DIVE fun              :      569.617    fps normalised to 640x480x256
   M->S, DD,   1.00:1    :      569.564    fps normalised to 640x480x256
   -----------------------------------------------------------------------
   Total                 :      212.895    DIVE-marks


For reference, ArcaOS with Panorama, 16 bit depth (others at 32 bit),

Graphics
   BitBlt S->S copy      :       69.600    Million pixels/second
   BitBlt M->S copy      :       70.938    Million pixels/second
   Filled Rectangle      :      145.558    Million pixels/second
   Pattern Fill          :      102.522    Million pixels/second
   Vertical Lines        :       10.434    Million pixels/second
   Horizontal Lines      :       27.892    Million pixels/second
   Diagonal Lines        :        1.011    Million pixels/second
   Text Render           :       42.929    Million pixels/second
   ---------------------------------------------------------------
   Total                 :       31.340    PM-Graphics-marks

 Direct Interface to video extensions - DIVE
   Video bus bandwidth   :      167.064    Megabytes/second
   DIVE fun              :      570.280    fps normalised to 640x480x256
   M->S, DD,   1.00:1    :      570.440    fps normalised to 640x480x256
   -----------------------------------------------------------------------
   Total                 :      213.187    DIVE-marks


As you can see, the ArcaOS supplied Snap was slightly faster, though this was basically a virgin install. DIVE seems consistent, eve with Panorama.

I also accidentally ran the Snap test on ArcaOS at 16 bit depth, pretty well doubled the score excepting DIVE.

Graphics
   BitBlt S->S copy      :      536.218    Million pixels/second
   BitBlt M->S copy      :       81.518    Million pixels/second
   Filled Rectangle      :     2308.661    Million pixels/second
   Pattern Fill          :     2306.782    Million pixels/second
   Vertical Lines        :       24.461    Million pixels/second
   Horizontal Lines      :      948.665    Million pixels/second
   Diagonal Lines        :       18.745    Million pixels/second
   Text Render           :      242.202    Million pixels/second
   ---------------------------------------------------------------
   Total                 :      265.277    PM-Graphics-marks

« Last Edit: October 25, 2017, 06:09:11 am by Dave Yeo »

ivan

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 24
  • Posts: 650
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #5 on: October 25, 2017, 05:55:28 pm »
A little bit off topic but has anyone tried to use snap or panorama to drive a hdmi monitor? 

Several video cards now have DVI-D and HDMI outputs and no VGA I was wondering if it was possible to have a hdmi  monitor driven by one of those cards.

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 26
  • Posts: 540
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #6 on: October 25, 2017, 08:04:54 pm »
Hi Dariusz

Using an ATI X550 with the AN SNAP I see the same error in the graphics.log

Loading driver for device 0 (radeon.drv)
---------------------------------------------------------

Attempting to enable write combining, base = 0xD0000000, length = 0x08000000 ... Success!
Attempting to disable caching for MMIO, base = 0xFEA30000, length = 0x00004000 ...
Failed: UNKNOWN ERROR!
Loading chipset filters...done.
Loading splash screen...done.


Compared with the eCS SNAP 3.1.8 build 505 (log section pulled from an old backup) on eCS2.2beta2

Loading driver for device 0 (radeon.drv.Sep.25.2006.13.01.08)
---------------------------------------------------------

Attempting to enable write combining, base = 0xD0000000, length = 0x08000000 ... Success!
Attempting to disable caching for MMIO, base = 0xFEA30000, length = 0x00004000 ... Success!
Loading chipset filters...done.
Loading splash screen...done.


I can only guess that whatever has been changed within SNAP causes the error.

Just for fun I ran the sysbench tests:-

 Graphics
   BitBlt S->S copy      :      430.345    Million pixels/second
   BitBlt M->S copy      :      305.949    Million pixels/second
   Filled Rectangle      :     7580.586    Million pixels/second
   Pattern Fill          :     1778.032    Million pixels/second
   Vertical Lines        :       56.506    Million pixels/second
   Horizontal Lines      :      223.633    Million pixels/second
   Diagonal Lines        :       51.134    Million pixels/second
   Text Render           :      602.398    Million pixels/second
   -----------------------------------------------------------------------
   Total                 :      402.639    PM-Graphics-marks


 Direct Interface to video extensions - DIVE
   Video bus bandwidth   :     1175.934    Megabytes/second
   DIVE fun              :     4016.503    fps normalised to 640x480x256
   M->S, DD,   1.00:1    :     4016.782    fps normalised to 640x480x256
   -----------------------------------------------------------------------
   Total                 :     1501.114    DIVE-marks


Not overly impressive - especially the PM-Graphics-marks

Sorry, I do not plan on installing the older SNAP with SMP problems to see what the differences are. ArcaOS with AN SNAP seems a little slower than eCS2.2beta2 with eCS SNAP *but* the AN SNAP has, so far, always booted to a working Desktop unlike previous versions of SNAP which are very prone to hanging when the Desktop is starting.



Regards

Pete

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 7
  • -Receive: 88
  • Posts: 1146
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #7 on: October 26, 2017, 03:56:12 am »
Looking further, I see I also get the same error about disabling caching for mmio with the ArcaOS supplied Snap, but not the older one. Though it doesn't seem to affect performance for me.

Dariusz Piatkowski

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 6
  • Posts: 293
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #8 on: October 26, 2017, 04:35:01 am »
Yeah, I am not sure what the MMIO is about, but here at least there is a very real performance impact.

Sure, when comparing across different configurations what I am seeing in my 'slow' setup may not seen all that bad...however, the old IBM SNAP driver was pretty much able to keep up with my Win7Pro box which happens to have the very same Phenom II X6 cpu and ATI X850 XT PE video card in there (but in a different motherboard), so a fair comparison, and I for one was always impressed that my old OS/2 box was holding up to the Win stuff.

In my troubleshooting I did investigate the potential aspect of having 6 CPU cores enabled vs the old 5 core setup, this however had no impact on driver loading, same LOG entry, same performance results (+/- the CPU extra power contribution).

Anyways, I did log a ticket for the AN/SNAP folks, see => https://mantis.arcanoae.com/view.php?id=1505, the Mantis system appears to be down at the moment (I can not reach it) but I do not suspect they will be able to look at this anytime soon, I think Rich is busy on some type of dynamic resolution changing process (I do not know this first-hand, just picking up the stuff from the "ether"...LOL).

Alright, thanks for the feedback you guys. The next step on my search for the "Holy Grail" was to re-try the dual-head configuration. The AN SNAP drivers though still are running into the same problem as the IBM ones, which is declaring the monitor EDID to be broken, subsequently, as best as I can tell only the 'Head 0' drivers get loaded. This will have to wait.

ivan,
My Samsung 245T panel has HDMI connection on it, but I have not tried it. Will give it a go tomorrow and report-out. As it happens, playing with the SNAP drivers hasn't been the most fun event, I did manage to mess up my INI files badly enough that I needed to recover from a backup to get back to a working PMMAIL, FIREFOX and PSI install. Not sure what it was, however, PSI would produce a trap entry showing a SYS3175 in REGISTRY.DLL.

Ah, one more thing, given that we are speaking of other video driver/hardware related stuff: who has a working dual-head configuration? What are you using, can you post your GRAPHICS.LOG contents?

I am asking this last question because the SNAP readme clearly states that even the ATI hardware will only support DVI for a single display and anything else needs to use RGB. Indeed, my ATI card has two DVI connectors, I ran DVI to my primary but used a DVI=>RGB adapter to my secondary. I did end up seeing the following in my GRAPHICS.LOG file, however the 'head 1' panel never produced anything on-screen.

Configuration for head 0:

Monitor configuration:
  Manufacturer... Samsung
  Model.......... SyncMaster
  Max Resolution. 1920x1440
  Max HScan...... 81 KHz
  Max VScan...... 75 Hz
  Features....... DPMS Wide

LCD panel detected:
  Width:  1920
  Height: 1200

Graphics mode information (DFP):


...and the matching entry for head 1:

Configuration for head 1:

Monitor configuration:
  Manufacturer... Samsung
  Model.......... SyncMaster
  Max Resolution. 1920x1440
  Max HScan...... 81 KHz
  Max VScan...... 75 Hz
  Features....... DPMS Wide

Graphics mode information (CRT):

Olafur Gunnlaugsson

  • Jr. Member
  • **
  • Thank You
  • -Given: 16
  • -Receive: 6
  • Posts: 90
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #9 on: October 26, 2017, 12:59:50 pm »
A little bit off topic but has anyone tried to use snap or panorama to drive a hdmi monitor? 

Several video cards now have DVI-D and HDMI outputs and no VGA I was wondering if it was possible to have a hdmi  monitor driven by one of those cards.

I have a monitor that uses a DVI to HDMI converter cable, using an old Dell X600PRO card via DVI output and Snap 3.18.

Panorama should work with the HDMI output if the VESA BIOS on the card or motherboard supports it, most should.

Neil Waldhauer

  • Sr. Member
  • ****
  • Thank You
  • -Given: 6
  • -Receive: 15
  • Posts: 297
    • View Profile
    • Blonde Guy
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #10 on: October 26, 2017, 06:20:05 pm »
A little bit off topic but has anyone tried to use snap or panorama to drive a hdmi monitor? 

Several video cards now have DVI-D and HDMI outputs and no VGA I was wondering if it was possible to have a hdmi  monitor driven by one of those cards.

I have a monitor that uses a DVI to HDMI converter cable, using an old Dell X600PRO card via DVI output and Snap 3.18.

Panorama should work with the HDMI output if the VESA BIOS on the card or motherboard supports it, most should.

I was going to post this. It depends on the computer (or graphics card) BIOS.

Also, if you have already thrown your HDMI in the trash to use DisplayPort, then that works on my Lenovo M93p tiny with eComStation and Panorama graphics.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 26
  • Posts: 540
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #11 on: October 26, 2017, 08:00:05 pm »
Hi Dariusz

Where is sysbench 0.9.5d available? - I only see 0.9.5c on http://www.os2warp.org/Sysbench/


Regards

Pete


Dariusz Piatkowski

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 6
  • Posts: 293
    • View Profile
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #12 on: October 26, 2017, 11:08:37 pm »
Hey Pete!

...Where is sysbench 0.9.5d available? - I only see 0.9.5c on http://www.os2warp.org/Sysbench/...
Hmm...good question...I remember working with Trevor a few years back on some fixes, may have had something to do with either my HPFS386 fs, or maybe it was CPU speed related, so I'm thinking it may have been a test release version? Although I thought he did eventually make that available...I could have sworn I've see it out in the "wild"...LOL!

I looked for the ZIP on my system (in case I saved it) but I did not find it. I can ceratinly ZIP-up the contents of the directory and send it your way...I do not think there was a specific install program...

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 251
  • -Receive: 46
  • Posts: 1682
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: SNAP drivers and video speed - IBM vs AN release differences...
« Reply #13 on: October 27, 2017, 03:11:50 pm »
Hi

I have no records of sysbench 0.9.5d on the OS2World news archive, last one I have news from was 0.9.5c on May 2008 . If someone has it please upload it to hobbes.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Rainer Doering

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile