rnd-ash / OpenVehicleDiag

A rust based cross-platform ECU diagnostics and car hacking application, utilizing the passthru protocol
GNU General Public License v3.0
773 stars 90 forks source link

[BUG] GraphicsAdapterNotFound (Windows 7) #11

Open N0cynym opened 3 years ago

N0cynym commented 3 years ago

If I do start the application only cmd.exe "plop" for less a second and thats all.

rnd-ash commented 3 years ago

Hi, please try this build and report back: https://github.com/rnd-ash/OpenVehicleDiag/releases/download/v0.5.0/ovd-app-win-0_5_0-x86_64_2.zip

N0cynym commented 3 years ago

Unfortunately same error.

rnd-ash commented 3 years ago

What hardware are you using? I am using the iced library for GUI which requires dx11/dx12 or Vulkan support. If your hardware is too old and does not support dx11, it won't work.

Can you try opening OVD from a powershell window? It might then tell you the exact error. (Open a powershell window in OpenVehicleDiags directory and run ./openvehiclediag.exe)

N0cynym commented 3 years ago

Error: GraphicsAdapterNotFound

rnd-ash commented 3 years ago

Ok. This means you don't have any dx11,dx12, or Vulkan compatible hardware in your PC.

What system are you using?

N0cynym commented 3 years ago

Talked to some members from my community and they believe that's impossible to use in the latest win7 build and I'm up to date with my win7. Means it's not possible to use it below win10.

rnd-ash commented 3 years ago

Well, it is possible to use it in Win7, your GPU just needs to support dx11 at a minimum.

N0cynym commented 3 years ago

grafik

rnd-ash commented 3 years ago

do you have the latest intel GPU drivers installed?

N0cynym commented 3 years ago

Yes it's the latest...

N0cynym commented 3 years ago

I have same error in ubuntu if I download latest repository on new machine.

rnd-ash commented 3 years ago

I have same error in ubuntu if I download latest repository on new machine.

Are you using a VM or a physical machine?

N0cynym commented 3 years ago

All physical.

$ sudo add-apt-repository ppa:oibaf/graphics-drivers
$ sudo apt update
$ sudo apt upgrade

Now Ubuntu runs.

rnd-ash commented 3 years ago

OK This is expected behaviour.

Your CPU is SandyBridge era (Second gen), so it is too old and doesn't support Vulkan (Which is what Iced uses under Linux). Windows should work though, so I've pinged the library devs to see if it can be fixed.

geier99 commented 3 years ago

I have the same issue on a Windows 8.1 Pro system.
Also with your latest release (Version 1.0)

D:\Downloads\chrome>openvehiclediag_windows.exe Error: GraphicsAdapterNotFound

dxdiag_2021-04-25_00-30-54

dxdiag_2021-04-25_00-31-31

explorer_2021-04-25_00-32-41

coolnesseh commented 1 year ago

Is it possible to use the setting features = ["glow"] for Iced as described here? https://rustrepo.com/repo/a-crossplatform-gui-library-for-rust-inspired-by-elm#graphicsadapternotfound