/srv/irclogs.ubuntu.com/2023/06/22/#ubuntu-desktop.txt

seb128goood morning desktopers!08:06
nteodosiohey seb128, good morning!08:15
seb128nteodosio, hey Nathan, how are you doing?08:15
nteodosioI'm fine seb128, how about you?08:16
seb128nteodosio, I'm alright thanks!08:17
KGB-0rhythmbox tags 6dd75fb Sebastien Bacher ubuntu/3.4.7-1ubuntu1 * https://deb.li/3z8Dj11:35
KGB-0rhythmbox ubuntu/master 6dd75fb Sebastien Bacher * pushed 12 commits (first 5 follow) * https://deb.li/33J4411:35
KGB-0rhythmbox ubuntu/master 6082435 Simon McVittie debian/ control control.in * d/control.in: Drop compatibility with old libgdk-pixbuf2.0-dev package * https://deb.li/iOuzD11:35
KGB-0rhythmbox ubuntu/master e153d25 Laurent Bigonville debian/rules * debian/rules: Fix -Dgudev=disabled flag for no-linux arches * https://deb.li/MNFv11:35
KGB-0rhythmbox ubuntu/master 6488288 Jeremy Bicha (107 files in 28 dirs) * Update upstream source from tag 'upstream/3.4.7' * https://deb.li/UDTF11:35
KGB-0rhythmbox ubuntu/master db38281 Jeremy Bicha debian/changelog * New upstream release * https://deb.li/378P111:35
KGB-0rhythmbox ubuntu/master f8d1657 Jeremy Bicha debian/ control control.in * Build with libsoup3 * https://deb.li/mJOd11:35
lissyxso11:45
lissyxffmpeg decoder broken in snap? https://bugzilla.mozilla.org/show_bug.cgi?id=183985211:45
-ubottu:#ubuntu-desktop- Mozilla bug 1839852 in Core "Snap package fails to find audio decoder for mp4a with media.allow-audio-non-utility = false" [--, New]11:45
seb128lissyx, is that issue specific to nighly?12:08
lissyxno12:08
lissyxif I'm right on the cause it might affect all branches12:08
lissyxPR_LoadLibraryWithFlags is failing from Utility process12:09
lissyxour sandbox is blocking the access to libavcodec.so.5812:09
seb128what is that media.allow-audio-non-utility flag doing?12:09
seb128'our' as upstream or snap?12:09
lissyxit's blocking the ability to perform any audio decoding outside of the utility process12:09
lissyx"our" as in "mozilla"12:09
lissyxseb128, i've been fighting over telemetry for weeks to try and identify why some people are not doing audio decoding on utility process but on content process12:11
lissyxseb128, since at some point we were not be able to find actionable items, I decided to land this change where we completely block in the hope for bug reports.12:11
seb128I'm not familiar enough with firefox to tell what's the difference between playing from content or utility12:12
lissyxwe want to reduce the attack surface on content process12:13
lissyxthat's why we introduced RDD (and then Utility) so those codecs runs in a different, more sandboxed, process12:13
seb128I turned on that setting, installed h264ify and tried to play a youtube random video and it works including sound12:14
lissyxwhich version?12:14
seb128114.0.2-112:14
lissyxit landed on nightly like one / two days ago :p12:15
seb128you just said it was not specific to nightly?12:15
lissyxif you profile your playback, you should see that audio decoding is done on rdd (or worst on content)12:15
lissyxthe underlying problem is not specific to nightly12:16
lissyxwe just surfaced it on nightly12:16
seb128but I can only reproduce the error if I try nightly?12:16
lissyxyes12:16
lissyxbut it might be somethign we want to uplift to beta for example12:16
seb128ah ok, that's what I was asking 5 min when I asked if that was specific to nightly12:16
lissyxok12:17
seb128sorry if the question was unclear12:17
lissyxissue == "audio decoding on the wrong process" in my mind12:17
seb128let me try with nightly 12:17
lissyxnp12:17
lissyx'been focused on that for months now so ...12:17
seb128how do I ask firefox where it's doing the decoding?12:17
lissyxyou dont12:17
lissyxabout:processes or profiler are your best friends for that12:17
lissyxor you need MOZ_LOG debugging12:18
seb128trying at least made me notice those warnings on the core22 snap12:19
seb128libva info: Trying to open /snap/firefox/2801/gnome-platform/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so12:19
seb128libva error: /snap/firefox/2801/gnome-platform/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so has no function __vaDriverInit_1_012:19
seb128libva info: va_openDriver() returns -112:19
seb128libva info: Trying to open /snap/firefox/2801/gnome-platform/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so12:19
seb128libva info: Found init function __vaDriverInit_1_1012:19
seb128libva error: /snap/firefox/2801/gnome-platform/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed12:19
seb128libva info: va_openDriver() returns -112:19
seb128on core20 it is12:20
seb128libva info: Trying to open /snap/firefox/2800/gnome-platform/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so12:20
seb128libva info: Found init function __vaDriverInit_1_712:20
seb128libva info: va_openDriver() returns 012:20
seb128so might be another thing buggy in the core22 build12:20
lissyx:[12:22
lissyxseb128, which process?12:23
seb128that's the output of 'firefox'12:24
seb128and I can confirm that the edge channel snap with that setting fails to find an audio decoder12:24
lissyxit's working as intended12:25
lissyxthat's perfect12:25
seb128:)12:25
seb128since it sounds like you are saying that it's an upstream sandbox problem and not a snap one I will let you deal with it :)12:26
lissyxlooks like I'm unable to rebuild nightly locally though :(12:29
seb128so yes I can confirm that gpu rendering isn't working on core22 :-/12:31
seb128intel_gpu_top shows Video at 0% where it has activity on core2012:32
lissyxseb128, please file a bug i guess?12:33
seb128lissyx, yes12:33
lissyxtry with MOZ_DISABLE_GPU_SANDBOX=112:33
lissyxseb128, you can also run with MOZ_SANDBOX_LOGGING=112:35
seb128doesn't make a difference, but that's not surprising from the log12:36
seb128iHD_drv_video.so has no function __vaDriverInit_1_012:36
seb128sounds like a mismatch in version between libva and the driver from the sdk12:36
lissyx https://bugzilla.mozilla.org/show_bug.cgi?id=1760941 ?12:37
-ubottu:#ubuntu-desktop- Mozilla bug 1760941 in Firefox Build System "VAAPI: Update Snap to core22 to have an intel-media-driver version that supports Iris Xe" [S4, New]12:37
seb128lissyx, right, that sdk update/fix broke it12:49
seb128firefox bundles its own libva copy and doesn't use the sdk one and that's too old now for the updated driver12:50
seb128I will try to repack firefox without libva see if that resolves it12:50
seb128I downgraded the sdk to an older revision and gpu rendering is working12:50
lissyxis SNAPCRAFT_BUILD_ENVIRONMENT_CPU still a thing with core22 / snapcraft 7.x ?12:50
lissyxbecause it only uses two CPUs here.12:51
lissyxhttps://github.com/canonical/craft-providers/issues/21212:52
-ubottu:#ubuntu-desktop- Issue 212 in canonical/craft-providers "Incorrectly handling SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT" [Open]12:52
seb128yet another reason to use lxc...12:56
lissyxwell i'm using lxc12:56
seb128so that's not the bug mentioned in there with multipass12:56
seb128afaik that option should still be working...12:56
lissyxok weird it's working again13:04
lissyxwe're lucky, given the telemetry of users of snap with h264ify13:05
seb128lissyx, another question about the debug symbol thing, rebuilds on the same version string will keep being an issue going forward with the current system? if so could you make the system add the build timestamp to the index so differenciate builds even if they use the same version?14:25
seb128lissyx, I just pushed a fix for libva on core22 which is going to trigger a snap rebuild but now I wonder if that means that rebuild isn't going to get its debug symbols imported?14:26
lissyxI already tried to use revision id but there were problem unfortunately (I dont remember which one)14:26
seb128the revision is a store thing so if it's still uploading or failed to upload it might be missing14:35
seb128but the buildpage has some uniq identifier14:36
seb128like vcs revision14:36
seb128bbiab14:49
lissyxseb128, as much as I remember, the last time we evaluated the situation, the situations where you rebuild a package without a version bump was rare enough we said it's not a big deal15:18
seb128lissyx, ok, that might still be the case. We will have rebuilds when we do packaging fixes or tweaks like here which is not uncommon, but in 'normal business' times most builds are just version updates still15:21

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!