ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
epoch101 has joined #dri-devel
agd5f has quit [Remote host closed the connection]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #dri-devel
u-amarsh04 has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
The_Company has joined #dri-devel
Daanct12 has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
davispuh has quit [Ping timeout: 480 seconds]
epoch101 has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
epoch101 has quit []
epoch101 has joined #dri-devel
glennk has joined #dri-devel
luc6462749001 has quit []
luc6462749001 has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
clamor has joined #dri-devel
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
Duke`` has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
bolson has quit [Ping timeout: 480 seconds]
sa7mfo has joined #dri-devel
clamor has quit [Read error: Connection reset by peer]
YuGiOhJCJ has joined #dri-devel
clamor has joined #dri-devel
The_Company has quit []
Company has joined #dri-devel
Net147 has quit [Quit: Quit]
Net147 has joined #dri-devel
jsa1 has joined #dri-devel
coldfeet has joined #dri-devel
jsa2 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
amarsh04 has joined #dri-devel
luc6462749001 has quit []
jsa1 has joined #dri-devel
jsa2 has quit [Ping timeout: 480 seconds]
jsa1 has quit [Ping timeout: 480 seconds]
jsa1 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
jsa1 has joined #dri-devel
coldfeet has quit [Ping timeout: 480 seconds]
jsa1 has quit [Ping timeout: 480 seconds]
fomys has quit [Remote host closed the connection]
fomys has joined #dri-devel
jsa2 has joined #dri-devel
haaninjo has joined #dri-devel
rasterman has joined #dri-devel
jsa1 has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
jsa2 has quit [Ping timeout: 480 seconds]
kode54 has quit [Quit: WeeChat 4.7.1]
kode54 has joined #dri-devel
clamor has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest27768
dsimic has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.7.1]
Guest27768 has quit [Ping timeout: 480 seconds]
clamor has joined #dri-devel
amarsh04 has quit []
u-amarsh04 has joined #dri-devel
caitcatd- has joined #dri-devel
chiku has joined #dri-devel
caitcatd| has quit [Ping timeout: 480 seconds]
Sid127 has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
warpme has quit []
jsa2 has joined #dri-devel
kts has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
jsa1 has joined #dri-devel
jsa2 has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
clamor has quit [Ping timeout: 480 seconds]
clamor has joined #dri-devel
davispuh has joined #dri-devel
YuGiOhJCJ has quit []
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #dri-devel
bonzini has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos__ has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
kts has joined #dri-devel
Spino has joined #dri-devel
nashpa has joined #dri-devel
dliviu has quit [Ping timeout: 480 seconds]
<Venemo> jadahl: it looks like gnome-shell uses an excessive amount of VRAM. is this a known bug, or should I open a new issue about it?
<Venemo> jadahl: around 700 MB, which is pretty significant on older GPUs that don't have a ton of VRAM
jsa1 has quit [Ping timeout: 480 seconds]
<emersion> do you have a lot of non-GPU-accelerated clients running?
<emersion> the compositor is responsible for uploading buffers to the GPU for these clients
jsa1 has joined #dri-devel
<Venemo> emersion: it doesn't matter, it's the same even with nothing else running other than the desktop
<emersion> 700 MB doesn't seem *too* crazy. as a reference, sway (a minmal compositor) uses 250MB with a few shm clients
<emersion> mutter probably needs to keep more buffers around for all of the fancy effects, views and widgets
<Venemo> the issue is that it uses up 30-50% of all available VRAM on older GPUs, not leaving much for games
<emersion> (the shell runs in the same process)
<Venemo> at the moment I don't know if mutter alone is to blame or if it's due to missing modifiers support and/or poor choice of tiling formats in Mesa
<emersion> if mutter uses triple buffering, that would also increase VRAM usage
<Venemo> well, I'd like to understand what's happening and see if there is something we can do about it
haaninjo has quit [Ping timeout: 480 seconds]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
MrCooper has quit [Remote host closed the connection]
Spino has quit [Remote host closed the connection]
kts has quit [Quit: Leaving]
kts has joined #dri-devel
bonzini has quit [Ping timeout: 480 seconds]
oeuaoeuoeu[m] has joined #dri-devel
immibis has joined #dri-devel
anholt has quit [Ping timeout: 480 seconds]
haaninjo has joined #dri-devel
sima has joined #dri-devel
<karolherbst> Venemo: maybe it's mostly gtk4 using accelerated UI for everything and creating a lot of GL or Vk contexts is also allocating a lot of VRAAM?
<karolherbst> "nvtop" might be able to tell as well
<Venemo> karolherbst: I had thought that gnome-shell doesn't use gtk4
<Venemo> or gtk at all
<karolherbst> well other apps part of gnome might
<karolherbst> like gnome-software running in the background also uses VRAM
<karolherbst> anyway, nvtop might help
<Venemo> but there are no apps in the background, just the shell
<Venemo> if there were umr would tell me
haaninjo has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
oneforall2 has quit [Quit: Leaving]
oneforall2 has joined #dri-devel
jsa2 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
<emersion> the shell doesn't use gtk
testaccount has joined #dri-devel
nchery has quit [Remote host closed the connection]
nchery has joined #dri-devel
testaccount has quit []
haaninjo has joined #dri-devel
iive has joined #dri-devel
JTL2 has quit []
JTL has joined #dri-devel
kts has quit [Quit: Leaving]
lassebq has joined #dri-devel
lassebq has quit [Quit: lassebq]
lassebq has joined #dri-devel
clamor has quit [Ping timeout: 480 seconds]
clamor has joined #dri-devel
anholt has joined #dri-devel
jsa2 has quit [Ping timeout: 480 seconds]
<jadahl> Venemo: there should be one gl texture per shm client, and 2 to 4 fullscreen textures for each screen, and things like text glyph cache, some cached flattened widgets etc, but shouldn't be much more than that I think
<jadahl> not sure what vram measurements tools there are to debug things
anholt has quit [Ping timeout: 480 seconds]
<jadahl> unfortunately here intel_gpu_top says gnome-shell uses 0 in memory
<zmike> nvtop?
anholt has joined #dri-devel
<jadahl> that one does show indeed show almost 700
<jadahl> seems it shows memory owned by clients too though, not sure
<jadahl> opening some windows (vulkan client) makes the memory increase, then closing them makes it go down.
<jadahl> we don't create any additional textures for client windows
<jadahl> unless its shm clients
coldfeet has joined #dri-devel
lassebq has quit [Quit: lassebq]
lassebq has joined #dri-devel
jsa1 has joined #dri-devel
lassebq has quit [Quit: lassebq]
clamor has quit [Read error: Connection reset by peer]
lassebq_ has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
jsa1 has joined #dri-devel
lassebq_ is now known as lassebq
haaninjo has quit [Ping timeout: 480 seconds]
anholt has quit [Ping timeout: 480 seconds]
sa7mfo has quit [Ping timeout: 480 seconds]
jsa2 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
lassebq_ has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
lassebq is now known as Guest27807
lassebq_ is now known as lassebq
Guest27807 has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
<Venemo> jadahl: interesting. I used umr for that on an amd gpu. there is an option to dig up more info on it if you're interested
<emersion> i'd ne interested in learning how to dig into this too
sima has quit [Ping timeout: 480 seconds]
<Venemo> launch the compositor with the AMD_DEBUG=extra_md / RADV_DEBUG=extra_md environment variable (the former for radeonsi, the latter for radv). then you're going to need the latest version of umr from git: https://gitlab.freedesktop.org/tomstdenis/umr because it got some recent bug fixes for parsing the info from the kernel. launch it with sudo umr --gui -> then on the GUI click on the tab corresponding to your GPU, click memory use and there is
<Venemo> going to be a tree map with info on each BO
<emersion> nice, will try when I'm back from XDC
<Venemo> we can take a look at it together at XDC
<emersion> tgat would be great! unfortunately except my laptop is not
<emersion> amd
<Venemo> well, then I can show it to you on my laptop
<emersion> ... early enter, sorry
<emersion> yeah, sounds like that would be useful :)
<Venemo> I haven't digged into it more than just looking at the overall vram amount used. it seems to depend on the screen resolution as well. when only a single display is plugged in and set to 1080p the default use goes down to around 300 MiB
<jadahl> Venemo: unfortunately I don't have any amd hw
<Venemo> jadahl: are you coming to XDC?
<jadahl> no :/
feaneron has joined #dri-devel
<Venemo> ah. I would have offered to just give you a gpu
<emersion> lol
<jadahl> heh, well, too bad :/
Duke`` has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
jsa2 has quit [Ping timeout: 480 seconds]
<Ermine> have fun at XDC!
jsa1 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
JLP has quit [Ping timeout: 480 seconds]
iive has quit [Quit: They came for me...]