Git Product home page Git Product logo

Comments (7)

metalefty avatar metalefty commented on June 20, 2024

It is a pseudo refresh rate. I believe it doesn't affect actual behaviour. There's no answer why it is 50Hz but it can be set to whatever.

from xorgxrdp.

Nexarian avatar Nexarian commented on June 20, 2024

The real answer: I was playing with the value to see if it would help performance, I don't think it changed anything, and because it didn't matter it likely got merged into a commit long ago without much thought.

from xorgxrdp.

wqlxx avatar wqlxx commented on June 20, 2024

It is a pseudo refresh rate. I believe it doesn't affect actual behaviour. There's no answer why it is 50Hz but it can be set to whatever.

@metalefty Yes, I set it to 30Hz or 120Hz, nNo change at all.

from xorgxrdp.

wqlxx avatar wqlxx commented on June 20, 2024

The real answer: I was playing with the value to see if it would help performance, I don't think it changed anything, and because it didn't matter it likely got merged into a commit long ago without much thought.

@Nexarian Do you have any good advice? I hope to use vsync to control the frame ratre in glxgears or other APP with swapinterval.

from xorgxrdp.

metalefty avatar metalefty commented on June 20, 2024

What is your purpose? As I said, It can be set whatever but it doesn't affect actual behaviour. It is a PSEUDO value, just ignore it.

from xorgxrdp.

metalefty avatar metalefty commented on June 20, 2024

See also: neutrinolabs/xrdp#2546 (comment)

from xorgxrdp.

wqlxx avatar wqlxx commented on June 20, 2024

What is your purpose? As I said, It can be set whatever but it doesn't affect actual behaviour. It is a PSEUDO value, just ignore it.

I hope to reduce GPU usage through control rdp0 (virtual monitor's name) refresh rate. In my test , I used windows mstsc to connect XRDP in ubuntu, and the glxgears or glmark2 run in high FPS, because the vsync/vblank seems to be invalid.

I found something about refresh rate in libxrandr, and xrdp can change refresh rate in xrandr. But it seems to do nothing to help glx/egl to use glxswapintervalEXT function in MESA.

from xorgxrdp.

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.