ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
<KarenTheDorf>
Is libdecor documented anywhere? Beyond just reading the header and/or examples?
<Nefsen402>
Welcome to open source
<KarenTheDorf>
I take it that's "Pull Requests are welcome" :D
<alice>
usually are
<alice>
unless it's the kernel and they start complaining that your sign-off is wrong :^)
<KarenTheDorf>
*stares at the two bug reports they have open in ubuntu* I should learn myself driver develpment and fix all this UB in the radeon kernel driver.
<Nefsen402>
For me, writing patches isn't the problem, it's finding reviewers
<Nefsen402>
good like finding a reviewer for the radeon driver
<KarenTheDorf>
"Just like use amdgpu", whoops, this laptops about a year too old, and my other laptop has a dead kb.
<Nefsen402>
My old laptop had a first generation GCN chip in it and needs flags to use amdgpu
<Nefsen402>
radeon didn't enable HW acceleration in the browser so it was a no-go
<KarenTheDorf>
I should probabally actually fiddle. It's supposed to be dual graphics, but I only see one gpu reported.
<Nefsen402>
Which laptop?
<Nefsen402>
Some firmwares may hide secondary GPUs on non windows operating systems
<KarenTheDorf>
It's reported in lspci
<Nefsen402>
That's a different problem then
<KarenTheDorf>
Hmm, the M chip is GCN1. I'm going to go find those flags to force AMDGPU for gen1 and see if it boots.
<KarenTheDorf>
*gcn1
<Nefsen402>
Other than some backlight issues I had with amdgpu that I found a workaround for amdgpu works much better
<Nefsen402>
Vulkan works for everything I tried too
<KarenTheDorf>
Yeah atm I'm stuck with llvmpipe
guru__ has joined #wayland
<KarenTheDorf>
Laters, off to tinker.
KarenTheDorf has quit [Remote host closed the connection]
crazybyte has quit [Ping timeout: 480 seconds]
crazybyte has joined #wayland
guru_ has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
CME has joined #wayland
KarenTheDorf has joined #wayland
karenw has joined #wayland
<karenw>
Nefsen402: It works! If I use X... *winces*
KarenTheDorf is now known as Guest10097
karenw is now known as KarenTheDorf
<Nefsen402>
I used sway on all my devices including my old laptop
Guest10097 has quit [Ping timeout: 480 seconds]
<KarenTheDorf>
There's still UB in the amdgpu driver, a bunch of errors in dmesg that seem to be saying it can't get the gpu out of low power mode. Welp.
<Nefsen402>
The way you're using the term UB doesn't make sense to me
<KarenTheDorf>
Ubuntu seems to build the kernel with UBSAN enabled.
<KarenTheDorf>
and it's flagging up out of bounds reads and stuff in dmesg
<Nefsen402>
that might be completely normal
<Nefsen402>
Out of bounds would trigger a page fault handler and that's how you implement stuff like swap
<alice>
it would be pretty funny if kernel ubsan flagged stuff like that where it's intended
<alice>
so i strongly doubt it
KarenTheDorf has quit [Quit: Witty Quit Message Here]
KarenTheDorf has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
KarenTheDorf has quit [Remote host closed the connection]
mclasen has quit [Ping timeout: 480 seconds]
<RAOF>
Out of bounds reads very rarely trigger a page fault handler, because they need to hit a page that's not mapped (which means they need to go 2K out of bounds, on average), whereas most out of bounds errors are off-by-one.
<RAOF>
KUBSan is correctly triggering there, AFAICT.
Brainium has quit [Quit: Konversation terminated!]
<pq>
swick, are you actually here even when you're not?
iomari891 has joined #wayland
rasterman has joined #wayland
<meltq[m]>
if this assert `assert(buffer->pool->internal_refcount + buffer->pool->external_refcount);` in wl_shm_buffer_ref_pool fails, is the conclusion that the pool has been freed?
<pq>
meltq[m], I would think so. I would expect ASan or Valgrind to likely flag use-after-free, too.
coldfeet has joined #wayland
coldfeet has quit [Remote host closed the connection]
<pq>
swick[m], ah, the test images in https://www.color.org/version4html.xalter - the top-right one is actually using Input class embedded profile. That surprised me.
coldfeet has quit [Remote host closed the connection]
<pq>
But I think I would still not want to add Input class as allowed in the protocol.
<swick[m]>
ah, saw that one but I'm also not sure what no make of it
iomari891 has quit [Read error: Connection reset by peer]
nerdopolis has joined #wayland
narodnik has joined #wayland
peeterm has quit [Read error: No route to host]
peeterm has joined #wayland
guru__ has quit [Remote host closed the connection]
iomari891 has joined #wayland
kts has quit [Quit: Konversation terminated!]
Guru_DE has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
<King_DuckZ>
hey all, I'm implementing chroma key in weston and how can I pass user parameters to weston? for example say a float representing the moothness parameter
aaron465 has quit [Quit: Client limit exceeded: 20000]
<emersion>
not sure i will have time to look at this anytime soon
<vyivel>
no rush
<emersion>
PSA: i now have a full time job so will have a lot less time for Linux graphics stuff
<emersion>
i still hope to have *some* time, for sure :P
<bl4ckb0ne>
gz on the new job emersion
<emersion>
ty!
<bl4ckb0ne>
where is it? or do you prefer to keep it a secret
leon-anavi has quit [Quit: Leaving]
<KarenTheDorf>
I don't have a job, by that logic I should spend more time on linux graphics stuff :D
<bl4ckb0ne>
oh it's in your status update
Brainium has joined #wayland
vyivel has quit [Ping timeout: 480 seconds]
clando has joined #wayland
mvlad has quit [Remote host closed the connection]
lsd|2 has joined #wayland
clando has quit [Quit: WeeChat 3.8]
<zamundaaa[m]>
mclasen: Weston implementing the parametric bits is planned afaik. Depending on how things go with parametric-only in practice, *maybe* we'll implement the icc stuff at some point too
rv1sr has quit []
<mclasen>
using such "everything is an option" protocols isn't very fun.
<emersion>
for your purposes you can probably ignore the ICC stuff and require the parametric stuff, mclasen
<emersion>
ICC stuff is for e.g. Krita
<zamundaaa[m]>
Yeah. Any practical implementation of the ICC stuff can also do parametric
<mclasen>
not really, and the parametric implementation in kwin is a bit too limited too
<zamundaaa[m]>
What are you missing? Except the rendering intents we don't support yet of course
<zamundaaa[m]>
...which I should really add, it's pretty much trivial to do
<mclasen>
why not support linear as a tf ?
<zamundaaa[m]>
Because it wasn't necessary for anything so far, and KWin's internal "linear" means something else than the protocol does
vyivel has joined #wayland
<mclasen>
the beauty of 'everything optional' protocols :)
<zamundaaa[m]>
Once I put in the luminance stuff from Sebastian though, I can add that confusion free too
<zamundaaa[m]>
mclasen: you can just require the features you need and bail out otherwise. Doesn't help you at this phase for testing ofc :)