Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SaintArthurThomas opened this issue Mar 21, 2024 · 0 comments

Comments

@SaintArthurThomas
Copy link

Bug report

  • AirSim Version/#commit: AirSim 1.8.1 linux
  • UE/Unity version: 4.27.2
  • autopilot version:
  • OS Version: Ubuntu 20.04
  • GPU: RTX 2080 Ti and v470.239.06 driver

What's the issue you encountered?

I referred to #4339 and ensured my airsim version contained the #4372 fix. But I still met the VK_ERROR_DEVICE_LOST error when calling the simGetImages for high-resolution segmentation images(4024*3016). I found that the validation of the #4372 fix is only applicable to the Scene image type. Does it cover other image types?

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 :).

@SaintArthurThomas SaintArthurThomas changed the title An error VK_ERROR_DEVICE_LOST occurred again when collecting high-resolution images A VK_ERROR_DEVICE_LOST error occurrs again when collecting high-resolution images Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant