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

[Bug] GPU OOM #4565

Closed
tunglt1810 opened this issue Dec 3, 2024 · 8 comments
Closed

[Bug] GPU OOM #4565

tunglt1810 opened this issue Dec 3, 2024 · 8 comments
Labels
Awaiting Reproduction Can we reproduce the reported bug?

Comments

@tunglt1810
Copy link

tunglt1810 commented Dec 3, 2024

Describe the Bug

I'm using viewer with local mode to view a MR series.
After switch to MPR mode, the screen was flashing and become a black screen. There was this log in console
WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost

image

Steps to Reproduce

  1. Download this series: https://drive.google.com/file/d/16HItlHayUtlYWapwNMmyDeyLbJXb8TTJ/view?usp=sharing
  2. Open viewer with local mode: https://viewer-dev.ohif.org/local
  3. Upload dicom files
  4. Select MPR layout Axial Primary

The current behavior

  • Black screen
  • Black viewport
  • GPU OOM

The expected behavior

  • 3 viewports MPR show up with no black screen and black viewport

OS

Window 11 Home

Node version

22.11.0

Browser

Chrome Version 131.0.6778.86 (Official Build) (64-bit)

@tunglt1810 tunglt1810 added the Awaiting Reproduction Can we reproduce the reported bug? label Dec 3, 2024
Copy link
Member

sedghi commented Dec 3, 2024

It works fine when i try it local drag and drop, and the file size is unlikely to cause oom.

https://viewer-dev.ohif.org/localbasic

CleanShot 2024-12-02 at 22.08.26@2x.png

@tunglt1810
Copy link
Author

I'm trying drag and drop dicom images instead of select folder
Pls look at this error message
GPU memory increase from 1.5GB to max
Screenshot 2024-12-03 111117
After flash black
Screenshot 2024-12-03 110631
Screenshot 2024-12-03 110654

Copy link
Member

sedghi commented Dec 3, 2024

That is weird, what is the spec of your system?

@tunglt1810
Copy link
Author

I'm using ASUS Zenbook 14 Flip OLED UP3404VA-KN038W (13th Gen Intel Core i5, Iris Xe Graphics)
16GB Ram 8GB GPU

Copy link
Member

sedghi commented Dec 3, 2024

Can you try this trick #3207

@tunglt1810
Copy link
Author

WOW. It works in my side

@sedghi
Copy link
Member

sedghi commented Dec 3, 2024

Yes, it's the Intel Xe series. It's frustrating, but try updating your libraries and PC; it might fix the issue. We should report it to them.

@tunglt1810
Copy link
Author

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?
Projects
None yet
Development

No branches or pull requests

2 participants