ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
pac85 has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
<soreau>
I suppose the size is slightly off because weston-terminal resizes in character block increments
Seirdy has quit []
Seirdy has joined #wayland
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
<pac85>
yep by running it in floating mode it becomes clear that it resizes in character block increments. In Tiled mode the xorg WM forces a different size. The whole thing goes into a loop because my server tries to keep in sync xorg window size with the wayland's surface size.
soreau has quit [Ping timeout: 480 seconds]
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
soreau has joined #wayland
<pac85>
here is the code https://gitlab.com/pac85/waylandx I started from the simplest possible wayland server I could find, the code is pretty terribile
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
soreau has quit [Remote host closed the connection]
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
chenshijhie has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
<soreau>
pac85: great shots
boistordu has quit [Remote host closed the connection]
boistordu has joined #wayland
kernelsandals has quit [Remote host closed the connection]
boistordu has quit [Remote host closed the connection]
CodeSpelunker has quit [Quit: CodeSpelunker]
maxzor_ has joined #wayland
chenshijhie has quit [Ping timeout: 480 seconds]
apramod has joined #wayland
chenshijhie has joined #wayland
zebrag has quit [Quit: Konversation terminated!]
apramod has quit []
maxzor_ has quit [Ping timeout: 480 seconds]
hardening has joined #wayland
CME has joined #wayland
CME_ has quit [Ping timeout: 480 seconds]
CME has quit []
CME has joined #wayland
dcz_ has joined #wayland
CME has quit [Ping timeout: 480 seconds]
CME has joined #wayland
CME_ has joined #wayland
CME has quit [Ping timeout: 480 seconds]
CME has joined #wayland
CME_ has quit []
___nick___ has joined #wayland
CME_ has joined #wayland
cvmn has joined #wayland
CME has quit [Ping timeout: 480 seconds]
CME_ has quit [Ping timeout: 480 seconds]
ecloud has quit [Ping timeout: 480 seconds]
CME has joined #wayland
CME has quit [Ping timeout: 480 seconds]
ecloud has joined #wayland
CME has joined #wayland
CME has quit [Ping timeout: 480 seconds]
chenshijhie has quit [Remote host closed the connection]
udss has joined #wayland
udss has quit [Quit: Konversation terminated!]
udss has joined #wayland
<udss>
how to choose the program class in wayland? --class with StartupWMClass doesn't seem to work for me.
<udss>
I want a firefox profile to show up as a different app. I made a .desktop file already and it's in .local/share/applications
Shimmy has quit []
Shimmy has joined #wayland
<kennylevinsen>
I have no idea what you mean by "show up as a different app". class/app_id doesn't affect anything on compositors/wms I use (unless one writes rules matching said class/app_id)
drunkcat has joined #wayland
<udss>
I mean that the profile should have a different Icon and window independent of other profiles including the main profile
maxzor has quit [Remote host closed the connection]
<udss>
My profile currently shows a different icon in the menu BUT after launching it, it changes to the main firefox icon and acts like just another instance of the main profile
<udss>
my configuration used to work for xorg
<kennylevinsen>
What menu?
<udss>
the main menu, I'm using KDE
<udss>
and in the KDE system monitor my profile shows as a different app
<udss>
and yes, I'm running firefox with wayland enabled
CME has joined #wayland
<kennylevinsen>
udss: if the "other profile" instance does not launch correctly but just spawns new with Windows in whatever was running, then that might be because of Firefox's remote process protocol. Firefox has a dbus version and an x11-specific version of this. Try with --no-remote or similar arguments
<kennylevinsen>
udss: I have no idea how the KDE main menu works or why it updates its icon. You'd have to ask in a KDE channel or forum.
<udss>
firefox -P newprofile -no-remote --class newprofileProfile <- This is my exec line
<kennylevinsen>
Lacking a hyphen at --no-remote
Shimmy has quit []
Shimmy has joined #wayland
Shimmy has quit []
<udss>
changed it but still has the same problem
Shimmy has joined #wayland
<udss>
I read somewhere that I could use --name to solve this in wayland but I have no idea how
c7s has joined #wayland
<kennylevinsen>
udss: Wayland is just a protocol specification - application command line arguments are up to the applications
<udss>
yes but I see others also had a similar problem. It worked in xorg but not wayland...
<kennylevinsen>
udss: you're describing a few different problems I think - KDE menu weirdness and possibly that you don't get a window with the right profile. For KDE menu and .desktop file issues, you should ask in a KDE channel or forum. For Firefox not behaving (try from a terminal to rule out .desktop file/menu weirdness), Firefox channel/forum.
<udss>
launched it from terminal still has the same problem
<kennylevinsen>
which problem - does the window come up on screen with the profile you asked for?
<udss>
no, it comes up as firefox. The main profile with the normal firefox icon although I've specified another icon in the .desktop file
<kennylevinsen>
Icons doesn't matter right now. How do you test that it's the right profile? Different extensions/configuration?
Shimmy has quit []
Shimmy has joined #wayland
cvmn has quit [Ping timeout: 480 seconds]
flacks has quit [Quit: Quitter]
Shimmy has quit []
<udss>
it is the right profile, I opened about:profiles and checked it. It's the right profile but it's still being treated as a normal firefox window
Shimmy has joined #wayland
flacks has joined #wayland
<kennylevinsen>
All Firefox windows are normal Firefox windows. Do you mean window grouping or something?
<udss>
yes. In xorg the profile showed as a different application. It had its own icon (which I chose) and I could even open both profiles side by side
<udss>
without them being grouped together
<udss>
OMG got it, it was --name after all! I just have to add --name to exec and write the name of my profile!
pac85 has quit [Ping timeout: 480 seconds]
<udss>
thanks kennylevinsen, I hope you have a nice day and a happy new year!
<kennylevinsen>
You too
udss has quit [Quit: Konversation terminated!]
rasterman has joined #wayland
c7s has quit [Ping timeout: 480 seconds]
fmuellner has joined #wayland
xst9948 has joined #wayland
cvmn has joined #wayland
cvmn has quit [Ping timeout: 480 seconds]
<pq>
emersion, daniels, I have to agree with swick here on the interpretation of the current presentation-time extension. It really give no info about when to *start* rendering, it only allows predicting when the next frame will be shown *if* it is ready by then.
<pq>
Trying to use presentation-time to infer the deadline means you have to regularly miss the deadline and then roll back to guesstimate where the deadline is.
luc4 has joined #wayland
<zzag>
I've been wondering how to make firefox nightly specify a different app id, but it's as easy as passing --name argument. Amazing.
<pq>
kennylevinsen, would be really cool if there was a test app a la weston-presentation-shm that implemented various scheduling algorithms to try and minimize latency to screen, with controls on how long CPU and GPU drawing work takes each, per frame.
<pq>
As in, run shader loop to ensure the GPU job per frame takes at least N microseconds. The same for CPU per frame work.
<pq>
Having to miss the deadline to figure out where the deadline was and hope it doesn't move is kind of unwaylandy, because it's a visible glitch to the end user.
<pq>
But if you're not going to artifically delay the start of rendering in a client, then you have exactly two choices: frame callback and presentation-time feedback event. Pick one based on whether you want minimal latency or maximal headroom, and then slowly adjust your LoD to try to keep not missing your predicted presentation time. Presentation-time extension should be just fine for this - that's what it has
<pq>
been designed for. Not for client-side artifical delays to tweak latency to screen.
<pq>
Even draw on presentation-time feedback event is a bit of a stretch, it wasn't really in the original plan, but with Weston implementation it worked too well to reduce latency.
<pq>
I certainly welcome all the work to design a better presentation timing extension, even though I can't participate.
<pq>
particularly as different compositors are only going to differ even more in their scheduling, e.g. don't latch in a new frame from a client for the next refresh until the GPU has finished drawing the client buffer.
<ishitatsuyuki>
to the application, yeah — we definitely need a presentMargin like API
<ishitatsuyuki>
although for non-game workloads I think it's better to do fixed latency window (as a fraction of refresh interval) rather than trying to be adaptive
ecloud has quit [Ping timeout: 480 seconds]
ecloud has joined #wayland
CME_ has joined #wayland
CME has quit [Read error: Connection reset by peer]
<swick>
ah, yes, testing out the deadline means you're going to miss it and that results in glitches. best argument for why you should probably not do that.
fmuellner has quit [Ping timeout: 480 seconds]
ubuntol has joined #wayland
termil has joined #wayland
termil has quit [Remote host closed the connection]
termil has joined #wayland
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #wayland
ubuntol has quit [Remote host closed the connection]
termil has quit []
fmuellner has joined #wayland
neneko has quit [Read error: Connection reset by peer]
fmuellner has quit [Ping timeout: 480 seconds]
c7s has joined #wayland
bodiccea has joined #wayland
bodiccea_ has quit [Ping timeout: 480 seconds]
c7s has quit [Quit: c7s]
c7s has joined #wayland
<kennylevinsen>
The risk of missing the next deadline isn't any bigger with that approach though, and especially in frr we should be able to keep most glitches to an initial calibration phase - after that it should mostly just be reactive increase of the error margin when misses happen.
c7s has quit [Quit: c7s]
c7s has joined #wayland
c7s has quit []
<kennylevinsen>
pq: I should be more careful what I say, hah. Maybe I'll find time to take a crack at it - it would definitely be useful to study different behaviors.
c7s has joined #wayland
luc4 has quit []
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
maxzor has joined #wayland
maxzor has quit [Remote host closed the connection]
c7s has quit [Ping timeout: 480 seconds]
GoGi has quit [Ping timeout: 480 seconds]
bodiccea has quit [Ping timeout: 480 seconds]
fmuellner has joined #wayland
c7s has joined #wayland
bodiccea has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
Seirdy has quit []
Seirdy has joined #wayland
GoGi has joined #wayland
immibis has quit [Remote host closed the connection]