/srv/irclogs.ubuntu.com/2022/01/28/#ubuntu-desktop.txt

pieqMorning 'sktoppers!00:33
pieqduflu: hey! Yesterday I spotted something fishy with the latest Jammy daily build on a Intel+Nvidia GPU laptop: the nvidia drivers don't seem to be activated even after selected "3rd party drivers", and after activating them, the GNOME session used is X11. If selecting Wayland, the nvidia GPU is not available when starting programs and nvidia-settings become almost empty.01:49
pieqduflu: do you know against what package I should file an `ubuntu-bug`?01:49
pieqP.S. it's a device certified with 20.04... 😱01:50
duflupieq, not sure. It depends whether we tried to install the Nvidia driver or not01:52
duflupieq, gnome-shell doesn't actually use secondary GPUs. So how are you judging not activated?01:54
pieqduflu: in the "About" panel in GNOME Settings, if I'm using X11 session, I can see both Nvidia and Intel GPUs mentioned in the "Graphics" section. If I'm using Wayland, only Intel GPU shows up.02:07
sarnoldpieq: there might be something mentioned on https://bugs.launchpad.net/ubuntu/+source/egl-wayland/+bug/1935082 that might help explain the nvidia / wayland thing02:08
ubottuLaunchpad bug 1935082 in nvidia-graphics-drivers-495 (Ubuntu) "[MIR] egl-wayland" [Medium, In Progress]02:08
pieqduflu: during install, I opened a terminal to check the install logs, and I can see a bunch of nvidia-* packages being downloaded, so I assume 3rd party driver checkbox did something. However, after install, when I go to "Additional drivers", I see that the driver being used is nouveau02:08
pieqThis laptop is using a Quadro nvidia GPU, which apparently is not compatible with nvidia-470, so I have to manually select nvidia-495. After doing so and rebooting in an X11 session, I can launch nvidia settings and see all the expected info02:09
duflupieq, ignoring the Settings app, it sounds like the only problem is the missing right-click menu option for launching on the secondary GPU in your Wayland session?02:10
duflupieq, although yeah 'nouveau' being active is a big problem. Please open a generic Ubuntu bug and include output from 'lspci -k'02:12
pieqduflu: so `ubuntu-bug ubuntu`?02:17
pieqI'm downloading the very last daily build just to make sure, and will file the bug afterwards.02:17
duflupieq, actually we want some graphics info so it might be fastest to start with 'ubuntu-bug gnome-shell'02:18
dufluor xorg02:18
pieqgot it02:29
pieqduflu: I guess activating WiFi during install will have an impact on the result. Should I activate it or not?02:42
duflupieq, while I don't myself, we do want a bug report only from the latest packages02:43
dufluBut if you get different results with or without wifi then that's important too02:43
pieqduflu: ok, I'll start by activating it and see what happens, and then I might try again without, just for the sake of it.02:44
pieqduflu: by the way, do you know exactly what packages are installedwhen users tick the "Install third-party software for graphics and Wi-Fi hardware and additional media formats"?02:45
pieqMy guess is that it installs nvidia proprietary drivers if needed, WiFi proprieratry drivers, and also non-free codecs02:46
pieqbut depending on who I ask, I get different answers :D02:46
duflupieq, your guess is what I believe02:47
dufluIn the distant past I've had trouble on Nvidia-only machines, or machines with Broadcom wifi that really need it. But it's also needed to get VAAPI acceleration out of the box02:48
pieqWhen I recommend devices to friends and family, I tend to avoid nvidia completely (either by using Intel-only GPUs for lighter loads, or AMD GPUs if needed), but I also know a lot of gamers and 3D artists as well as data scientists rely heavily on it (be it for specs or CUDA features).02:53
duflupieq, to be fair, I don't see bug reports from the Nvidia proprietary driver. But I do see a lot from 'amdgpu', which is open source and included in the kernel03:00
dufluAlthough I am not subscribed to the Nvidia packages either03:00
pieqduflu: from my experience working in Devices QA, I can tell you the integration of nvidia proprietary blobs is painful03:12
pieqduflu: ok so the latest daily (20220126) seems to fix a bunch of stuff. nvidia-470 are installed and in use, nvidia-settings is working (and the PRIME profile selected is "On Demand", which is what we like as a default)03:12
pieqhowever: (1) I don't see the right click option to start with the discrete GPU, and (2), it defaults to X11 session. Let me try logging in Wayland session...03:13
dufluDefaulting to Xorg also indicates the Nvidia driver is in use03:15
pieqoh! I thought Wayland worked with nvidia drivers now...03:23
pieqduflu: so defaulting to xorg is the actual expected behavior when running with proprietary nvidia drivers?03:24
duflupieq, it's an indicator that Nvidia is installed. And it's probably sane because Nvidia's Wayland support is still relatively new. Even recently they rewrote it... I should check to see if we have that new path enabled in mutter 41. In fact that might be relevant here03:25
pieqduflu: so should I still check stuff out on Wayland?03:28
pieqside question regarding Wayland: in the past, I noticed Firefox required specific tricks to run as a Wayland native app instead of an XWayland app. Fedore had patched their launcher to include this. Do you know if there has been any improvement on that front to get some kind of autodetection depending on what environment is being used?03:29
pieqcrap. I switched from "On Demand" to "Performance" and back, and restarted the device, and now the session options I have are "Ubuntu" and "Ubuntu on Xorg" instead of "Ubuntu" and "Ubuntu on Wayland". If I select "Ubuntu" it boots into a Wayland session, so nvidia is not active (nothing in nvidia-settings), and if I boot in "Ubuntu on Xorg", gnome-shell crashes03:45
duflupieq, a bug report would help so I can see the hardware details. I'm lost trying to visualise things in IRC.04:05
duflupieq, Firefox has been Wayland-native for quite some time already. The way I used to check that is when it is absent from xwininfo and xprop04:07
pieqduflu: https://twitter.com/FirefoxNightly/status/1485901776255692802 just saw that, so I guess it's not ready yet in stable04:08
dufluOh. On Ubuntu I thought it was native for some time already. Haven't verified recently04:09
pieqduflu: another colleague is checking something on the device, I will file a bug later04:18
=== ahayzen_ is now known as ahayzen
pieqduflu: LP #195936206:11
ubottuLaunchpad bug 1959362 in gnome-shell (Ubuntu) "'Launch using dedicated graphics card' option absent (nvidia, proprietary drivers, on-demand PRIME mode)" [Undecided, New] https://launchpad.net/bugs/195936206:12
pieqduflu: should I also file a bug upstream?06:12
duflupieq, not yet06:12
pieq(and should I attach additional logs?)06:12
dufluDon't know06:12
duflupieq, can you update the system? jammy is on gnome-shell 41 now06:14
pieqduflu: I'll check with my Taipei colleagues06:14
pieqduflu: updating now. I thought such a recent image would have everything up to date... I was wrong :)06:15
duflupieq, it was literally only published 24 hours ago06:15
duflupieq, please also add output from 'lspci -k' and 'journalctl -b0'06:15
pieqok06:18
pieqduflu: aaaaand the option appears06:23
dufluin 41? :)06:26
duflupieq, also relevant: nvidia-495's gbm backend support is enabled only in mutter 41.2 onward. I'm not sure if that has made multi-GPU support better or worse (less tested) though06:30
dufluOh it's using nvidia-47006:31
jibelgood morning all06:34
dufluMorning jibel 06:35
pieqyes in 41.3 duflu06:38
dufluMy work here is done06:38
pieq:)06:39
jibelHi duflu 06:39
pieqsalut jibel !06:40
jibelSalut pieq 06:47
didrocksgood morning06:52
didrockshey jibel, pieq 06:52
pieqsalut didrocks ! Ça va ?06:53
dufluMorning didrocks 06:53
oSoMoNgood morning desktoppers, happy Friday!06:54
didrockssalut pieq, ça va, et toi ?06:54
didrockshey duflu, salut oSoMoN 06:54
didrocksbon vendredi à toi aussi :)06:55
pieqdidrocks: ça va ! Lunar New Year holidays start tonight! \o/06:56
oSoMoNsalut didrocks & pieq06:57
oSoMoNhey duflu 06:57
duflu🐯06:57
duflu(year of the tiger)06:58
pieqindeed!06:58
didrocks:)06:59
oSoMoNI'm not fully awake yet, I initially read "eye of the tiger" :)07:03
pieq:D07:03
jibelSalut didrocks 07:32
jibelet oSoMoN 07:32
oSoMoNsalut jibel 07:33
jpnurmigood morning07:59
dufluHi jpnurmi 07:59
jpnurmihey duflu 08:11
seb128goood morning desktopers08:33
oSoMoNsalut seb128 08:35
oSoMoNgood morning jpnurmi 08:36
jpnurmigood morning seb128 oSoMoN08:36
didrockssalut seb128 08:40
seb128lut oSoMoN, didrocks, hey jpnurmi, how are you on this friday?08:40
seb128didrocks, dunno if you saw my backlog ping on wednesday evening that v4l2-relayd was back in the NEW queue for review with the issues addressed?08:41
dufluHi seb128 08:41
jpnurmigood morning didrocks08:41
oSoMoNseb128, a bit tired, but good otherwise. How are you yourself?08:41
seb128hey duflu, how are you? ready for the weekend?08:41
seb128oSoMoN, a bit tired as well but alright :)08:41
didrockshey jpnurmi 08:41
dufluseb128, yeah I guess. Working on a hard problem that won't be fixed this week.08:41
didrocksseb128: good good :) oh I haven’t see your ping on wednesday evening, let me look08:42
seb128didrocks, thanks!08:42
jpnurmifeeling good. our puppy is finally reaching the age that one can start doing longer kickbike trips with him. we did 5km yesterday and he really loves it. that guy was born to pull :)08:44
seb128duflu, I didn't check reports yet, no surprise with the gnome-shell 41 landing?08:44
dufluseb128, 41 is good. I'm still in a made rush to finish 42 features08:44
duflumad rush even08:45
seb128when is GNOME feature freeze? I think beta is end of february08:45
seb128it's not like that the shell maintainers were respecting the freezes usually though...08:46
dufluAround then08:47
dufluseb128, arguably not a feature, just performance. So code freeze is March. Either way, if I miss GNOME-42 but have triple buffering ready around then I'll be strongly suggesting it as a patch. Lots of people have been using it as their daily for a year or so already and I am happy to support it08:51
seb128duflu, ack08:54
ackkoSoMoN, hi, is the fix for https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1849478 available in any snap build?08:54
ubottuLaunchpad bug 1849478 in chromium-browser (Ubuntu) "[snap] (experimental) pipewire support not available" [Wishlist, Fix Committed]08:54
=== ackk is now known as ack
dufluHmm08:54
seb128didrocks, thanks!08:57
oSoMoNack, yes it is available in all the channels, but there are reports that it's not always fully working. If it's not working for you, please comment on the bug report with details on your host system08:58
didrocksseb128: yw! checking binNEW now08:58
RikMillsmorning08:59
RikMillsoSoMoN: may I quickly ask if someone has been looking at the 'native host connector' not working issue?08:59
oSoMoNRikMills, yes, this is https://github.com/flatpak/xdg-desktop-portal/issues/655, and it is being worked on09:00
ubottuIssue 655 in flatpak/xdg-desktop-portal "NativeMessaging portal for sandboxed browsers" [Open]09:00
RikMillscool. thanks!09:01
ackoSoMoN, the last comment on there is mine :)09:01
seb128j_amesh is actively working on it, he said he would get ready to push by eow09:01
RikMillsoSoMoN: so will that just work for plasma-browser-integration, or should someone from KDE etc chip in?09:04
ackoSoMoN, LMK if I can provide more info on that09:06
oSoMoNRikMills, the first step is to implement this new portal, and then to modify browsers to use it. When this is done, plasma-browser-integration and other extensions using native host messaging should just work.09:07
RikMillsok. great :)09:08
seb128oSoMoN, do we expect having any UI prompting as part of the workflow?09:31
oSoMoNseb128, I was initially envisioning some kind of prompt, but there was some pushback when this was discussed on the xdg-desktop-portal issue. Not sure what james_h chose to implement.09:32
seb128oSoMoN, alright, I was mostly asking because if there is an UI then kde might need to do some work on their own portal09:33
oSoMoNtrue09:33
seb128RikMills, ^ tbd09:33
RikMillsthe kde portal is already past feature freeze for the version we can have in 22.04 :(09:35
RikMillsi.e. the beta of it is already in jammy09:35
* RikMills ponders backporting/git-snapshots and FFEs09:39
seb128RikMills, let's wait first to see if there is an UI or not09:41
RikMillsseb128: oh I know, :)09:46
slingamni got a pull request merged into the upstream system-config-printer: https://github.com/OpenPrinting/system-config-printer/pull/24710:03
ubottuPull 247 in OpenPrinting/system-config-printer "remove python3-requests" [Merged]10:03
slingamni'm trying to determine the best way to get it to land in ubuntu 22.0410:03
slingamnshould i ask upstream about whether they plan to include it in a tagged release?10:03
schopinslingamn: hi again :) would this package be one of the last blockers for -request removal or just another step in the right direction?10:05
slingamni took a look at https://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.jammy/rdepends/requests/python3-requests10:05
slingamnit's a little challenging to read but if i understand correctly, it will remove python3-requests from the default desktop image10:06
slingamnit will still ship in the default server image as a dependency of cloud-init, but cloud-init (and its dependencies) can be removed10:06
slingamnfor example i have a 22.10 server with no cloud-init and no requests10:06
schopinfor context, python3-requests is a 50kB deb, ~250kB unpacked10:08
slingamnit has a few more transitive dependencies, in particular python3-chardet and python3-idna10:08
schopinbut I don't know how pervasive its dependencies are.10:08
slingamnit's not really about the file size for me, it's about memory consumption (it takes another 10 MB per process to import requests and its transitive dependencies) and also that i don't like that this large, messy package has become part of the critical infrastructure for desktop linux10:09
schopinfwiw I think it would be a nice feature10:12
slingamnah, thanks :-)10:14
KGB-1deja-dup signed tags 4f67643 Sebastien Bacher ubuntu/42.8-2ubuntu2 * deja-dup Debian release 42.8-2ubuntu2 * https://salsa.debian.org/gnome-team/deja-dup/tags/ubuntu/42.8-2ubuntu210:18
KGB-1deja-dup ubuntu/master b1782c3 Sebastien Bacher debian/ changelog patches/series patches/git_newglib_compat.patch * backends: fix path parsing with glib 2.71+ * https://salsa.debian.org/gnome-team/deja-dup/-/commit/b1782c310:18
ubottuCommit b1782c3 in gnome-team/deja-dup "backends: fix path parsing with glib 2.71+"10:18
KGB-1deja-dup ubuntu/master 2cd137d Sebastien Bacher debian/changelog * upload to ubuntu * https://salsa.debian.org/gnome-team/deja-dup/-/commit/2cd137d10:18
ubottuCommit 2cd137d in gnome-team/deja-dup "upload to ubuntu"10:18
seb128didrocks, in fact the gnome portal is already listed on https://people.canonical.com/~ubuntu-archive/component-mismatches-proposed.html , does it require anything more than promotion now?10:51
seb128in the promotion to main section10:51
seb128slingamn, you should use https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+filebug to request the change to be backported to the Ubuntu package before the LTS11:36
jbichaseb128: hi, are you going to do an ubuntu-meta package upload for the GNOME portal addition?12:01
seb128jbicha, hey, I'm never clear on whether the tasks being updated is enough for the installer but we should probably do an ubuntu-desktop upload yes, I've mostly tried to be lazy and hoped that someone would do a refresh for some other changes12:20
jbichain this case, the GNOME portal isn't in the latest live image 🤷12:23
seb128right, then we probably need an ubuntu-desktop upload12:27
seb128you maybe want to do that at some point? I'm unsure I will be able to squeeze that in today12:27
seb128otherway it will wait for monday, I need to check anyway way the pending amd64 images failed CI yesterday and today12:27
seb128there has been a new ubiquity upload on wednesday, I wonder if the installer is currently broken12:28
didrocksseb128: no, feel free to promote it + change the MIR bug status13:00
seb128didrocks, 👍13:01
axinohello desktop team, is HDR display support planned for 22.04 ?18:13
slingamnseb128: thanks!18:33
slingamnhttps://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1959440 opened it here18:44
ubottuLaunchpad bug 1959440 in system-config-printer (Ubuntu) "backport GH #247 for Ubuntu 22.04 release to break python3-requests dependency" [Undecided, New]18:44
seb128axino, hey, that's a question you probably want to ask duflu on monday in an Australia compatible time of the day20:25
axinoseb128: OK thanks20:25

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