microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.04k stars 4.48k forks source link

A VK_ERROR_DEVICE_LOST error occurrs again when collecting high-resolution images #4943

Open SaintArthurThomas opened 3 months ago

SaintArthurThomas commented 3 months ago

Bug report

Settings

{
  "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
  "SettingsVersion": 1.2,
  "SimMode": "ComputerVision",
  "SubWindows": [
    {"WindowID": 0, "CameraName": "0", "ImageType": 0, "VehicleName": "", "Visible": true, "External": false},
    {"WindowID": 1, "CameraName": "0", "ImageType": 3, "VehicleName": "", "Visible": true, "External": false},
    {"WindowID": 2, "CameraName": "0", "ImageType": 5, "VehicleName": "", "Visible": true, "External": false}
  ],
  "CameraDefaults": {
    "CaptureSettings": [
      { 
        "ImageType": 5, 
        "Width": 3016,
        "Height": 4024,
        "FOV_Degrees": 42
      }
    ],
    "UnrealEngine": {
      "PixelFormatOverride": [
        {
          "ImageType": 5,
          "PixelFormat": 10
        }
      ]
    }
  }
}

How can the issue be reproduced?

  1. Run responses = client2.simGetImages([airsim.ImageRequest("0", airsim.ImageType.Segmentation, False, False)]) with the above settings.

Include full error message in text form

What's better than filing an issue? Filing a pull request :).