Comments (8)
Rather than scaling locally, HiDPI is best supported by changing the remote. Doing local scaling would mean the resulting image would be blurry.
From my initial research, this would have to be done per window manager, I've seen this done before with Mutter.
https://wiki.archlinux.org/title/HiDPI
I am not sure if there is a window manager agnostic way to configure this.
from selkies-gstreamer.
I did more investigation, and this specific issue I'm seeing is with the client HTML5...
Since the scroll is showing even before the screen is started.
This happens even with remote scaling in my laptop (above) with client PC DPI set to 125% or 150%.
Likely will need to look at Javascript, and this is not specific to local scaling then.
from selkies-gstreamer.
Should be changed from enhancement to bug.
from selkies-gstreamer.
Do you use some tool bar like bookmarks bar? I believe this is because of tool bars. For some stupid reason, document.body.offsetHeight
contains height including tool bars which breaks all things. I do not know how to workaround this. It seems that height: 100%
canvas overflow in this case. It's get fixed once you resize chrome window, at least for me.
from selkies-gstreamer.
Hi! @xhejtman
Thank you for all your comments to this repository.
I thought this issue was associated with JavaScript, and it looks like it indeed is.
I develop https://github.com/ehfd/docker-nvidia-egl-desktop and https://github.com/ehfd/docker-nvidia-glx-desktop and have collaborated with this project.
It would be great if we could receive more helping hands to this repository if you want. The performance of this project as an open source XCloud/Shadow/GeForce Now is already great, and there are more performance and functional improvements that would surely help.
Thanks for your comments again.
from selkies-gstreamer.
I found fix for this. css/vuetify.css:
set overflow-y to hidden:
html {
box-sizing: border-box;
overflow-y: hidden; /* All browsers without overlaying scrollbars */
-webkit-text-size-adjust: 100%; /* iOS 8+ */
}
do not use min-height but, height and max-height.
.application--wrap {
flex: 1 1 auto;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
display: flex;
flex-direction: column;
height: 100vh;
max-height: -webkit-fill-available;
max-width: 100%;
position: relative;
}
seems to be ok on chrome and safari.
btw, for safari, the following wrap in if
is needed:
if(navigator.permissions) {
navigator.permissions.query({
name: 'clipboard-read'
}).then(permissionStatus => {
// Will be 'granted', 'denied' or 'prompt':
if (permissionStatus.state === 'granted') {
app.clipboardStatus = 'enabled';
}
// Listen for changes to the permission state
permissionStatus.onchange = () => {
if (permissionStatus.state === 'granted') {
app.clipboardStatus = 'enabled';
}
};
});
}
if safari does not enabled Permission-api, it fails and prevents app to start.
from selkies-gstreamer.
Thank you!
@xhejtman
If you make a pull request @danisla can review it and then merge it to main.
from selkies-gstreamer.
Fixed in #33.
from selkies-gstreamer.
Related Issues (20)
- Support Selkies Joystick Interposer in 32-bit (especially Wine), support manual installation in addition to DEB HOT 2
- Long hold ESC to exit full screen in the web interface does not work in certain cases and many key combinations leak to the client OS HOT 10
- [META] Rewrite gst-web HTML5 interface frontend HOT 5
- Audio randomly gets disabled after latest changes to webrtcbin HOT 12
- Various Resize/DPI improvements with the user interface and the cursor HOT 7
- Support extended stylus or touch gestures HOT 1
- x264 encoder failing to initialize HOT 3
- Add option to manually specify XAuthority files for login greeters HOT 3
- Audio does not play on "START" button press HOT 5
- Cannot start stream with NvFBC HOT 4
- Implement WebRTC statistics logging in host HOT 2
- Keyboard keystrokes continue to be held when packets are lost by congestion or unstable connection / Improve the last bit of keyboard latency overall while accommodating unstable connections HOT 3
- Instead of erroring with no audio server, restore server-side --disable_audio CLI option or automatically detect no PulseAudio server
- Achieve higher efficiency and quality in low-bandwidth and high-latency environments
- Improve Opus: reduce NetEQ jitterbuffer & eliminate discontinuous audio artifacts from jitter with Opus + RED HOT 1
- [META] Optimize the WebRTC stack to the maximum HOT 2
- When menu is open, CPU thread congestion from Vue causes choppy video and frame drop every second HOT 3
- Color is slightly incorrect from the GStreamer video converter
- Divide Dockerfile to various containers in selkies-vdi HOT 4
- Support for streaming capture cards HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selkies-gstreamer.