[Touch-packages] [Bug 1856908] [NEW] [80SY, Realtek ALC236, Speaker, Internal] Playback problem

2019-12-18 Thread Valery Frolov
Public bug reported:

$lsb_release -rd
Description:Ubuntu 16.04.6 LTS
Release:16.04

$uname -a
Linux fvg 4.15.0-73-generic #82~16.04.1-Ubuntu SMP Tue Dec 3 17:36:08 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

audacious: 3.6.2-2

What happened:
Sometimes my Lenovo v310 freezes completely while playing music (Audacious).
This is something i found in syslog.


Dec 19 03:01:53 localhost kernel: [12615.593931] [ cut here 
]
Dec 19 03:01:53 localhost kernel: [12615.593947] WARN_ON(fbc->active)
Dec 19 03:01:53 localhost kernel: [12615.594285] WARNING: CPU: 0 PID: 14771 at 
/build/linux-hwe-BQMZOc/linux-hwe-4.15.0/drivers/gpu/drm/i915/intel_fbc.c:1136 
intel_fbc_enable+0x3ed/0x570 [i915]
Dec 19 03:01:53 localhost kernel: [12615.594289] Modules linked in: ccm rfcomm 
vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep rtsx_usb_ms memstick intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel kvm 
irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc 
snd_hda_codec_realtek snd_hda_codec_generic arc4 aesni_intel aes_x86_64 
crypto_simd glue_helper cryptd snd_soc_skl intel_cstate intel_rapl_perf 
snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp snd_soc_sst_ipc snd_soc_acpi 
snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel 
snd_hda_codec snd_hda_core snd_hwdep iwlmvm mac80211 snd_pcm uvcvideo 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_seq_midi 
snd_seq_midi_event videobuf2_core joydev snd_rawmidi input_leds videodev 
serio_raw snd_seq media wmi_bmof snd_seq_device
Dec 19 03:01:53 localhost kernel: [12615.594456]  intel_wmi_thunderbolt 
snd_timer iwlwifi snd soundcore cfg80211 shpchp intel_pch_thermal mei_me mei 
btusb btrtl btbcm btintel bluetooth ecdh_generic mac_hid ideapad_laptop 
sparse_keymap acpi_pad parport_pc ppdev lp parport autofs4 hid_generic 
rtsx_usb_sdmmc usbhid hid rtsx_usb i915 i2c_algo_bit drm_kms_helper syscopyarea 
sysfillrect sysimgblt fb_sys_fops psmouse r8169 drm mii ahci libahci wmi video
Dec 19 03:01:53 localhost kernel: [12615.594572] CPU: 0 PID: 14771 Comm: 
kworker/u8:0 Tainted: G   OE4.15.0-73-generic #82~16.04.1-Ubuntu
Dec 19 03:01:53 localhost kernel: [12615.594576] Hardware name: LENOVO 80SY/, 
BIOS 0ZCN30WW 12/08/2016
Dec 19 03:01:53 localhost kernel: [12615.594768] Workqueue: events_unbound 
intel_atomic_commit_work [i915]
Dec 19 03:01:53 localhost kernel: [12615.594953] RIP: 
0010:intel_fbc_enable+0x3ed/0x570 [i915]
Dec 19 03:01:53 localhost kernel: [12615.594960] RSP: 0018:c23fc1367cb0 
EFLAGS: 00010286
Dec 19 03:01:53 localhost kernel: [12615.594969] RAX:  RBX: 
a06e2a00 RCX: 97e63a28
Dec 19 03:01:53 localhost kernel: [12615.594974] RDX: 0001 RSI: 
0082 RDI: 0202
Dec 19 03:01:53 localhost kernel: [12615.594979] RBP: c23fc1367d00 R08: 
fffa734938d0 R09: 
Dec 19 03:01:53 localhost kernel: [12615.594984] R10: c23fc30e38e8 R11: 
0367 R12: a06c56299000
Dec 19 03:01:53 localhost kernel: [12615.594989] R13: a06d4cbd6b00 R14: 
a06c5629f000 R15: a06e2a00
Dec 19 03:01:53 localhost kernel: [12615.594997] FS:  () 
GS:a06e3ec0() knlGS:
Dec 19 03:01:53 localhost kernel: [12615.595003] CS:  0010 DS:  ES:  
CR0: 80050033
Dec 19 03:01:53 localhost kernel: [12615.595008] CR2: e1ad9000 CR3: 
000210a0a001 CR4: 003626f0
Dec 19 03:01:53 localhost kernel: [12615.595012] Call Trace:
Dec 19 03:01:53 localhost kernel: [12615.595197]  ? 
intel_pre_plane_update+0x12f/0x190 [i915]
Dec 19 03:01:53 localhost kernel: [12615.595371]  intel_update_crtc+0x75/0xa0 
[i915]
Dec 19 03:01:53 localhost kernel: [12615.595526]  skl_update_crtcs+0x1a9/0x1f0 
[i915]
Dec 19 03:01:53 localhost kernel: [12615.595663]  
intel_atomic_commit_tail+0x3c8/0xe00 [i915]
Dec 19 03:01:53 localhost kernel: [12615.595676]  ? __switch_to+0x9b/0x4e0
Dec 19 03:01:53 localhost kernel: [12615.595687]  ? __switch_to_asm+0x35/0x70
Dec 19 03:01:53 localhost kernel: [12615.595819]  
intel_atomic_commit_work+0x12/0x20 [i915]
Dec 19 03:01:53 localhost kernel: [12615.595830]  process_one_work+0x14d/0x410
Dec 19 03:01:53 localhost kernel: [12615.595839]  worker_thread+0x4b/0x460
Dec 19 03:01:53 localhost kernel: [12615.595853]  kthread+0x105/0x140
Dec 19 03:01:53 localhost kernel: [12615.595861]  ? process_one_work+0x410/0x410
Dec 19 03:01:53 localhost kernel: [12615.595867]  ? kthread_bind+0x40/0x40
Dec 19 03:01:53 localhost kernel: [12615.595878]  ret_from_fork+0x35/0x40
Dec 19 03:01:53 localhost kernel: [12615.595885] Code: 4a 03 00 00 00 0f 84 55 
01 00 00 80 bb ca 2c 00 00 00 0f 84 1c ff ff ff 48 c7 c6 5e 54 5e c0 48 c7 c7 
44 54 5e c0 e8 a3 f0 52 d6 <0f> 0b e9 02 ff ff ff 3d 00 08 00 00 ba 00 08 00 00 
0f 4f c2 e9 
Dec 19 03:01:53 localhost kernel: [12615.596031] ---[ end trace 
4627cd6bd9d494bf ]---

ProblemType: Bug
Distr

[Touch-packages] [Bug 133072] Re: tty console doen't show characters with accent

2015-11-02 Thread Valery Frolov
have to add FRAMEBUFFER=y to /etc/default/console-setup, aren't you?
i mean console-setup, but not keymap

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/133072

Title:
  tty console doen't show characters with accent

Status in console-setup package in Ubuntu:
  Confirmed
Status in kbd package in Ubuntu:
  Fix Released

Bug description:
  In Kubuntu 7.10 tribe 4, tty console (out of X) cannot display characters 
with accent, also can't display 'ñ' and '€'.
  Locale value:

  LANG=es_ES.UTF-8
  LANGUAGE=es_ES:es:en_GB:en
  LC_CTYPE="es_ES.UTF-8"
  LC_NUMERIC="es_ES.UTF-8"
  LC_TIME="es_ES.UTF-8"
  LC_COLLATE="es_ES.UTF-8"
  LC_MONETARY="es_ES.UTF-8"
  LC_MESSAGES="es_ES.UTF-8"
  LC_PAPER="es_ES.UTF-8"
  LC_NAME="es_ES.UTF-8"
  LC_ADDRESS="es_ES.UTF-8"
  LC_TELEPHONE="es_ES.UTF-8"
  LC_MEASUREMENT="es_ES.UTF-8"
  LC_IDENTIFICATION="es_ES.UTF-8"
  LC_ALL=

  Thanks for your atention.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/133072/+subscriptions

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


[Touch-packages] [Bug 133072] Re: tty console doen't show characters with accent

2015-11-02 Thread Valery Frolov
"in teh ltsp-client install with the content FRAMEBUFFER=y"

or so

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/133072

Title:
  tty console doen't show characters with accent

Status in console-setup package in Ubuntu:
  Confirmed
Status in kbd package in Ubuntu:
  Fix Released

Bug description:
  In Kubuntu 7.10 tribe 4, tty console (out of X) cannot display characters 
with accent, also can't display 'ñ' and '€'.
  Locale value:

  LANG=es_ES.UTF-8
  LANGUAGE=es_ES:es:en_GB:en
  LC_CTYPE="es_ES.UTF-8"
  LC_NUMERIC="es_ES.UTF-8"
  LC_TIME="es_ES.UTF-8"
  LC_COLLATE="es_ES.UTF-8"
  LC_MONETARY="es_ES.UTF-8"
  LC_MESSAGES="es_ES.UTF-8"
  LC_PAPER="es_ES.UTF-8"
  LC_NAME="es_ES.UTF-8"
  LC_ADDRESS="es_ES.UTF-8"
  LC_TELEPHONE="es_ES.UTF-8"
  LC_MEASUREMENT="es_ES.UTF-8"
  LC_IDENTIFICATION="es_ES.UTF-8"
  LC_ALL=

  Thanks for your atention.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/133072/+subscriptions

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


[Touch-packages] [Bug 133072] Re: tty console doen't show characters with accent

2015-11-01 Thread Valery Frolov
Sorry. Mistake in previous post:

2. /usr/share/initramfs-tools/scripts/init-top/console_setup
cut here
#! /bin/sh
# A crude much-simplified clone of setupcon for use in the initramfs.

#check: no FRAMEBUFFER needed
#check# OPTION=FRAMEBUFFER
#check# PREREQ="framebuffer"  <<-- 

doesn't work with PREREQ=""

leave
PREREQ=framebuffer

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/133072

Title:
  tty console doen't show characters with accent

Status in console-setup package in Ubuntu:
  Confirmed
Status in kbd package in Ubuntu:
  Fix Released

Bug description:
  In Kubuntu 7.10 tribe 4, tty console (out of X) cannot display characters 
with accent, also can't display 'ñ' and '€'.
  Locale value:

  LANG=es_ES.UTF-8
  LANGUAGE=es_ES:es:en_GB:en
  LC_CTYPE="es_ES.UTF-8"
  LC_NUMERIC="es_ES.UTF-8"
  LC_TIME="es_ES.UTF-8"
  LC_COLLATE="es_ES.UTF-8"
  LC_MONETARY="es_ES.UTF-8"
  LC_MESSAGES="es_ES.UTF-8"
  LC_PAPER="es_ES.UTF-8"
  LC_NAME="es_ES.UTF-8"
  LC_ADDRESS="es_ES.UTF-8"
  LC_TELEPHONE="es_ES.UTF-8"
  LC_MEASUREMENT="es_ES.UTF-8"
  LC_IDENTIFICATION="es_ES.UTF-8"
  LC_ALL=

  Thanks for your atention.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/133072/+subscriptions

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


[Touch-packages] [Bug 133072] Re: tty console doen't show characters with accent

2015-11-01 Thread Valery Frolov
My 5 cents.
I guess the problem is in the console-setup package. i was digging in initramfs 
scripts. hope this may help.
Changes below working well for me (15.10, i386).
Look at the "#check" marks for comments (excuse me for my badly broken English 
;-):

1. /usr/share/initramfs-tools/hooks/console_setup
cut here
#! /bin/sh -e

PREREQ="kbd|console_tools"

prereqs () {
echo "$PREREQ"
}

case $1 in
prereqs)
prereqs
exit 0
;;
esac

. /usr/share/initramfs-tools/hook-functions
[ -r /etc/default/keyboard ] || exit 0
[ -r /etc/default/console-setup ] || exit 0
. /etc/default/console-setup # also sources /etc/default/keyboard

# Copy console-setup configuration
mkdir -p "$DESTDIR/etc/default"
cp -p /etc/default/keyboard "$DESTDIR/etc/default"
cp -p /etc/default/console-setup "$DESTDIR/etc/default"

#check: because of naming convention: "8xNN" -> "NN"
FONTSIZE=${FONTSIZE#8x}
# Assume setupcon --save has been run
if [ -f "$FONT" ]; then
FONT="/etc/console-setup/${FONT##*/}"
#check: .gz is a valid suffix
#check# FONT="${FONT%.gz}"
else
FONT="/etc/console-setup/$CODESET-$FONTFACE$FONTSIZE.psf"
#check: font is always gzipped, so it's better to add ".gz" suffix
[ -f "${FONT}.gz" ] && FONT="${FONT}.gz"
fi
if [ -f "$FONT" ]; then
mkdir -p "$DESTDIR${FONT%/*}"
cp -p "$FONT" "$DESTDIR$FONT"
fi
if [ -f "$ACM" ]; then
ACM="/etc/console-setup/${ACM##*/}"
ACM="${ACM%.gz}"
else
ACM="/etc/console-setup/$CHARMAP.acm"
fi
if [ -f "$ACM" ]; then
mkdir -p "$DESTDIR${ACM%/*}"
cp -p "$ACM" "$DESTDIR$ACM"
fi
if [ -f /etc/console-setup/cached.kmap.gz ]; then
mkdir -p "$DESTDIR/etc/console-setup"
cp -p /etc/console-setup/cached.kmap.gz \
"$DESTDIR/etc/console-setup/cached.kmap.gz"
fi

exit 0
cut here

2. /usr/share/initramfs-tools/scripts/init-top/console_setup
cut here
#! /bin/sh
# A crude much-simplified clone of setupcon for use in the initramfs.

#check: no FRAMEBUFFER needed
#check# OPTION=FRAMEBUFFER
#check# PREREQ="framebuffer"

PREREQ=""

prereqs () {
echo "$PREREQ"
}

case $1 in
prereqs)
prereqs
exit 0
;;
esac

[ -r /etc/default/console-setup ] || exit 0
. /etc/default/console-setup

[ "$ACTIVE_CONSOLES" ] || exit 0

if [ "$VERBOSE_OUTPUT" = yes ]; then
verbose=
else
verbose='>/dev/null 2>&1'
fi

for i in 1 2 3 4 5 6; do
[ -c /dev/tty$i ] || mknod /dev/tty$i c 4 $i
done

#check: because of font naming convention: "...8xNN" -> "...NN"
FONTSIZE=${FONTSIZE#8x}
#check: Define font name only once, not every cycle, also it gives proper font 
name for /dev/tty1
if [ "$FONT" ]; then
FONT="/etc/console-setup/${FONT##*/}"
#check: .gz is a valid suffix
#check# FONT="${FONT%.gz}"
else
FONT="/etc/console-setup/$CODESET-$FONTFACE$FONTSIZE.psf"
#check: try to find gzipped font
[ -f "${FONT}.gz" ] && FONT="${FONT}.gz"
fi

for console in $ACTIVE_CONSOLES; do
[ -w $console ] || continue

if [ "$CHARMAP" = UTF-8 ] || [ -z "$ACM$CHARMAP" ]; then
printf '\033%%G' >$console
else
printf '\033%%@' >$console
fi

if [ -f "$FONT" ]; then
if type consolechars >/dev/null 2>&1; then
eval consolechars -v --tty=$console -f "$FONT" $verbose
elif type setfont >/dev/null 2>&1; then
eval setfont -v -C $console "$FONT" $verbose
fi
fi

if [ "$ACM" ]; then
ACM="/etc/console-setup/${ACM##*/}"
ACM="${ACM%.gz}"
else
ACM="/etc/console-setup/$CHARMAP.acm"
fi
if [ -f "$ACM" ]; then
if type consolechars >/dev/null 2>&1; then
eval consolechars -v --tty=$console --acm "$ACM" \
$verbose
elif type setfont >/dev/null 2>&1; then
eval setfont -v -C "$console" -m "$ACM" $verbose
fi
fi

if type kbd_mode >/dev/null 2>&1; then
if [ "$CHARMAP" = UTF-8 ] || [ -z "$ACM" ]; then
kbd_mode -u <$console
else
kbd_mode -a <$console
fi
fi
done

if [ -f /etc/console-setup/cached.kmap.gz ] && type loadkeys >/dev/null; then
eval loadkeys /etc/console-setup/cached.kmap.gz $verbose
fi

exit 0
cut here

3. /usr/share/initramfs-tools/scripts/init-top/keymap
cut here
#!/bin/sh

#check: 
#check# OPTION=FRAMEBUFFER
PREREQ=""
prereqs()
{
echo