Comments (7)
When using PNG encoding, it seems like colors are dithered and I think in older versions they were just clamped to the nearest color in the palette
Please include a screenshot.
Switch to PNG as video encoding
PNG is not a video encoding.
Even when switching to png
, the xpra server may still use other encodings as needed.
You can run the server with -d compress
or the client with -d draw
to see what is actually being used.
Or even use XPRA_PAINT_BOX=1 xpra attach
to see it visually using colour-coding.
I wonder if the PNG palette is fixed or optimized for the current image.
png
does not use a palette.
png/L
and png/P
do.
It must be something else, perhaps an issue with pre-multiplied alpha instead.
from xpra.
I meant "PNG 8 bit colour" and -d draw
tells that PNG/P is indeed used.
from xpra.
OK, so not plain png then.
Don't use PNG 8 bit colour
.
I very much doubt that it is any better than letting the xpra engine compress things.
from xpra.
I tried it because I was getting flickering with the automatic codec selection on a not so good internet connection. PNG 24-Bit is way too big and PNG/P used to be a good compromise for clean GUIs. I suspect it is just a switch in a library that was changed at some point and could either be exposed as a separate codec (PNG/P, PNG/P-dithering) or completely changed back.
from xpra.
I keep saying it again and again, documenting it, wikying it.
I even added a GUI in v6 to stop people messing with encodings: #4064 (comment)
from xpra.
I mostly have the requirement to display mostly static UIs with text and scroll them from time to time and am looking for how to achieve this with the best quality (no artifacts around text) using the given options. In the end, I would not care what makes it work, and setting PNG/P is just an option that has worked for me in the past, even though it may not have been intended to be used directly.
I wouldn't have configured anything if I didn't have flickering in the UI. Next time I can check which codec is causing the flickering. On the Debian testing system here the automatic codec suprisingly seems to select webp, but it also runs smoothly on this machine at the moment. I might open another issue for the flickering if I can reproduce it on the other machine and have debug output for the drawing.
I would appreciate any other suggestions for my use case that do not involve setting things you would prefer people not to mess with.
About the new UI: I don't see the new UI with Xpra 6.0 and 6.1 from your repositories. I still used the right click menu from the tray icon for setting the encoding and launched Xpra from the command line. If there are new warnings and new configuration UI, I have completely missed it so far.
from xpra.
If there are new warnings and new configuration UI, I have completely missed it so far.
Try xpra configure
fd3e265 also adds it to the GUI you get when running just xpra
from xpra.
Related Issues (20)
- Debian installation HOT 1
- gcc 14.x broke nvcc
- RHEL 10 builds HOT 2
- Cannot attach to an SSH remote from a windows client HOT 3
- GStreamer enhancements HOT 4
- python problem when running 6.1 HOT 14
- `shadow` does not work on windows: Mega-Issue HOT 15
- new subcommand to generate SSL certificates easily HOT 4
- ssh:// handler forces hostname lowercase HOT 2
- XPRA Not Working when accessing remotely- encryption ERROR/SSL not working/Authentication and Encryption
- PgUp and PgDn get mapped to different keys on the server HOT 7
- 6.0.2 source at xpra.org has missing files HOT 16
- make it possible to require username verification for some modules that don't check it by default HOT 1
- windows seamless HOT 1
- [debian trixie | beta] Can't install - Depends: python3 (< 3.12) but 3.12.3-1 is to be installed HOT 3
- error preparing connection: list indices must be integers or slices, not DeviceEthernet HOT 10
- screen corruption with fedora40 display client HOT 34
- guess initial server display resolution HOT 1
- `displayfd failed` after upgrade from 6.0 to 6.1.0 HOT 5
- Alt/Meta Keyboard Handling on OS X HOT 8
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 xpra.