ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
lemonzest has quit [Quit: WeeChat 3.4]
mclasen has quit []
rasterman has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
OveRSeeR has joined #dri-devel
mhenning has quit []
off^ has joined #dri-devel
Wally has joined #dri-devel
<Wally> When modifying and compiling mesa I got some errors that are usually warnings followed by
<Wally> cc1: some warnings being treated as errors ninja: build stopped: subcommand failed.
<Wally> is this expected behavior?
<Wally> I can fix the warnings
camus has quit [Ping timeout: 480 seconds]
<imirkin> i believe we enabled -Werror of late
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
<orbea> enabled -Werror by default in the build?
<imirkin> i think yes
<orbea> sounds bad
<imirkin> ah no. just a bunch of -Werror=foo's
<orbea> ah
<orbea> that sounds better, adding blanket -Werror has a way of blowing up with new compiler versions
<Wally> imirkin: k
DPA has quit [Remote host closed the connection]
DPA has joined #dri-devel
OveRSeeR has quit []
camus has joined #dri-devel
oneforall2 has quit [Remote host closed the connection]
leandrohrb has quit []
dwlsalmeida has quit [Quit: Ping timeout (120 seconds)]
dwlsalmeida has joined #dri-devel
leandrohrb has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
oneforall2 has joined #dri-devel
Wally has quit [Remote host closed the connection]
cworth has quit [Ping timeout: 480 seconds]
cworth has joined #dri-devel
kts has joined #dri-devel
urja has quit [Remote host closed the connection]
urja has joined #dri-devel
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
camus1 has joined #dri-devel
RAOFhehis[m] has quit []
RAOFhehis[m] has joined #dri-devel
camus has quit [Read error: Connection reset by peer]
oneforall2 has quit [Remote host closed the connection]
Danct12 has quit [Quit: Quitting]
Danct12 has joined #dri-devel
oneforall2 has joined #dri-devel
RAOFhehis[m] has quit []
shankaru has joined #dri-devel
RAOF has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
ppascher has quit [Remote host closed the connection]
kts has joined #dri-devel
heat_ has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
anholt has quit [Remote host closed the connection]
anholt has joined #dri-devel
itoral has joined #dri-devel
danvet has joined #dri-devel
DPA has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
Company has quit [Read error: Connection reset by peer]
Duke`` has quit [Ping timeout: 480 seconds]
mlankhorst has joined #dri-devel
cafuffu has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
thellstrom has joined #dri-devel
DPA has joined #dri-devel
mvlad has joined #dri-devel
aravind has joined #dri-devel
frieder has joined #dri-devel
ella-0 has joined #dri-devel
tursulin has joined #dri-devel
ahajda_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
lemonzest has joined #dri-devel
frieder has quit [Read error: Connection reset by peer]
frieder has joined #dri-devel
pnowack has joined #dri-devel
rgallaispou has joined #dri-devel
bl4ckb0ne_ has joined #dri-devel
ifreund_ has joined #dri-devel
ifreund has quit [Read error: Connection reset by peer]
ifreund_ is now known as ifreund
bl4ckb0ne has quit [Ping timeout: 480 seconds]
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
pcercuei has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
lemonzest has quit [Remote host closed the connection]
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
MajorBiscuit has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
kts has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [Read error: Connection reset by peer]
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
lemonzest has joined #dri-devel
rasterman has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
JohnnyonFlame has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
pcercuei_ has joined #dri-devel
pcercuei has quit [Read error: Connection reset by peer]
rgallaispou has quit [Ping timeout: 480 seconds]
devilhorns has joined #dri-devel
ppascher has joined #dri-devel
rasterman- has joined #dri-devel
rasterman has quit [Ping timeout: 480 seconds]
ahajda_ has quit []
rgallaispou has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
sarnex has quit [Read error: Connection reset by peer]
pendingchaos_ is now known as pendingchaos
kts has joined #dri-devel
ahajda_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
kts has quit []
kts has joined #dri-devel
kts has quit []
sarnex has joined #dri-devel
itoral has quit []
whald has joined #dri-devel
kts has joined #dri-devel
<whald> hi! i suspect a bug in surface_from_prime_2 in gallium/frontends/va/surface.c : compared to the similar surface_from_external_memory function in the same file, isn't the prime_2 variant missing the width/height updates ("util_format_get_plane_{width,height}" calls) in the loop? i get my attempts to import NV12 surfaces rejected and patching that seems to help.
zzoon has joined #dri-devel
zzoon is now known as zzoon[m]
frieder has quit [Ping timeout: 480 seconds]
zzoon[m] has quit [Quit: Leaving]
zzoon_holidays_till_2nd_Feb[m] has left #dri-devel [#dri-devel]
zzoon has joined #dri-devel
zzoon_holidays_till_2nd_Feb[m] has joined #dri-devel
bl4ckb0ne_ has left #dri-devel [#dri-devel]
bl4ckb0ne has joined #dri-devel
zzoon_holidays_till_2nd_Feb[m] has left #dri-devel [#dri-devel]
Company has joined #dri-devel
zzoon_holidays_till_2nd_Feb[m] has joined #dri-devel
mszyprow has joined #dri-devel
zzoon_holidays_till_2nd_Feb[m] has left #dri-devel [#dri-devel]
zzoon_holidays_till_2nd_Feb[m] has joined #dri-devel
pnowack has quit [Quit: pnowack]
mclasen has joined #dri-devel
zzoon is now known as zzoon[m]
zzoon[m] is now known as zzoon
kts_ has joined #dri-devel
kts_ has quit []
Haaninjo has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
shankaru has quit [Quit: Leaving.]
zzoon has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
sdutt has joined #dri-devel
sdutt has quit []
sdutt has joined #dri-devel
iive has joined #dri-devel
JoniSt has joined #dri-devel
ifreund has quit [Remote host closed the connection]
ifreund has joined #dri-devel
macromorgan is now known as Guest50
Guest50 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
kts has joined #dri-devel
bl4ckb0ne has quit [Remote host closed the connection]
emersion has quit [Remote host closed the connection]
mbrost has joined #dri-devel
heat has joined #dri-devel
macromorgan is now known as Guest53
Guest53 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
Duke`` has joined #dri-devel
bl4ckb0ne has joined #dri-devel
bl4ckb0ne has quit [Remote host closed the connection]
emersion has joined #dri-devel
pnowack has joined #dri-devel
bl4ckb0ne has joined #dri-devel
ifreund has quit [Remote host closed the connection]
ifreund has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
jewins has joined #dri-devel
thellstrom has quit [Read error: Connection reset by peer]
Duke`` has quit [Ping timeout: 480 seconds]
thellstrom has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
Duke`` has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
macromorgan is now known as Guest61
macromorgan has joined #dri-devel
Guest61 has quit [Read error: Connection reset by peer]
macromorgan is now known as Guest64
macromorgan has joined #dri-devel
Guest64 has quit [Read error: Connection reset by peer]
thellstrom has quit [Quit: thellstrom]
macromorgan is now known as Guest66
Guest66 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
nashpa has joined #dri-devel
dliviu has quit [Ping timeout: 480 seconds]
devilhorns has quit []
gouchi has joined #dri-devel
mszyprow has quit [Ping timeout: 480 seconds]
cworth has quit [Ping timeout: 480 seconds]
qyliss has quit [Quit: bye]
qyliss has joined #dri-devel
<linkmauve> I have an Intel card and an AMD card, and seemingly a modifier issue while running a game on the latter and compositing on the former: https://linkmauve.fr/files/wayland-screenshot-2022-02-21_20-20-34.png
<linkmauve> Using Weston as my compositor.
<linkmauve> Did something change recently wrt modifiers, probably in amdgpu?
<linkmauve> This setup used to work before.
<linkmauve> I had the same issue in waypipe actually, but thought it was a waypipe bug for quite some time. :s
<Ristovski> linkmauve: Perhaps share both GPU models. Is the intel card using i965 or crocus drivers?
<linkmauve> iris, this is an UHD620, and the amdgpu one is an R7-270X.
<linkmauve> I wanted to finally get to the bottom of #4938.
JohnnyonFlame has quit [Read error: Connection reset by peer]
<linkmauve> Looking at drm_info, it seems none of the planes on AMD support modifiers for now.
<linkmauve> If I plug the screen into the AMD, the game renders fine.
<linkmauve> Haha, but now the sound will not go through HDMI.
<linkmauve> Oh, I had that in dmesg, when the game was rendering on one and displaying on the other:
<linkmauve> [ 1830.998094] i915 0000:00:02.0: cannot be used for peer-to-peer DMA as the client and provider (0000:02:00.0) do not share an upstream bridge or whitelisted host bridge
The_Company has joined #dri-devel
<Ristovski> Huh, that's a weird one
Company has quit [Ping timeout: 480 seconds]
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
cafuffu has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Quit: WeeChat 3.4]
<linkmauve> At least, I can’t reproduce #4938 any more.
<linkmauve> Thanks to whoever fixed it. :)
ahajda_ has quit []
cafuffu has joined #dri-devel
pnowack has quit [Quit: pnowack]
macromorgan is now known as Guest75
Guest75 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
macromorgan is now known as Guest76
Guest76 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
<linkmauve> pavucontrol lists all of the HDMI outputs of the AMD card as (unplugged) (unavailable), could that be a reason I can’t send any sound through it?
qyliss has quit [Quit: bye]
<linkmauve> Here is my aplay -L: https://linkmauve.fr/files/aplay-L.txt
<linkmauve> I tried them all with aplay as well as pavucontrol, but couldn’t output any sound whatsoever.
<imirkin> at some point, on some driver, there was an enable to make hdmi audio work
<imirkin> i forget if it was on radeon or amdgpu
<imirkin> and i also forget if it's still a thing
<imirkin> modinfo should be informative though
<linkmauve> parm: audio:Audio enable (-1 = auto, 0 = disable, 1 = enable) (int)
qyliss has joined #dri-devel
<imirkin> hopefully "auto" means "enable"? dunno
<imirkin> (for CIK+ at least, which iirc was the target for amdgpu)
<linkmauve> I’ll try to set it to 1 and see if it fixes anything.
<linkmauve> Or better, to 0 and see if it changes the outputs reported by aplay.
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
co1umbarius has joined #dri-devel
zf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<linkmauve> Interesting, my user must be logged in if I want to see the cards in aplay -L.
columbarius has quit [Ping timeout: 480 seconds]
<linkmauve> Logged in at a TTY.
<imirkin> yay systemd
<imirkin> (and multi-seat)
<linkmauve> Ok, so whether amdgpu.audio is 0 or 1, I always have these HDMI audio outputs…
<imirkin> but do they work?
<imirkin> in any of the cases
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
<linkmauve> No, I’m testing with amdgpu.audio=1 and I still get no sound output at all.
<imirkin> ok. so it's probably just the default. and doesn't work :)
<linkmauve> No matter which device I use, and they are still all flagged as (unplugged) (unavailable) in pavucontrol.
<linkmauve> Sounds likely.
<imirkin> you can dig into it slightly in the alsa info
<imirkin> i forget the details by now
<linkmauve> imirkin, all six of those report these two values:
<linkmauve> eld_valid 0
<linkmauve> monitor_present 0
<imirkin> that's probably not going to be conducive to having working audio
<imirkin> (make sure you check the appropriate card)
<imirkin> no eld = no hdmi/dp audio, ime
<linkmauve> Hmm…
<linkmauve> (I am.)
<imirkin> there's an audio subfunction on the gpu, and the eld has something to do with proper configuration of the audio codec thing
<imirkin> i never quite understood the precise connection
<linkmauve> I know exactly nothing in the ALSA area. :)
<imirkin> no eld = no good :)
CME_ is now known as CME
<linkmauve> When I plug the HDMI card back into the Intel card, I do get a correct eld.
<linkmauve> I also have a sad_count, I’m indeed sad about missing audio.
<imirkin> count that sad...
<imirkin> linux + graphics = sad
<linkmauve> linux + graphics + audio = sad++
CME has quit [Quit: ZNC - http://znc.sourceforge.net]
<imirkin> moral of the story: use onboard audio
CME has joined #dri-devel
mvlad has quit [Remote host closed the connection]
<linkmauve> That one works, but it doesn’t support modifiers produced on the AMD so the output is all garbled.
<imirkin> do you want audio? or you want video? pick one
<linkmauve> Exactly my situation. :D
<imirkin> sad_count = 10000
<linkmauve> Or I could remove the AMD card and exclusively use the Intel one, after all it won’t be worse than my laptop’s with probably much better thermals. ^^
<imirkin> (i forget what sad is ... simultaneous audio devices? something weird like that)
<imirkin> (iirc it's the channel acount)
<imirkin> Short Audio Descriptors
<imirkin> right. number of different configs.
<linkmauve> Makes sense.
lemonzest has quit [Quit: WeeChat 3.4]
pnowack has joined #dri-devel
mszyprow has joined #dri-devel
cworth has joined #dri-devel
rasterman- has quit []
Daanct12 has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [singleton.oftc.net coherence.oftc.net]
Danct12 has quit [singleton.oftc.net coherence.oftc.net]
JohnnyonFlame has joined #dri-devel
ella-0_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
<agd5f> linkmauve, AMD hardware doesn't use the ELDs. Our hardware pre-dates ELDs. The audio and display driver have a direct link. When the display hardware gets the display info the information is reflected in AMD specific verbs in the audio hardware.
<agd5f> linkmauve, you'll need to use amdgpu.dc=1 for audio to work on older asics like SI or CIK
<agd5f> DC is the default on newer asics
<agd5f> or use radeon
mbrost has joined #dri-devel
<linkmauve> Oh, I see, thanks!
<linkmauve> I had to use amdgpu in order to get Vulkan there.
<linkmauve> By default it was loading radeon instead.
ella-0 has quit [Read error: Connection reset by peer]
<imirkin> ah, i had the cutoff wrong. i thought dc was default for CIK+
<imirkin> not that i know which gen R7-270X is
<linkmauve> agd5f, any idea about detiling not being done while accessing the dmabuf from an Intel card? I have a branch of waypipe doing the detiling in software, and wanted to redo it in compute to avoid the copy cost, but never got around to finish it…
macromorgan has quit [Remote host closed the connection]
macromorgan has joined #dri-devel
mszyprow has quit [Ping timeout: 480 seconds]
<agd5f> linkmauve, not sure I understand the question. Should just work. exported buffers should be linear
<agd5f> if you want to export tiled buffers you need to deal with modifiers
<agd5f> there is no modifier support for pre-Vega hardware at the moment
<agd5f> looks like the other driver in interpreting the pitch wrong
<imirkin> linkmauve: which screen is displaying? intel or amd?
<agd5f> probably some disagreement on the pitch alignment
<linkmauve> Oh, but if there is no modifier support, how does the producing software determine whether to use a linear or a tiled buffer?
<imirkin> there was some disagreement on min alignment between intel and the rest of the world
<imirkin> intel wanted 64, rest of the world wants 256
<linkmauve> imirkin, in this screenshot, Intel is doing the composition, from an AMD dmabuf, into an Intel framebuffer.
<agd5f> linkmauve, modifiers don't handle alignment requirements unfortunately
<imirkin> but this looks like more than just pitch
<linkmauve> agd5f, would pitch do that? I would expect very different artifacts from a wrong pitch.
<imirkin> since you have blockiness at various intervals
<imirkin> whereas wrong pitch would normally be just a diagonal artifact
<linkmauve> To me this looks like a correct pitch, but 8×8 tiles being displayed as if they were linear.
gouchi has quit [Remote host closed the connection]
<agd5f> what does the original image look like?
Duke`` has quit [Ping timeout: 480 seconds]
<linkmauve> And it is animated, and I can very well recognise some of the features that way.
<imirkin> almost the same :)
<linkmauve> Almost. ^^
<imirkin> looks like it's pulling bogus data from somewhere
<imirkin> whole lines of white
<imirkin> i guess you said that middle thing is white though? so maybe it's from that
mszyprow has joined #dri-devel
<linkmauve> Yeah.
<agd5f> I don't think we ever export tiled buffers in mesa. Could also be base address alignment differences
<linkmauve> The only apparently-bogus part to me is the bottom, which looks like uninitialised memory.
macromorgan is now known as Guest88
Guest88 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
cafuffu has quit [Ping timeout: 480 seconds]
mszyprow has quit [Ping timeout: 480 seconds]
mlankhorst has quit [Ping timeout: 480 seconds]
pnowack has quit [Quit: pnowack]
mbrost has quit [Ping timeout: 480 seconds]
maxzor has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel