Layout switching problem

Message
Author
User avatar
caspar
Posts: 78
Joined: Thu Sep 08, 2016 8:00 am

Layout switching problem

#1 Post by caspar »

I have MX Linux on three computers. Until recently it was the MX-21. I decided to upgrade the system to MX-23 using the method described here.
Everything went smoothly on two computers, but a power failure occurred while updating the third. After power was restored, the update process failed with several packet conflict messages.
I used aptitude to resolve conflicts. After that the update completed successfully. But after rebooting, I discovered that switching keyboard layouts did not work.
If using the keyboard settings utility (xfce4-keyboard-settings) I disable the use of the system layout and change the layout change hotkey, the switching works, but only until the reboot. To restore the switching after the reboot, I need to change the hotkey again (I can immediately return the old value). And all works fine untill the reboot.
Note:
On my system, the system locale is ru_RU, and the keyboard layouts are pl and ru, since I often need to use Polish.
My /etc/default/keyboard file:

Code: Select all

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="pl,ru"
XKBVARIANT=","
XKBOPTIONS="grp:lctrl_lshift_toggle,terminate:ctrl_alt_bksp"

BACKSPACE="guess"
My QSI:

Code: Select all

[CODE]System:
  Kernel: 6.1.0-15-amd64 [6.1.66-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-15-amd64 root=UUID=<filter> ro nosplash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.1_x64 Libretto February 15  2019 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: M5A78L-M LX3 v: Rev X.0x serial: <superuser required>
    BIOS: American Megatrends v: 1401 date: 05/05/2016
CPU:
  Info: model: AMD Athlon II X2 250 bits: 64 type: MCP arch: K10 level: v1 built: 2009-13
    process: AMD 45nm family: 0x10 (16) model-id: 6 stepping: 3 microcode: 0x10000C8
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 256 KiB desc: d-2x64 KiB; i-2x64 KiB
    L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 2050 high: 2300 min/max: 800/3000 boost: disabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 2300 2: 1800 bogomips: 12053
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] vendor: Hightech Information System
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 01:00.0 chip-ID: 1002:6779 class-ID: 0300
    temp: 53.5 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 model: Samsung built: 2010 res: 1920x1080 hz: 60 dpi: 305
    gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 801mm (31.5") ratio: 16:9 modes: max: 1920x1080
    min: 720x400
  API: OpenGL v: 4.5 Mesa 23.1.2-1~mx23ahs renderer: AMD CAICOS (DRM 2.50.0 / 6.1.0-15-amd64
    LLVM 15.0.6) direct-render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: ASUSTeK M5A78L LE driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5 230/235/235X OEM]
    vendor: Hightech Information System driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aa98 class-ID: 0403
  API: ALSA v: k6.1.0-15-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: ASUSTeK driver: alx v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: ec00 bus-ID: 02:00.0 chip-ID: 1969:10a1 class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 232.89 GiB used: 92.23 GiB (39.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3250310AS size: 232.89 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: A temp: 38 C
    scheme: MBR
Partition:
  ID-1: / raw-size: 43.94 GiB size: 43.08 GiB (98.03%) used: 23.81 GiB (55.3%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 180.94 GiB size: 177.54 GiB (98.12%) used: 68.42 GiB (38.5%) fs: ext4
    dev: /dev/sda6 maj-min: 8:6
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda5
    maj-min: 8:5
  ID-2: swap-2 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 42.0 C mobo: 36.0 C gpu: radeon temp: 54.0 C
  Fan Speeds (RPM): case-1: 2220
  Power: 12v: 12.31 5v: N/A 3.3v: 3.36 vbat: N/A
Repos:
  Packages: 3479 pm: dpkg pkgs: 3474 libs: 1899 tools: apt,apt-get,aptitude,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 5
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/anydesk-stable.list
    1: deb http://deb.anydesk.com/ all main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mirror.koddos.net/mxlinux/mx/repo/ bookworm main non-free
    2: deb https://mirror.koddos.net/mxlinux/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
    1: deb https://deb.opera.com/opera-stable/ stable non-free
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/various.list
    1: deb http://deb.opera.com/opera/ stable non-free
  Active apt repos in: /etc/apt/sources.list.d/winehq.list
    1: deb https://dl.winehq.org/wine-builds/debian/ bookworm main
  Active apt repos in: /etc/apt/sources.list.d/yandex-browser.list
    1: deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb stable main
Info:
  Processes: 250 Uptime: 27m wakeups: 1 Memory: 15.62 GiB used: 3.6 GiB (23.1%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 10/12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
[/code]

User avatar
j2mcgreg
Global Moderator
Posts: 7277
Joined: Tue Oct 23, 2007 12:04 pm

Re: Layout switching problem

#2 Post by j2mcgreg »

@caspar

There is a current, serious problem with the 6.1.xxx kernels. You should use MXPI to install either the Antix 5.10 or the Liquorix 6.5.11-3 kernel and reboot (both of which are not affected by this bug). If you go with the Antix kernel you will also have to use Boot Options in MX Tools to make it the new default.

Note: because this bug interferes with the EXT4 file system, CLI commands may not work as they should, but with tests on my own equipment MXPI seems to be operating properly.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
caspar
Posts: 78
Joined: Thu Sep 08, 2016 8:00 am

Re: Layout switching problem

#3 Post by caspar »

Thanks for the quick and comprehensive ansver. I have set the kernel 5.10.0-26-amd64, left over from MX-21 as default. Everything works OK with it. I'll wait for a kernel update with a bug fix.
Thanks once more :)

Post Reply

Return to “Software / Configuration”