Skip to content

Bad rendering of font width and incomplete rendering of glyphs with pango font engine #60

@davethecipo

Description

@davethecipo

Hi,
I'm trying to use this patched version of kmscon alongside the patched libtsm.
I'm no expert at all in this area so correct me if I write anything that doesn't make sense.
I'm testing different CLI options, for example if I run as root kmscon --vt=tty4 --no-switchvt --debug --font-name="FiraMono Nerd Font" --font-engine=pango I get the following result

PXL_20220820_195127592 MP

And this is the log

[0000.000000] NOTICE: kmscon Revision v9.0.0-10-g20a2fc4 Aug 20 2022 21:06:55 (log_print_init() in ../src/shl_log.c:509)
[0000.003580] INFO: systemd: system booted with systemd, enabling multi-seat support (uterm_sd_new() in ../src/uterm_systemd.c:67)
[0000.009567] NOTICE: vt: using tty /dev/tty4 (open_tty() in ../src/uterm_vt.c:285)
[0000.062376] INFO: drm_shared: new drm device via /dev/dri/card1 (uterm_drm_video_init() in ../src/uterm_drm_shared.c:501)
[0000.062447] INFO: video: new device 0x1a4d210 (uterm_video_new() in ../src/uterm_video.c:576)
[0000.062867] INFO: ignoring video device /dev/fb0 on seat seat0 as it is a DRM-fbdev device (app_seat_gpu_is_ignored() in ../src/kmscon_main.c:287)
[0000.162271] INFO: drm_shared: new drm device via /dev/dri/card0 (uterm_drm_video_init() in ../src/uterm_drm_shared.c:501)
[0000.162302] INFO: video: new device 0x1a4d060 (uterm_video_new() in ../src/uterm_video.c:576)
[0001.936820] INFO: video: new display 0x1a4ef40 (display_new() in ../src/uterm_video.c:235)
[0001.936852] INFO: drm_shared: display 0x1a4ef40 DPMS is ON (bind_display() in ../src/uterm_drm_shared.c:632)
[0002.003164] INFO: video: new display 0x1a37210 (display_new() in ../src/uterm_video.c:235)
[0002.003187] INFO: drm_shared: display 0x1a37210 DPMS is ON (bind_display() in ../src/uterm_drm_shared.c:632)
[0002.106064] INFO: video_drm2d: activating display 0x1a37210 to 2560x1440 (display_activate() in ../src/uterm_drm2d_video.c:172)
[0002.233852] INFO: drm_shared: setting DPMS of display 0x1a37210 to ON (uterm_drm_display_set_dpms() in ../src/uterm_drm_shared.c:295)
[0002.300846] INFO: video_drm2d: activating display 0x1a4ef40 to 1440x900 (display_activate() in ../src/uterm_drm2d_video.c:172)
[0002.570490] INFO: drm_shared: setting DPMS of display 0x1a4ef40 to ON (uterm_drm_display_set_dpms() in ../src/uterm_drm_shared.c:295)

The kernel is

uname -r
5.18.17-200.fc36.x86_64

The monitor is connected to a Nvidia GPU and the graphical drivers on the system are i915 and nouveau

inxi -G
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    driver: i915 v: kernel
  Device-2: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nouveau v: kernel
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: nouveau resolution:
    1: 1440x900~60Hz 2: 2560x1440~60Hz
  OpenGL: renderer: NV166 v: 4.3 Mesa 22.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions