[Desktop-packages] [Bug 1922414] Re: ssh-agent fails to start (has_option: command not found)

2022-08-14 Thread Philipp Keck
Reported here: https://github.com/canonical/lightdm/issues/198

There's also a workaround for lightdm users posted there.

** Also affects: lightdm
   Importance: Undecided
   Status: New

** Bug watch added: github.com/canonical/lightdm/issues #198
   https://github.com/canonical/lightdm/issues/198

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1922414

Title:
  ssh-agent fails to start (has_option: command not found)

Status in Light Display Manager:
  New
Status in gdm3 package in Ubuntu:
  Fix Released
Status in xorg package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  I have been using ssh-agent for years and since I upgraded my system
  to Ubuntu 21.04/groovy, ssh-agent fails to start.

  Here is the error message:

  # journalctl | grep ssh-agent
  [...]
  Apr 02 20:16:32 vougeot /usr/libexec/gdm-x-session[3752]: 
/etc/X11/Xsession.d/90x11-common_ssh-agent: line 9: has_option: command not 
found

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: x11-common 1:7.7+22ubuntu1
  Uname: Linux 5.11.11-05-lowlatency x86_64
  ApportVersion: 2.20.11-0ubuntu61
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: unknown
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: KDE
  Date: Sat Apr  3 09:02:46 2021
  Dependencies: lsb-base 11.1.0ubuntu2
  DistUpgraded: Fresh install
  DistroCodename: hirsute
  DistroVariant: ubuntu
  DkmsStatus:
   tuxedo-keyboard, 3.0.4, 5.11.0-13-generic, x86_64: installed
   tuxedo-keyboard, 3.0.4, 5.11.0-13-lowlatency, x86_64: installed
   tuxedo-keyboard, 3.0.4, 5.11.11-05-lowlatency, x86_64: installed
  ExtraDebuggingInterest: No
  GraphicsCard:
   Intel Corporation TigerLake GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) 
(prog-if 00 [VGA controller])
 Subsystem: CLEVO/KAPOK Computer Iris Xe Graphics [1558:51a1]
  MachineType: TUXEDO TUXEDO InfinityBook S 15 Gen6
  PackageArchitecture: all
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.11-05-lowlatency 
root=/dev/mapper/MonVolume2-UbuntuRacine ro vsyscall=none security=apparmor 
quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/07/2020
  dmi.bios.release: 7.3
  dmi.bios.vendor: INSYDE Corp.
  dmi.bios.version: 1.07.03RTR
  dmi.board.name: NS50MU
  dmi.board.vendor: TUXEDO
  dmi.board.version: Not Applicable
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Notebook
  dmi.chassis.version: N/A
  dmi.ec.firmware.release: 7.2
  dmi.modalias: 
dmi:bvnINSYDECorp.:bvr1.07.03RTR:bd09/07/2020:br7.3:efr7.2:svnTUXEDO:pnTUXEDOInfinityBookS15Gen6:pvrNotApplicable:rvnTUXEDO:rnNS50MU:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:
  dmi.product.family: Not Applicable
  dmi.product.name: TUXEDO InfinityBook S 15 Gen6
  dmi.product.sku: Not Applicable
  dmi.product.version: Not Applicable
  dmi.sys.vendor: TUXEDO
  version.compiz: compiz 1:0.9.14.1+20.10.20200813-0ubuntu4
  version.libdrm2: libdrm2 2.4.104-1build1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.1-1
  version.libgl1-mesa-glx: libgl1-mesa-glx 21.0.1-1
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.10-3ubuntu5
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.6-2build1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1922414/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1903995] Re: upower report wrong battery percentage for Logitech Unify devices

2021-06-30 Thread Philipp Keck
> I believe that this should be fixed by this upstream commit, which
will be in the 5.12 kernel

Has anyone been able to verify that? If it indeed fixes this annoying
issue (I get notifications about low mouse battery all the time even
though it's almost full), then it might be worth back-porting to older
kernels (?).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1903995

Title:
  upower report wrong battery percentage for Logitech Unify devices

Status in upower package in Ubuntu:
  Triaged

Bug description:
  The battery percentage reported by upower for Logitech devices
  connected using Unify receiver are wrong.  Below are the results for
  two devices: Mouse and Keyboard:

  * Battery percentages reported by Unify receiver using Solaar:

  $ solaar show  | grep -iP "^((  \d: )|(.*batt.*))"
    1: Wireless Keyboard K270(unifying)
   4: BATTERY STATUS {1000}
   Battery: 70%, discharging.
    2: Wireless Mouse MX Master
   7: BATTERY STATUS {1000}
   Battery: 20%, discharging.

  
  * Battery percentages reported by upower:

  $ upower -i /org/freedesktop/UPower/devices/keyboard_hidpp_battery_0
    native-path:  hidpp_battery_0
    model:Wireless Keyboard K270
    serial:   4003-1a-39-5f-c1
    power supply: no
    updated:  Thu 12 Nov 2020 13:59:18 CET (119 seconds ago)
    has history:  yes
    has statistics:   yes
    keyboard
  present: yes
  rechargeable:yes
  state:   discharging
  warning-level:   none
  battery-level:   normal
  percentage:  55% (should be ignored)
  icon-name:  'battery-low-symbolic'

  $ upower -i /org/freedesktop/UPower/devices/mouse_hidpp_battery_1
    native-path:  hidpp_battery_1
    model:Wireless Mouse MX Master
    serial:   4071-f8-eb-bf-d1
    power supply: no
    updated:  Thu 12 Nov 2020 14:03:14 CET (27 seconds ago)
    has history:  yes
    has statistics:   yes
    mouse
  present: yes
  rechargeable:yes
  state:   discharging
  warning-level:   low
  battery-level:   low
  percentage:  10% (should be ignored)
  icon-name:  'battery-caution-symbolic'


  Basically the difference is big so I'm getting a lot of notifications
  related to low battery even if the battery is OK:

  * Mouse, upower: 10%real (Solaar): 20%
  * Keyboard: upower: 70%real (Solaar): 55%



  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: upower 0.99.11-1build2
  ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65
  Uname: Linux 5.4.0-53-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.11
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Nov 12 13:58:35 2020
  InstallationDate: Installed on 2020-04-19 (206 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200417)
  SourcePackage: upower
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.apport.crashdb.conf: 2020-06-17T11:02:56.934699

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1903995/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1924846] Re: [550-254ng, Nvidia GPU 60 HDMI/DP, Digital Out, DisplayPort] Crackling sound during quiet parts of video, with DisplayPort only

2021-04-26 Thread Philipp Keck
On a different machine (no Nvidia) but with the same monitor, I can also
reproduce this over DisplayPort but not over HDMI.

So I don't think that the Nvidia graphics card/driver is to blame.
Instead, it seems like there's a general DisplayPort-related issue
either in Linux/Alsa or in my cable/monitor (but if so, then Windows has
a workaround for that issue, which could hopefully be implemented in
Linux/Alsa too). Either way, it seems like this is something for the
Alsa team to debug, and I'm happy to provide more information or run
more experiments/tests.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1924846

Title:
  [550-254ng, Nvidia GPU 60 HDMI/DP, Digital Out, DisplayPort] Crackling
  sound during quiet parts of video, with DisplayPort only

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  When I play YouTube videos, then in the quiet parts of the video (i.e.
  in pauses between sentences, even if they are very brief), I hear a
  popping/crackling sound on my headphones connected through my
  DisplayPort monitor and my Nvidia GeForce GTX 745 card (I have this
  PC:
  https://www.notebooksbilliger.de/hp+pavilion+550+254ng+intel+core+i5+6400
  and an Asus PB248Q monitor). Depending on the video and how many
  pauses the speakers make, this is very annoying.

  I've run a long series of experiments, see
  https://forums.linuxmint.com/viewtopic.php?f=48=347176 for details.
  In summary, I can reproduce this:

  - With any installed Linux OSes (Ubuntu or Mint) or with live sticks (tried 
Ubuntu, Mint, PopOS and Manjaro).
  - With the open-source driver (Nouveau) or with various versions of the 
Nvidia driver.
  - With Chrome or Firefox or even an Audacity recording (from the DisplayPort 
output's audio monitor in PulseAudio) of the same audio stream.
  - Even when I try the usual fixes like tsched=0, disabling 
module-suspend-on-idle, disabling 
/sys/module/snd_hda_intel/parameters/power_save or position_fix=1 or =2.
  - Even when I don't use PulseAudio, but use `apulse ffplay ...` to play a 
file directly to ALSA.
  - NOT on Windows. Any browser and any video/sound file works fine on Windows 
with exactly the same hardware.
  - NOT with HDMI. The same card/monitor/headphones connected over HDMI (aka. 
"HDMI / DisplayPort 3" aka. "hdmi-stereo-extra2" aka. device number 8 aka. 
"HDMI 2") works fine. Only over DisplayPort (aka. "HDMI / DisplayPort 4" aka. 
"hdmi-stereo-extra3" aka. device number 9 aka. "HDMI 3") it crackles.
  - NOT when I save the problematic Audacity recording as a wav/mp3 file (and 
play it in any media player or with `apulse aplay ...`) or when I convert it to 
16-Bit PCM in Audacity (and back to 32-bit float). My suspicion is that this 
somehow gets rid of the pauses / quiet parts by writing sth like zeros in there.
  - NOT when I have some other continuous audio running at the same time, e.g. 
if I turn on some radio in Rhythmbox and play the problematic video at the same 
time, there's no crackles. Again my suspicion is that this gets rid of the 
quiet parts -- not in the video, but in the mixed stream sent to the audio 
device.

  This bug report is produced from `ubuntu-bug audio` on a freshly
  created Ubuntu LTS live USB stick with all default values, where I've
  just reconfirmed that DisplayPort is broken and HDMI works.

  Thanks for your help!

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-43.49~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-43-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.16
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu 5070 F pulseaudio
   /dev/snd/pcmC0D0c:   ubuntu 5070 F...m pulseaudio
   /dev/snd/controlC1:  ubuntu 5070 F pulseaudio
  CasperMD5CheckResult: pass
  CasperVersion: 1.445.1
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Apr 17 11:25:05 2021
  LiveMediaBuild: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia successful
  Symptom_Card: GM107 High Definition Audio Controller [GeForce 940MX] - HDA 
NVidia
  Symptom_Jack: Digital Out, HDMI
  Symptom_PulsePlaybackTest: PulseAudio playback test successful
  Symptom_Type: Underruns, dropouts, or "crackling" sound
  Title: [550-254ng, Nvidia GPU 60 HDMI/DP, Digital Out, HDMI] Underruns, 
dropouts or crackling sound
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/18/2018
  dmi.bios.release: 5.11
  dmi.bios.vendor: AMI
  dmi.bios.version: 

[Desktop-packages] [Bug 1924846] [NEW] [550-254ng, Nvidia GPU 60 HDMI/DP, Digital Out, DisplayPort] Crackling sound during quiet parts of video, with DisplayPort only

2021-04-17 Thread Philipp Keck
Public bug reported:

When I play YouTube videos, then in the quiet parts of the video (i.e.
in pauses between sentences, even if they are very brief), I hear a
popping/crackling sound on my headphones connected through my
DisplayPort monitor and my Nvidia GeForce GTX 745 card (I have this PC:
https://www.notebooksbilliger.de/hp+pavilion+550+254ng+intel+core+i5+6400
and an Asus PB248Q monitor). Depending on the video and how many pauses
the speakers make, this is very annoying.

I've run a long series of experiments, see
https://forums.linuxmint.com/viewtopic.php?f=48=347176 for details. In
summary, I can reproduce this:

- With any installed Linux OSes (Ubuntu or Mint) or with live sticks (tried 
Ubuntu, Mint, PopOS and Manjaro).
- With the open-source driver (Nouveau) or with various versions of the Nvidia 
driver.
- With Chrome or Firefox or even an Audacity recording (from the DisplayPort 
output's audio monitor in PulseAudio) of the same audio stream.
- Even when I try the usual fixes like tsched=0, disabling 
module-suspend-on-idle, disabling 
/sys/module/snd_hda_intel/parameters/power_save or position_fix=1 or =2.
- Even when I don't use PulseAudio, but use `apulse ffplay ...` to play a file 
directly to ALSA.
- NOT on Windows. Any browser and any video/sound file works fine on Windows 
with exactly the same hardware.
- NOT with HDMI. The same card/monitor/headphones connected over HDMI (aka. 
"HDMI / DisplayPort 3" aka. "hdmi-stereo-extra2" aka. device number 8 aka. 
"HDMI 2") works fine. Only over DisplayPort (aka. "HDMI / DisplayPort 4" aka. 
"hdmi-stereo-extra3" aka. device number 9 aka. "HDMI 3") it crackles.
- NOT when I save the problematic Audacity recording as a wav/mp3 file (and 
play it in any media player or with `apulse aplay ...`) or when I convert it to 
16-Bit PCM in Audacity (and back to 32-bit float). My suspicion is that this 
somehow gets rid of the pauses / quiet parts by writing sth like zeros in there.
- NOT when I have some other continuous audio running at the same time, e.g. if 
I turn on some radio in Rhythmbox and play the problematic video at the same 
time, there's no crackles. Again my suspicion is that this gets rid of the 
quiet parts -- not in the video, but in the mixed stream sent to the audio 
device.

This bug report is produced from `ubuntu-bug audio` on a freshly created
Ubuntu LTS live USB stick with all default values, where I've just
reconfirmed that DisplayPort is broken and HDMI works.

Thanks for your help!

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.8.0-43.49~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-43-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  ubuntu 5070 F pulseaudio
 /dev/snd/pcmC0D0c:   ubuntu 5070 F...m pulseaudio
 /dev/snd/controlC1:  ubuntu 5070 F pulseaudio
CasperMD5CheckResult: pass
CasperVersion: 1.445.1
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 17 11:25:05 2021
LiveMediaBuild: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:NVidia successful
Symptom_Card: GM107 High Definition Audio Controller [GeForce 940MX] - HDA 
NVidia
Symptom_Jack: Digital Out, HDMI
Symptom_PulsePlaybackTest: PulseAudio playback test successful
Symptom_Type: Underruns, dropouts, or "crackling" sound
Title: [550-254ng, Nvidia GPU 60 HDMI/DP, Digital Out, HDMI] Underruns, 
dropouts or crackling sound
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/18/2018
dmi.bios.release: 5.11
dmi.bios.vendor: AMI
dmi.bios.version: A0.20
dmi.board.asset.tag: CZC6057CYQ
dmi.board.name: 2B47
dmi.board.vendor: HP
dmi.board.version: 1.04
dmi.chassis.asset.tag: CZC6057CYQ
dmi.chassis.type: 3
dmi.chassis.vendor: HP
dmi.modalias: 
dmi:bvnAMI:bvrA0.20:bd01/18/2018:br5.11:svnHP:pn550-254ng:pvr1.04:rvnHP:rn2B47:rvr1.04:cvnHP:ct3:cvr:
dmi.product.family: 103C_53316J G=D
dmi.product.name: 550-254ng
dmi.product.sku: V2F29EA#ABD
dmi.product.version: 1.04
dmi.sys.vendor: HP

** Affects: alsa-driver (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1924846

Title:
  [550-254ng, Nvidia GPU 60 HDMI/DP, Digital Out, DisplayPort] Crackling
  sound during quiet parts of video, with DisplayPort only

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  When I play YouTube videos, then in the quiet parts of the video (i.e.
  in pauses between sentences, even if they