Vulkan is a GCN low level construct?

Discussion in 'Rendering Technology and APIs' started by DavidGraham, Jul 18, 2016.

  1. sebbbi

    Veteran

    Joined:
    Nov 14, 2007
    Messages:
    2,924
    Likes Received:
    5,296
    Location:
    Helsinki, Finland
    AMDs OpenGL drivers are quite bad. Nvidia on the other hand invests heavily on OpenGL. The difference is even larger than in DirectX 11. Now with Vulkan and DX12 the developer basically writes the biggest part of the traditional driver. Of course this brings AMD and Nvidia closer to each other.

    A bad driver doesn't only use more CPU cycles, it doesn't utilize the GPU as well as a good one. A good driver for example can analyze the resource write->read dependency chains to reorder & overlap work (in the same queue). Resource barriers (DX12 and Vulkan) allow the developer to define these resource relations themselves, and perform the transitions in a way that minimizes the GPU idling. I would guess that Nvidia's driver does runtime analysis to perform these things automatically in OpenGL and DX11, resulting in GPU gains (compared to AMD drivers), but at the same time using considerable amount of CPU cycles. Nvidia's DX11 driver has many worker threads doing lots of stuff in background. Who knows how complex optimizations they are running at background.

    With DX12 and Vulkan the developer can finally state their intention. The driver doesn't need to be guessing and doing heavy runtime optimizations that eat lots of CPU cycles. This is a big gain for limited TDP platforms such as laptops, mobiles and consoles. And personally I believe that drivers using up to 2 Skylake cores aren't a good lasting solution for desktops either. I'd rather see those CPU cycles used for something else.
     
  2. Ryan Smith

    Regular

    Joined:
    Mar 26, 2010
    Messages:
    629
    Likes Received:
    1,131
    Location:
    PCIe x16_1
    The upside of low-level APIs is that the developer gets to be in control. The bad news is that it's the developer who gets to be in control. With great power comes the ability to do great things, or to blast your foot off.:eek:
     
  3. CarstenS

    Legend Subscriber

    Joined:
    May 31, 2002
    Messages:
    5,800
    Likes Received:
    3,920
    Location:
    Germany
    Does Doom run under OpenGL on console?
     
  4. BRiT

    BRiT (>• •)>⌐■-■ (⌐■-■)
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    20,511
    Likes Received:
    24,410
    I don't think either console sports OpenGL. MS does DX11.x and DX12 while Sony does GNMX and GNM.
     
  5. sebbbi

    Veteran

    Joined:
    Nov 14, 2007
    Messages:
    2,924
    Likes Received:
    5,296
    Location:
    Helsinki, Finland
    OpenGL would be horrible waste of CPU resources on any console platform. There hasn't been a single console in existence with full standards compliant OpenGL implementation. Some consoles have had a limited OpenGL API, but no AAA developer would ever use a limited OpenGL API on consoles as low level APIs always sport significiantly higher performance and offer access for all hardware specific features.
     
    #25 sebbbi, Jul 20, 2016
    Last edited: Jul 20, 2016
  6. Alessio1989

    Regular

    Joined:
    Jun 6, 2015
    Messages:
    614
    Likes Received:
    321
    Vulkan is a great occasion for mobile drivers: mobile IHVs have a great opportunity to write less lunatic drivers, especially on android ( :
    PS: a fairy told me SM6 preview is coming, just be patient... The repo is still private :/ .. But I know devs can ask for invitation ( :
     
    Silent_Buddha, sebbbi and BRiT like this.
  7. dogen

    Regular

    Joined:
    Oct 27, 2014
    Messages:
    340
    Likes Received:
    260
    Interesting.
    By this you mean DX12 style "multi-engine" concurrency, right?
     
  8. seahawk

    Regular

    Joined:
    May 18, 2004
    Messages:
    511
    Likes Received:
    141
    That makes no sense, as NV Cards perform better on weak CPUs under DX11. In fact it seems as if the NV Driver creates much less CPU overhead under DX11 and OGL than the AMD driver.
     
    DavidGraham likes this.
  9. CarstenS

    Legend Subscriber

    Joined:
    May 31, 2002
    Messages:
    5,800
    Likes Received:
    3,920
    Location:
    Germany
    Thank you both. I was just wondering why the hell id Software bothered with an OpenGL path in the first place - why I wondered in the first place becomes glaringly obvious in this post at the latest. Must be that they needed to hit their deadline on friday 13th for release and already had that crappy OpenGL path in place.
     
  10. Simon F

    Simon F Tea maker
    Moderator Veteran

    Joined:
    Feb 8, 2002
    Messages:
    4,563
    Likes Received:
    171
    Location:
    In the Island of Sodor, where the steam trains lie
    Can this comparative demo from IMG/PowerVR convince you?
     
  11. pMax

    Regular

    Joined:
    May 14, 2013
    Messages:
    327
    Likes Received:
    22
    Location:
    out of the games
    ...wow.
     
  12. dogen

    Regular

    Joined:
    Oct 27, 2014
    Messages:
    340
    Likes Received:
    260
    Perhaps the difference in overhead between nvidia and amd is still much larger than whatever difference those optimizations would make. In Doom, it was around 50-60% higher.
     
  13. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    Still, for the majority of architectures (excluding GCN), Vulkan seems to hurt more than advance, at least when compared to a strong OpenGL/DX11 support:
    [​IMG]

    [​IMG]
    [​IMG]
     
  14. dogen

    Regular

    Joined:
    Oct 27, 2014
    Messages:
    340
    Likes Received:
    260
    Anyone else see this?

    [​IMG]

    Even in vulkan nvidia isn't nearly as affected by slower CPUs.
     
  15. Silent_Buddha

    Legend

    Joined:
    Mar 13, 2007
    Messages:
    19,423
    Likes Received:
    10,316
    You've got that backwards. Under CPU limited scenarios (1080p for example) NV cards do better under Vulkan than they do in OGL. That is showing that under OGL, they are significantly more CPU limited than under Vulkan. As you become more GPU bound (higher resolutions, for example) the performance gap closes showing that the GPU is becoming more of a bottleneck than the CPU. Eventually at 4k max settings you'll get no performance difference between OGL and Vulkan on NV because it is almost entirely GPU bound at that point.

    The graph by Dogen illustrates this perfectly.

    OGL increases in performance due to CPU power much more than Vulkan does showing a greater reliance on the CPU.

    In other words, more rendering time is used by the CPU under OGL than under Vulkan.

    Regards,
    SB
     
    Scott_Arm and BRiT like this.
  16. seahawk

    Regular

    Joined:
    May 18, 2004
    Messages:
    511
    Likes Received:
    141
    My reply was to a post stating that the NV/Driver would use more CPU power under DX11 and OGL. compared to AMD drivers, which it does not, as it seems not even under Vulkan.
     
  17. Silent_Buddha

    Legend

    Joined:
    Mar 13, 2007
    Messages:
    19,423
    Likes Received:
    10,316
    It would help if you indicated which post you were referring to then. As the post right above yours was responding to Sebbbi's post which was about OGL/DX11 versus Vulkan/DX12 and not AMD versus Nvidia.

    The only thing he compared between the two was the "bad" AMD Dx11/OGL drivers compared to the "good" Nvidia Dx11/OGL drivers.

    Regards,
    SB
     
  18. seahawk

    Regular

    Joined:
    May 18, 2004
    Messages:
    511
    Likes Received:
    141
    Sorry, I understood the post a a comparison between AMD and NV drivers under different APIs, not as a comparison of different APIs.
     
  19. pharma

    Veteran

    Joined:
    Mar 29, 2004
    Messages:
    4,889
    Likes Received:
    4,536
    https://developer.nvidia.com/reading-between-threads-shader-intrinsics
     
    DavidGraham likes this.
  20. Don't play 2016 games with 2009 CPUs. Got it.
    I'll share that incredibly useful knowledge with all my friends.
     
    Malo likes this.
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...