Code Monkey home page Code Monkey logo

Comments (7)

bluekyu avatar bluekyu commented on May 22, 2024

I found more precise conditions.
Window freezes when any overlay is notified by GeForce Experience.
If the notifications is off, the freezing does not happen although "In-Game Overlay" option is ON.
However, if the overlay is opened by shortcut (Alt+Z), the window becomes freezing.

from panda3d.

bluekyu avatar bluekyu commented on May 22, 2024

I performed some tests in GLFW App. I pressed ALT+Z key to open the overlay, then window proc message was presented as follow:

WM_SYSKEYDOWN (wParam: VK_MENU)
WM_KEYUP (wParam: VK_MENU)
WM_KEYUP (wParam: Z)
WM_KEYUP (wParam: VK_LMENU)
WM_NCHITTEST
WM_SETCURSOR
WM_NULL
// then, overlay opens.

And the window style and extended window style were not changed.
However, in Panda3D, "ChangeDisplaySettings failed to restore Windowed mode" warning message was printed when the key is pressed.
I guess that the crash happens because of minimizing window by losing focus.

from panda3d.

rdb avatar rdb commented on May 22, 2024

Curious.

Could you include the sequence of events in the Panda window, by setting notify-level-windisplay spam ?

from panda3d.

bluekyu avatar bluekyu commented on May 22, 2024

I attached the log file: panda3d.log

I started app with fullscreen #t and win-size 800 600.
(Note that the app is Panda3D C++, not Python.)
After Line 700, alt key and z key were pressed. In Line 771, the warning message was printed.

from panda3d.

bluekyu avatar bluekyu commented on May 22, 2024

I checked the issue is resolved in 0edac2e. Thank you!

However, in Panda3D Render Pipeline, the issue still happens.
I could solve it by removing color-bits 0 config OR adding reqs._property[FBP_color_bits] == 0 condition into the commit.
I don't know whether color-bits 0 is meaningless, or reqs._property[FBP_color_bits] == 0 condition is omitted.

from panda3d.

rdb avatar rdb commented on May 22, 2024

Wow, are you sure? I was trying to fix a completely different issue; I'm surprised it seemed to fix this one as well.

I didn't realise the framebuffer properties behaved differently when 0 bits were requested. I've just included that in the condition.

Please close this issue if you can no longer reproduce it with the latest changes, thanks!

from panda3d.

bluekyu avatar bluekyu commented on May 22, 2024

I also had another issue that the screen is washed out on full screen, but I thought it was not related to this issue. However, the commit resolved both washed out issue and this issue.

Now, the problem does not happen. NVIDIA overlay and recording works well. Thanks again!

from panda3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.