[Bug 1947484] Re: Ubuntu 21.10, 5.13.0-19. System freeze when power cable unplugged
** Description changed: I'm using KDE Plasma on Ubuntu 21.10 with kernel 5.13.0-19. Recently, my laptop has been freezing upon unplugging the power cord. The sysrq keys do not work when this occurs. - When I switch kernels, the problem does not occur. The following - kernels do not freeze when I unplug the power cable. + Previously, the problem appeared to resolve when switching kernels. + However, when I tried to obtain logs, the problem began to occur on all + installed kernels (5.14.12, 5.13.19, and 5.13.18 from + https://kernel.ubuntu.com/~kernel-ppa/mainline/). - * kernel 5.14.12 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14.12/ - * kernel 5.13.19 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.19/ + Logs cannot be obtained because none appear to be saved to disk during + the crash. (journalctl -k -b -1) - When I boot back into the 5.13.0-19 kernel, the problem recurs. - - I had also tried changing various system settings, bios settings, and - packages, none of which made any difference, aside from switching + Since the problem appears kernel related, I tried removing potentially + problematic kernel options from /etc/default/grub. After removing all + acpi and i915 options (which I had enabled because they had previously + been needed to make the backlight work and reduce gpu crashes), the + problem again *appears* to have resolved with all of the aforementioned kernels. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1947484 Title: Ubuntu 21.10, 5.13.0-19. System freeze when power cable unplugged To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1947484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1947484] Re: Ubuntu 21.10, 5.13.0-19. System freeze when power cable unplugged
This is a kernel bug. Changing package to linux. ** Package changed: kubuntu-meta (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1947484 Title: Ubuntu 21.10, 5.13.0-19. System freeze when power cable unplugged To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1947484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1947484] [NEW] Ubuntu 21.10, 5.13.0-19. System freeze when power cable unplugged
Public bug reported: I'm using KDE Plasma on Ubuntu 21.10 with kernel 5.13.0-19. Recently, my laptop has been freezing upon unplugging the power cord. The sysrq keys do not work when this occurs. When I switch kernels, the problem does not occur. The following kernels do not freeze when I unplug the power cable. * kernel 5.14.12 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14.12/ * kernel 5.13.19 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.19/ When I boot back into the 5.13.0-19 kernel, the problem recurs. I had also tried changing various system settings, bios settings, and packages, none of which made any difference, aside from switching kernels. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: kernel-bug -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1947484 Title: Ubuntu 21.10, 5.13.0-19. System freeze when power cable unplugged To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1947484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
Thank you. I have done as you suggest. Upstream merge request is here: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/128 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/fontconfig/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
> How do you make it replace CourierStd with Ubuntu Mono? > Do you have custom font configuration which affect it? I created custom config files to define the fallback fonts after having issues with strange fallback font selection a few years ago. The problem is associated with the generic font families including fonts of the wrong type (described in my previous comment #17). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
The following config would be better than the one I proposed earlier: CourierStd Courier CourierStd monospace I submitted a request to fontconfig: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/262 - What one person considers sane isn't necessarily so. *Assuming* sane defaults isn't really sensible. Here are some examples, not directly related to the issue at hand: * In a "sane" configuration, we'd expect a list of monospace fonts when requesting the generic monospace font family. Similarly for the generic serif and sans-serif families. However, the following commands show that fonts of all three types are included in all of the generic families. fc-match -s monospace fc-match -s sans-serif fc-match -s serif Normally, it doesn't cause problems because fonts of the right type are at the beginning of the list. However, if a specific font is requested, an obviously incorrect substitution can be made (eg, sans-serif font shown when serif was requested) because fonts of all types are in all of the lists. Maybe developers in the past thought it was fine because some config further along could be assumed to have sane defaults? Or maybe they thought it was just a theoretical problem that wouldn't ever occur? But it's not just theoretical. I have encountered real issues, which is why I know of it at all. * Many people believe that if they request a font that isn't installed, Ubuntu will substitute a font it "thinks" looks similar. They don't realize that it has to be defined in the config files. So if they request a font that's not defined, like CourierStd, Ubuntu will fallback to sans-serif, even though every human immediately knows the Courier substitutions should be used – and that would be the sane default. But here, we're explicitly deciding *not* to, even knowing there is a theoretical risk of problematic substitutions in the future. ** Bug watch added: gitlab.freedesktop.org/fontconfig/fontconfig/-/issues #262 https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/262 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
I just checked a few fonts. The fonts I thought might have problems are mostly fine. Only some consecutive capitals clash, like WWW. Ubuntu Mono looks bad (too much space), but it's readable. I'll submit a request at the fontconfig gitlab. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
The proposed patch might not fix the problem on all machines because not all monospace fonts have the same metrics as Courier. So it would be good to also add the following to 30-metric-aliases.conf: CourierStd Nimbus Mono PS TeX Gyre Cursor Cousine Liberation Mono Cumberland Cumberland AMT -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
CourierStd is not defined in any of the config files at `/etc/fonts/conf.d`, so it falls back to sans-serif, not monospace. On my computer, the sans-serif fallback is set to Ubuntu. In config files at `/etc/fonts/conf.d`, creating duplicate rules for "CourierStd" each time "Courier" or "Courier New" is mentioned should fix the problem. On my computer, `grep -Rl Courier` lists the following files: 30-metric-aliases.conf 45-latin.conf 60-latin.conf Using `apt-file search`, the package those files belong to is `fontconfig-config`. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1824260] Re: wrong kerning in SS-5 PDF form fields
Looking at `ss-5.pdf`, I saw the same rendering issue. The problem appears to be associated with font substitution. In particular, CourierStd is replaced with Ubuntu, which obviously won't render properly. ![pdf-fonts](/uploads/aaa50e12cccb20910b8fa7c5d2d01b57/pdf-fonts.png) I was able to correct the issue by installing the `fonts-urw-base35` package and creating a file `~/.config/fontconfig/conf.d/10-pdf- aliases.conf` with the following contents: CourierStd Nimbus Mono PS This problem can likely be fixed by adding font substitution rules to the appropriate font packages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824260 Title: wrong kerning in SS-5 PDF form fields To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/1824260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1633505] Re: gmrun gets a segment fault
Suspect the problem is with libpng16. The xenial package uses libpng12. >From the libpng website: The libpng 1.5.x and 1.6.x series continue the evolution of the libpng API, finally hiding the contents of the venerable and hoary png_struct and png_info data structures inside private (i.e., non-installed) header files. Instead of direct struct-access, applications should be using the various png_get_xxx() and png_set_xxx() accessor functions, which have existed for almost as long as libpng itself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633505 Title: gmrun gets a segment fault To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gmrun/+bug/1633505/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 779989] Re: No longer available in “add to panel…” in Ubuntu 11.04
** Changed in: window-picker-applet (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/779989 Title: No longer available in “add to panel…” in Ubuntu 11.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/window-picker-applet/+bug/779989/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1417320] Re: Screen turns black (only mouse cursor left) when rotating screen
Rotating the screen with xrandr also gives me a black screen with working mouse cursor. The problem goes away when I set AccelMethod to UXA (the default is SNA), which I did by creating a file "/usr/share/X11/xorg.conf.d/20-intel.conf" with the following contents: Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "uxa" EndSection -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417320 Title: Screen turns black (only mouse cursor left) when rotating screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1417320/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs