[Bug 1850439] Re: No sound on ASUS UX534FT

2020-08-22 Thread Stéphane Gourichon
Hello again.

This is a continuation of comment #185
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850439/comments/185
where we describe hardware, symptoms, then #186 where we describe the
permanent fix we did.

## Other problem: "nasal" sound on speakers only

We noticed that some applications have normal sound (e.g. youtube in
Firefox), while some others have a kind of "nasal" sound (e.g. VLC
playing the same audio).  I would describe the effect as similar to a
very slight clipping producing high frequencies.  It is relatively
subtle, just as if the laptop speakers had worse quality.

The problem is observed only on machine speakers, and not on analog jack
output.

## Investigation

We reproduced the problem using mpv.
Then we tried to disable pulseaudio and have mpv play directly through alsa, 
which cured the problem but, well, killed all pulseaudio features.
Then we instructed pulseaudio to use 48000 output sample rate, which allowed to 
cure the problem and allow pulseaudio.

## Local fix: force pulseaudio sample rate

The fix we used is like this:

In /etc/pulse/daemon.conf ensure there is a line like:

default-sample-rate = 48000

Then "pulseaudio -k" to ensure no daemon with old settings exist.  You
might have to run "pulseaudio &" too, depending on context.

Anyway, with this change the "nasal sound" problem is fixed permanently
in all applications.

## Global fix

Thanks a lot to people working upstream if they can provide a non-
regressing global fix without users having to figure out workaround.  It
might be hard and we thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850439

Title:
  No sound on ASUS UX534FT

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1850439] Re: No sound on ASUS UX534FT

2020-08-06 Thread Stéphane Gourichon
Following
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850439/comments/185
here are instructions that provide a permanent fix.

> ## Next step: have a permanent fix
>
> Some copy-paste instructions as to how to make this fix permanent
> would be appreciated. Else I can figure out some and share,
> e.g. from
> https://askubuntu.com/questions/919054/how-do-i-run-a-single-command-at-startup-using-systemd

Hi all,

This fix works on our machine, where lshw says "ZenBook
UX534FAC_UX533FAC" or simply "UX534FAC".

What we did is start from
https://wiki.archlinux.org/index.php/ASUS_Zenbook_UX534 and adjust for
our machine:

Create `/etc/systemd/system/audio-fix.service` with this content:



[Unit]
Description=Fix internal audio on ASUS Zenbook UX533/534
# The following options are needed to prevent the service from executing before 
the sound card is activated and thus failing
Requires=sys-devices-pci:00-:00:1f.3-sound-card0.device  # replace with 
the result of the previous command 
After=sys-devices-pci:00-:00:1f.3-sound-card0.device # same

[Service]
Type=oneshot
ExecStart=hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf ; hda-verb /dev/snd/hwC0D0 
0x20 0x400 0x7774 ; hda-verb /dev/snd/hwC0D0 0x20 0x500 0x45 ; hda-verb 
/dev/snd/hwC0D0 0x20 0x400 0x5289

[Install]
# Make it part of the sound initialization routine
WantedBy=sound.target




Then issue this commands:



systemctl start audio-fix
systemctl enable audio-fix



You can now reboot to check if the fix works. On our machine, sound
works on speakers and audio jack output, sound is good and we could not
find any trace of the bug.

Thanks in advance to all kernel hackers that can propagate towards
upstream a proper fix (without regression for other users). :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850439

Title:
  No sound on ASUS UX534FT

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1850439] Re: No sound on ASUS UX534FT

2020-07-29 Thread Stéphane Gourichon
Hi.

## Problem, check symptoms

We have a laptop here affected by the problem.

Following comment #172
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1850439/comments/172

> and please do not forget to also let us know what model laptop you
have.

* lshw says "ZenBook UX534FAC_UX533FAC" or simply "UX534FAC".
* Vendor identified it as UX534FA-A8094T.

> If possible please check all 4 of:
> 
> 1. Speakers
> 2. Headphones output
> 3. Internal mic.
> 4. Headset mic. (using a phone headset with builtin mic with a single T-R-R-S 
> connector)

Symptoms:

1. Speakers: no sound
2. Headphones output: no sound
3. Internal mic: works
4. Headset mic (no tested)

## Check workaround: success

> After testing please report back here what works (and what does not
work) after issueing the 4 above commands;

> hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
> hda-verb /dev/snd/hwC0D0 0x20 0x400 0x7774

Issuing the first two above allowed to get sound output.

> hda-verb /dev/snd/hwC0D0 0x20 0x500 0x45
> hda-verb /dev/snd/hwC0D0 0x20 0x400 0x5289

Issuing the last two (right above) did not seem to have any effect.

Full test after the four commands:

1. Speakers: "perfect" sound
2. Headphones output: "perfect" sound
3. Internal mic: works
4. Headset mic: works

## Sound quality: as good as you can get

No artifacts like reported in #133.

"Perfect" means as good as can be given the physical speakers (e.g. not
much bass but this is normal).

## Next step: have a permanent fix

Some copy-paste instructions as to how to make this fix permanent would
be appreciated.  Else I can figure out some and share, e.g. from
https://askubuntu.com/questions/919054/how-do-i-run-a-single-command-at-
startup-using-systemd

## Thanks

Thanks everyone, including @j-w-r-degoede who shows that kernel
developers are taking care.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850439

Title:
  No sound on ASUS UX534FT

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1776475] Re: Unlocking existing session often requires several attempts.

2020-04-21 Thread Stéphane Gourichon
Thank you for this extra information. This allowed to narrow down the
bug you experienced to a simplified, shorter bug scenario.

I was suspecting that this may not be the same bug.

>  It's not necessary to actually log in as the other user.

The bug discussed here only happens when the user is already logged in.

May I suggest that you open a new bug report with details of a minimal
reproducible case?

Thank you for your attention.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1776475

Title:
  Unlocking existing session often requires several attempts.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1776475] Re: Unlocking existing session often requires several attempts.

2020-04-21 Thread Stéphane Gourichon
Hi Jane @irihapeti.

Thank you for reporting.

The settings 
"delay locking after screensaver for..." 
that was in 
"Power Manager" settings, 
tab "Security" 
may correspond to what exists in 20.04 in
"Screensaver" settings, 
tab "Lock Screen", and renamed to
"Lock the screen after the screen saver is active for..."

Can you report the current value? (presumably zero)
And set it to one minute to see if it fixes your problem?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1776475

Title:
  Unlocking existing session often requires several attempts.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1776475] Re: Unlocking existing session often requires several attempts.

2020-04-02 Thread Stéphane Gourichon
Thank You Jane @irihapeti for your message.

Can you be more specific about the sequence of events and symptom
observed?

Also, can you tell:
(1) the parameters mentioned on comment #11 
and (2) whether following the workaround on comment #14 works for you?

This may be very helpful to fix the bug once and for all.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1776475

Title:
  Unlocking existing session often requires several attempts.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1643706] Re: snap apps need to be able to browse outside of user $HOME dir. for Desktop installs

2020-02-07 Thread Stéphane Gourichon
Today, after very poor past experience with snaps, I thought to give it
a go once again to use some third party software packaged as snap.

Alas, I see this bug is sadly still not fixed.

# Docker (arguably different use cases) got it right

With docker it can be as easy as:

docker run -it -v $PWD:/somemountpoint myprogram myarguments

and voilà, the docker-confined app sees your current directory as
/somemountpoint.

# Snap as policy and communication failure

The current snap experience is: users run software, perform reasonable
actions, see cryptic failures, ask reasonable "howto" questions and get
"no reasonable person would do such action" answers.

I respectfully disagree.

IMHO no reasonable software provider should treat they users like that.

Such rejection attitude to users maintains the status quo and overall
saps snap reputation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1643706

Title:
  snap apps need to be able to browse outside of user $HOME dir. for
  Desktop installs

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 482456] Re: Corrupt video leaving graphics mode

2010-02-10 Thread Stéphane Gourichon
Hello all,

It seems I've had the same problem. I reported on 
http://www.nvnews.net/vbulletin/
showthread.php?p=2183537 before finding this thread.

I solved it with NVIDIA-Linux-x86_64-195.36.03-pkg2.run
(pkg0 or pkg1 are not enough) released a few days ago.
It's available on ftp://download.nvidia.com/XFree86/Linux-x86_64/195.36.03/

Regards.


** Changed in: nvidia-graphics-drivers-180 (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Corrupt video leaving graphics mode
https://bugs.launchpad.net/bugs/482456
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 223238] Re: Extremely slow Ajax/Javascript/CSS performance in Firefox 3 using non-free nvidia-glx-new

2010-02-03 Thread Stéphane Gourichon
Summary : worksforme

Hello,

Hardware : Asus X77VN laptop using GeForce GT 240M
Platform : Ubuntu 9.10 (karmic) 64-bit, Firefox 3.5.7
Result : no slowdown observed. All examples tested are snappy :
 http://www.shacknews.com/
 http://www.worldofwarcraft.com/downloads/ssotd/#latest
 http://www.transmissionbt.com/screenshots.php (404 not found)
 http://www.tuaw.com/

Firefox ID : Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.1.7)
Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7

Regards

-- 
Extremely slow Ajax/Javascript/CSS performance in Firefox 3 using non-free 
nvidia-glx-new
https://bugs.launchpad.net/bugs/223238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs