Does the RTX2070 graphics card not support DirectX 12 Feature Level 12_2? - directx-12

My project uses shader model 6.6 that released by MS recently, but when I move the project from PC that have 3060 graphics card to 2070 super, debug layer says:
Unrecognized D3D_FEATURE_LEVEL (0xc200) for MinimumFeatureLevel. [ INITIALIZATION ERROR #506: CREATEDEVICE_INVALIDARGS]
Just like this...
I've updated my windows version and graphics driver, but it doesn't help anything.
dxdiag says it doesn't support 12_2, but Nvidia homepage says it supports DirectX12 Ultamate(AKA Feature Level 12_2)
is there any way to use 12_2 features in my computer?

Related

Is it possible to upgrade OpenGL to version 4.3 on Google Compute Engine with GPU Grid drivers?

I tried to set up a Google Compute Engine with Ubuntu 20.4 using GPU Grid drivers ( NVIDIA Tesla P100 Virtual Workstation). Since I need CUDA 10.2 for my project which requires TensorFlow 1.15 I installed this GPU Grid driver as recommended on Google Cloud document site and here is the result.
NVIDIA-SMI 440.87 Driver Version: 440.87 CUDA Version: 10.2
I supposed that NVIDIA Tesla P100 supports Opengl 4.5 as it is mentioned on Tesla release notes. However, after connecting to this VM with a visual remote connection (I used NoMachine), I ran this command [glxinfo | grep "OpenGL"] to double-check, it showed OpenGL version 1.4 only
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 13.0.2)
OpenGL extensions:
The problem is that the application I am trying to run on this VM (Carla simulator) requires Opengl 4.3++, I just wonder if there is any way to upgrade Opengl to version 4.3?
According to the last comment, preloading a library for the NVIDIA driver, where the NVIDIA GPU may also be detected as a secondary video card is a good option you can take since you can get your software to use the actual hardware. Were you able to try this suggestion?
I've filed a Feature Request on your behalf for the product team to check if it is possible to evaluate the possibility to implement the functionality that fits your use case, you can follow up on this PIT [1], where you will be able to receive further updates from the team as well
Keep in mind that there is no ETA, nor guarantee that this will be implmented. However, please feel free to ask for updates directly on the PIT.
[1] https://issuetracker.google.com/168843661

OpenGL version is few years older than laptop

When I write a java program using LWJGL, and get the OpenGL version using glGetString(GL_VERSION);. Then it displays: 2.1.0 - Build 8.15.10.1892
When I open my windows console (using the famous 'cmd' run), and I use systeminfo, it gives me not just any information about the installation date of windows.
I want to get the installation date of windows because then I know how old my laptop is. After searching the internet, I used WMIC OS GET installdate and I finally got a date: 11 November 2010.
And I assume that's true because I can remember at least the same year. And of course the device may have been some time at the factory or in the store.
When I lookup how old OpenGL 2.1.0 is, I see it's of around 2006 https://www.opengl.org/wiki/History_of_OpenGL#OpenGL_2.1_.282006.29
I'm disappointed of my OpenGL version.
I'm running 64 bit Windows 7. The device is probably at least from the end of 2010, but java displays an OpenGL version of 2006.
There are newer OpenGL versions from widely before November 2010, like version 3.0 (2008), 3.1 (2009) and 3.2 (also 2009)
Could it perhaps be that the JVM only has access to an older version of OpenGL?
Some time ago I played a CD-rom game on this laptop. I think that game would never be playable if it used OpenGL 2.1.0...
Or is this an unfair comparision?
OpenGL by itself is just a specification. The actual thing running on your computer is called an implementation which are usually part of the graphics driver. Also each OpenGL specification has very specific requirements on the implementation. And there are many things in OpenGL-3.x that simply are not supported even by hardware that were "modern" in 2010. For example Intel GPUs from around that time simply don't have everything that's required for OpenGL-3 support. Hence you'll get only OpenGL-2.x support for those and nothing more.
You could look up your laptop specification and see your gfx hardware. This will tell you which version of OpenGL your hardware supports (this information will be available from the gfx chip vendor most likely).
Using an API that supports the version of GL that you hardware does is another issue and may be with the way you have initialized or used the openGL graphics lib.
I would have thought most drivers these days support older versions. They may not support the API natively, but I would have thought provide wrappers for the functionality in the driver. Certainly I can code in OpenGL 1.1 and see the results on the same machine as an OpenGL 4.5 program (On a quadro K2200M).

DIrectX 12 and D3D12CreateDevice fail

I'm trying to run microsoft DirectX12 code samples but in every case the function D3D12CreateDevice fails. I compiled code with Visual Studio 2015 and the WIndows SDK.
I have a GTX560Ti, my driver is 353.62 for Windows 10. On the NVidia panel it's written current directX version 12 but on the dxdiag panel it's written 11.2 . I think that the problem is here...
How to solve the problem and run directX code ?
The GTX 560 Ti is a "Fermi" based Nvidia GPU. Fermi GPUs are not yet supported by Nvidia's drivers for D3D12; support will be coming later this year.
http://www.anandtech.com/show/9472/windows-10-launch-day-gpu-support-summary

Hardware accelerated OpenGL on VxWorks 5.5

I need to do hardware accelerated OpenGL rendering on VxWorks5.5 platform. After days of googling, I am confused about the following questions:
Stand alone Mesa3D can only do software rendering on VxWorks?( Provided that I ported Mesa3D to VxWorks)
Mesa3d combine with DRI can do hareware accelerated rendering on VxWorks? If so, Do I need an extra OpenGL hardware driver besides Mesa3d+DRI? (Mesa just provide gl APIs and DRI is the one which implement concrete hardware rendering, is that right?)
Are there any commercial solutions out there?
Is it possible for you to upgrade your vxworks? You can refer to the documents to see if it meets your requirement
If yes, From VxWorks 6.9.3.3 onwards, Mesa driver is supported for Wind Media Library also. You can find the detail info in Wind River Media Library SDK Programmer’s Guide.
If you have upgraded to VxWorks 6.9.3 Update Pack 3 or above, you should have the mesa directory in the installation :
/components/windml-5.3/src/mesa-7.6.1
For more information on the mesa driver for Wind Media Library, please refer to the Wind Media Library SDK Programmers Guide 5.3 Edition 3. Specifically Chapter 3 about building Media Library, under section 3.5.1 and Chapter 8 on OpenXX applicaitons.
Wind Media Library SDK Programmers Guide 5.3 Edition 5 has the information pertaining OpenGL ES1, OpenGL ES2, and Open VG supported only by the PowerVR drivers.

OpenGL - Using modern libraries

Upon successful compilation of a recent program I wrote from the openGL-book using openGL 4.0 I wasn't able to run the program due to an error that stated " error XX - unsupported hardware.."
However according to a previous question I asked if I could compile/run openGL programs on my computer I got an answer that I could:
Wiki claims you can do GL 4.0 with your HD 4000 [Graphics Chip] on Windows.
My question is - is that I am using the libraries freeglut 2.8 and GLEW 1.10 (newest versions) but the tutorial I followed used functions that came with 4.0 could the reason that my program does not run follow because I am linking modern versions of openGL libaries?
Things you have to check to run modern OpenGL:
Graphics driver: Do you have the latest and most up to date drivers?
Graphics card/chipset: Can your graphics hardware support the latest OpenGL even with its most recent drivers?
Using Proper Hardware: Some laptops come with a low powered graphics chipset and a high powered alternate graphics card/chipset. The low powered one may not support new stuff, but the high powered one definitely should. Have you instructed your computer to use the right one?
Libraries: Have you properly linked to something like GLEW that gives you the ability to use modern OpenGL?
Since you're on Windows, do note that they purposefully don't give you preinstalled access to modern OpenGL, so you have to do it yourself. Usually that just means checking your drivers and downloading GLEW.
From your error message, it looks like your graphics drivers aren't up to date or the graphics card/chipset/whatever you're using doesn't support the OpenGL version you want.