View previous topic :: View next topic |
Author |
Message |
Viloflo n00b
Joined: 14 Dec 2005 Posts: 9
|
Posted: Wed May 08, 2024 10:22 am Post subject: KDE plasma freeze after typing specific special characters |
|
|
Hello everybody,
I am experiencing freezes on KDE Plasma after typing special characters specific from Spanish language: ª, ° and ¿ (to get those, I had to use "insert special character" in Libreoffice, and then copy-paste it here...). I have no problems with others like %, &, € , Ç, ñ, or with dead keys for accents, like á, è. î. In fact those three (ª, ° and ¿) are the only ones I have this problem with.
In a terminal, I have no problems in typing those special characters. It only occurs when I am into KDE Plasma, in any program or application, like Konsole, Firefox or Libreoffice. After the freeze, I can still use Ctrl+Alt+F2 to go to a terminal and kill X, and everything goes back to normal after restarting X - KDE with startx. So it looks like just a screen freeze, but I am not sure if anything else is working.
I have been having this issue for a couple of months now, as I could not identify the problem, and thought they were just random freezes. Those keys are seldomly used, but they are next to the ESC and DEL keys in the keyboard, so it is easy to accidentally press them from time to time and without noticing it. It has been when I was writing an email in Spanish with a few questions that I noticed the cause, and then tested the rest of special characters. I believe it started to happen after some update, but I cannot say precisely when and what update was the responsible.
I have tried to change the locale from en_US.utf8 to es_ES.utf8 and back, to no avail. The computer language is English, but I still have the keyboard layout to Spanish to be able to use dead keys and those special characters.
I am using kernel 6.6.21, KDE Plasma 5.27.11. I also have a NVIDIA RTX 4060 GPU using nvidia-drivers 550.76, if that is of any use.
Thank you very much in advance for your help. |
|
Back to top |
|
|
kgdrenefort Apprentice
Joined: 19 Sep 2023 Posts: 240 Location: Somewhere in the 77
|
Posted: Wed May 08, 2024 10:32 am Post subject: |
|
|
Hello,
That is indeed very weird.
I use bépo as a keyboard layout, and it allow access to some «uncommon» keys such as:
And way more, without having any kind of freeze in KDE Plasma or Xfce currently.
I'm maybe just guessing, but it looks like a bug (from KDE, Gentoo ?!).
----
Before digging more:
1/ What is your graphical server in use: X.org, Wayland ?
- a) Have you tested with both ? If both are installed, you can easily switch from SDDM menu (top-left corner IIRC)
2/ What is your GPU ?
You already answered that actually: NVIDIA RTX 4060 GPU
3/ What drivers is in use and configured into make.conf ?
Code: | grep -rin "VIDEO_CARDS" |
Same as point 3: nvidia-drivers 550.76
4/ How do you start you KDE Plasma session ? From SDDM ? StartX ? Other ?
5/ Could you try to reproduce this behaviour with another key mapping ? Did it still occur ?
6/ I do not know if it would be relevant, but in any case:
It could maybe give us some clue.
Since you are also using the NVidia-drivers, maybe it is worth to try nouveau, just in case it leads us to a problem from the drivers, or not. I guess it's not because of it, would more assume it's about X.org/Wayland. But still.
Hope to find you a fix for that, after months you are probably kind of annoyed ! :)
Regards,
GASPARD DE RENEFORT Kévin _________________ wiki/User:Kgdrenefort/captain_logs My system info
G. does not have problems, only learning opportunities. - NeddyS.
If your installation isn't valuable to you, feel free to continue to ignore the instructions. - figue. |
|
Back to top |
|
|
Viloflo n00b
Joined: 14 Dec 2005 Posts: 9
|
Posted: Wed May 08, 2024 12:12 pm Post subject: |
|
|
Quote: | 1/ What is your graphical server in use: X.org, Wayland ?
- a) Have you tested with both ? If both are installed, you can easily switch from SDDM menu (top-left corner IIRC) |
Currently is X11. I have just switched to Wayland, and the issue dissapears!
Quote: | 2/ What is your GPU ?
Code:
lspci | grep VGA
You already answered that actually: NVIDIA RTX 4060 GPU |
Yes, but I also have an Intel:
Code: | # lspci | grep VGA
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1)
|
Quote: | 3/ What drivers is in use and configured into make.conf ?
Code:
grep -rin "VIDEO_CARDS"
Same as point 3: nvidia-drivers 550.76 |
Code: | # grep -rin "VIDEO_CARDS" make.conf
20:VIDEO_CARDS="intel nvidia" |
Quote: | 4/ How do you start you KDE Plasma session ? From SDDM ? StartX ? Other ? |
startx
Code: | # cat .xinitrc
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
exec dbus-launch --exit-with-session startplasma-x11
|
Quote: | 5/ Could you try to reproduce this behaviour with another key mapping ? Did it still occur ? |
Yes, I tried with american english standard keyboard, and I get the same behaviour.
Quote: | 6/ I do not know if it would be relevant, but in any case:
Code:
emerge --info |
https://pastebin.com/hHy8r5Ez
So it looks like a problem in X, as Wayland does not have the issue. What can I test/change? (appart from moving to wayland)
Thank you so much for the fast answer! |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2038 Location: United Kingdom
|
Posted: Wed May 08, 2024 3:43 pm Post subject: |
|
|
Viloflo,
I don't have a problem typing the ¿, º and ª characters in applications (Yakuake, Konsole, KWrite, Kate, Firefox, LibreOffice, etc.) running in KDE Plasma under X11. My main laptop has Gentoo Linux (amd64) running OpenRC with NVIDIA Optimus graphics hardware, and it uses both nvidia-drivers and modesetting driver (xf86-video-intel is not installed):
Code: | $ grep VIDEO /etc/portage/make.conf
VIDEO_CARDS="intel modesetting nvidia" |
Code: | $ eix -I nvidia-drivers
[I] x11-drivers/nvidia-drivers
Available versions: [M]390.157(0/390) 470.239.06(0/470) 525.147.05(0/525) 535.161.07(0/535) 535.171.04(0/535) [M]~550.40.59(0/vulkan) 550.67(0/550) ~550.76(0/550) {+X dist-kernel kernel-open +modules modules-compress modules-sign persistenced powerd +static-libs +strip +tools wayland ABI_X86="32 64"}
Installed versions: 550.67(0/550)(18:48:43 30/04/24)(X modules static-libs strip tools wayland -dist-kernel -kernel-open -modules-compress -modules-sign -persistenced -powerd ABI_X86="32 64")
Homepage: https://www.nvidia.com/download/index.aspx
Description: NVIDIA Accelerated Graphics Driver |
My installation is configured to enable me to use English (British), English (US), Portuguese (Brazilian) and Spanish (Castilian) keyboards, which I can select using Alt-Shift on the keyboard or by clicking on the Keyboard Layout icon in the System Tray on the KDE Plasma Panel. There is no /etc/X11/xorg.conf file, but there are the following files:
Code: | $ ls /etc/X11/xorg*
01-nvidia-offload.conf 10-evdev.conf 20-opengl.conf 30-keyboard.conf 50-synaptics.conf |
Code: | $ cat /etc/X11/xorg.conf.d/01-nvidia-offload.conf
Section "ServerLayout"
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection |
Code: | $ cat /etc/X11/xorg.conf.d/10-evdev.conf
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
#Section "InputClass"
# Identifier "evdev touchpad catchall"
# MatchIsTouchpad "on"
# MatchDevicePath "/dev/input/event*"
# Driver "evdev"
#EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection |
Code: | $ cat /etc/X11/xorg.conf.d/20-opengl.conf
Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/lib64/xorg/modules"
EndSection |
Code: | $ cat /etc/X11/xorg.conf.d/30-keyboard.conf
Section "InputClass"
Identifier "keyboard"
# See /usr/share/X11/xkb/rules/base.lst for Options.
MatchIsKeyboard "yes"
Option "XkbLayout" "gb,us,br,es"
# Option "XkbModel" "pc104"
Option "XkbModel" "pc105"
# Option "XkbVariant" ""
Option "XkbVariant" "extd,altgr-intl,,"
Option "XkbOptions" "grp:alt_shift_toggle,compose:paus"
EndSection |
The KDE Plasma locale related files in my installation are:
Code: | $ cat ~/.config/plasma-locale-settings.sh
# Generated script, do not edit
# Exports language-format specific env vars from startkde.
# This script has been generated from kcmshell5 formats.
# It will automatically be overwritten from there.
export LANG=en_GB.UTF-8
export LANGUAGE=en_GB:en_US |
Code: | $ cat ~/.config/plasma-localerc
[Formats]
LANG=en_GB.UTF-8
[Translations]
LANGUAGE=en_GB:en_US |
The locales I configured are:
Code: | $ locale -a
C
C.utf8
POSIX
en_GB
en_GB.iso88591
en_GB.utf8
es_ES
es_ES.iso88591
es_ES.utf8
pt_BR
pt_BR.iso88591
pt_BR.utf8 |
You might also find the following article of help:
Notes on keyboard configuration in X Windows: Keyboard layout, Modifier Key and Compose Key _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.
My blog |
|
Back to top |
|
|
Viloflo n00b
Joined: 14 Dec 2005 Posts: 9
|
Posted: Thu May 09, 2024 10:52 am Post subject: |
|
|
Thank you Fitzcarraldo! I will play around with the keyboard configuration in X and see if I get some results.
. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|