Emacs-pgtk-native-comp-git has blurry fonts

Hi folks,

recently, I've noticed that GUI Emacs provided by emacs-pgtk-native-comp-git-29.0.50.157440-1, shows blurred/skewed/pixelated font variants (everything that's not plain, mono type is blurry).

Using GUI Emacs from the emacs package shows all the font variants (bold, regular++) just tine.

The emacs-pgtk-native-comp-git-29.0.50.157440-1 package: emacs -q

The standard emacs package: emacs -q

garuda-inxi

System:
Kernel: 5.18.3-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=73cc91be-cfee-4b5f-9747-22378b7a1a64 rw [email protected]
quiet
cryptdevice=UUID=2f5aef14-eaa9-474e-93dc-1b31674d12ba:luks-2f5aef14-eaa9-474e-93dc-1b31674d12ba
root=/dev/mapper/luks-2f5aef14-eaa9-474e-93dc-1b31674d12ba splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: i3 v: 4.20.1 vt: 1 dm: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20XWCTO1WW v: ThinkPad X1 Carbon Gen 9
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: LENOVO model: 20XWCTO1WW serial: <superuser required> UEFI: LENOVO
v: N32ET75W (1.51 ) date: 12/02/2021
Battery:
ID-1: BAT0 charge: 52.8 Wh (100.0%) condition: 52.8/57.0 Wh (92.7%)
volts: 17.2 min: 15.4 model: Celxpert 5B10W13974 type: Li-poly
serial: <filter> status: full cycles: 89
CPU:
Info: model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
arch: Tiger Lake built: 2020 process: Intel 10nm family: 6
model-id: 0x8C (140) stepping: 1 microcode: 0xA4
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1157 high: 1404 min/max: 400/4800 scaling:
driver: intel_pstate governor: powersave cores: 1: 1404 2: 954 3: 1291
4: 1111 5: 886 6: 1251 7: 1210 8: 1155 bogomips: 47923
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
driver: i915 v: kernel arch: Gen12.1 process: Intel 10nm built: 2020-21
ports: active: DP-2,HDMI-A-1,eDP-1
empty: DP-1, DP-3, DP-4, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0
chip-ID: 8086:9a49 class-ID: 0300
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-4:3 chip-ID: 04f2:b6ea class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: Compton driver: X: loaded: intel unloaded: modesetting
alternate: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 7040x1440 s-dpi: 96 s-size: 1857x380mm (73.11x14.96")
s-diag: 1895mm (74.63")
Monitor-1: DP-2 mapped: DP2 pos: right model: Dell U2518D
serial: <filter> built: 2018 res: 2560x1440 hz: 60 dpi: 118 gamma: 1.2
size: 550x310mm (21.65x12.2") diag: 634mm (25") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI1 pos: center model: Dell U2518D
serial: <filter> built: 2018 res: 2560x1440 hz: 60 dpi: 118 gamma: 1.2
size: 550x310mm (21.65x12.2") diag: 634mm (25") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
Monitor-3: eDP-1 mapped: eDP1 pos: primary,left model-id: CSO 0x1404
built: 2020 res: 1920x1200 hz: 60 dpi: 163 gamma: 1.2
size: 300x190mm (11.81x7.48") diag: 356mm (14") ratio: 16:10
modes: 1920x1200
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.1
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 5-1:2
chip-ID: 17ef:306a bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:a0c8
class-ID: 0403 serial: <filter>
Device-2: Lenovo ThinkPad Thunderbolt 3 Dock Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound Server-1: ALSA v: k5.18.3-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.0 running: no
Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
chip-ID: 8086:a0f0 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Lenovo USB-C Hub type: USB driver: r8152 bus-ID: 2-2.1:5
chip-ID: 17ef:7214 class-ID: 0000 serial: <filter>
IF: enp0s13f0u2u1 state: down mac: <filter>
Device-3: Lenovo ThinkPad TBT3 LAN type: USB driver: r8152 bus-ID: 8-1:2
chip-ID: 17ef:3069 class-ID: 0000 serial: <filter>
IF: enp84s0u1 state: down mac: <filter>
IF-ID-1: virbr0 state: up speed: 10 Mbps duplex: unknown mac: <filter>
IF-ID-2: virbr1 state: down mac: <filter>
IF-ID-3: vnet0 state: unknown speed: 10 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-10:4 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 301.98 GiB (31.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVL21T0HCLR-00BL7 size: 953.87 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: AL2QGXA7 temp: 39.9 C scheme: GPT
Partition:
ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 301.97 GiB (31.7%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-2f5aef14-eaa9-474e-93dc-1b31674d12ba
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 11.8 MiB (3.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 301.97 GiB (31.7%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-2f5aef14-eaa9-474e-93dc-1b31674d12ba
ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 301.97 GiB (31.7%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-2f5aef14-eaa9-474e-93dc-1b31674d12ba
ID-5: /var/tmp raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 301.97 GiB (31.7%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-2f5aef14-eaa9-474e-93dc-1b31674d12ba
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.06 GiB used: 936.2 MiB (2.9%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 56.0 C mobo: N/A
Fan Speeds (RPM): fan-1: 4587 fan-2: 4576
Info:
Processes: 382 Uptime: 4d 21h 17m wakeups: 3324 Memory: 31.06 GiB
used: 10.73 GiB (34.6%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages:
note: see --pkg pacman: 1958 lib: 497 Shell: fish v: 3.4.1 default: Zsh
v: 5.9 running-in: konsole inxi: 3.3.18
Garuda (2.6.4-1):
System install date:     2021-12-22
Last full system update: 2022-06-21 ↻
Is partially upgraded:   No
Relevant software:       None
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            systemd-networkd-wait-online.service

Since when has this been the case?

Does it change after a reboot?

Did you search about in the WWW?

3 Likes

This might actually be an issue with the application itself, it would be better to report this at either the AUR page or GitHub. We just build that package as-is from the AUR PKGBUILD :slight_smile:

2 Likes

Does it change after a reboot?

I haven't checked that. I thought that since it worked as expected when installing the emacs package and running it, a restart of the X session (or OS) wouldn't affect the outcome.

Did you search about in the WWW?

Yes, I did, but my search foo wasn't up to the task, didn't find anything that matched exactly what I was after. The articles I found suggested that it was down to the font used, which it is not in my case.

Roger that. Thanks for the insight :smile:

1 Like

I've been away for 3 weeks on holiday, so I don't know when this broke :disappointed: The only thing I now time wise, is that it worked before I went traveling.

1 Like