Bug 284130 - vt console driver KMS: system console is not working
Summary: vt console driver KMS: system console is not working
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 14.2-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 07:44 UTC by Artem Kim
Modified: 2025-01-18 14:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Kim 2025-01-18 07:44:45 UTC
# pkg info | grep drm
drm-61-kmod-6.1.92.1401000_3   DRM drivers modules
drm-kmod-20220907_3            Metaport of DRM modules for the linuxkpi-based KMS components
gpu-firmware-kmod-20241114,1   Firmware modules for the drm-kmod drivers
libdrm-2.4.123,1               Direct Rendering Manager library and headers

# pkg info | grep sddm
plasma5-sddm-kcm-5.27.11       Plasma5 config module for SDDM
sddm-0.21.0                    QML based login manager


GPU

# kldstat
Id Refs Address                Size Name
 1   43 0xffffffff80200000  1243030 kernel
 2    1 0xffffffff81c21000   152de8 radeonkms.ko
 3    2 0xffffffff81d74000    86090 drm.ko
 4    2 0xffffffff81dfb000     4120 linuxkpi_video.ko
 5    3 0xffffffff81e00000     7350 dmabuf.ko
 6    3 0xffffffff81e08000     3378 lindebugfs.ko
 7    1 0xffffffff81e0c000     c338 ttm.ko
 8    1 0xffffffff81e19000     42e0 radeon_CAYMAN_pfp_bin.ko
 9    1 0xffffffff81e1e000     42e0 radeon_CAYMAN_me_bin.ko
10    1 0xffffffff81e23000     30e0 radeon_CAYMAN_rlc_bin.ko
11    1 0xffffffff81e27000     7f38 radeon_CAYMAN_mc_bin.ko
12    1 0xffffffff81e2f000     9ad0 radeon_CAYMAN_smc_bin.ko
13    1 0xffffffff81e39000    341f8 radeon_SUMO_uvd_bin.ko

# pciconf -lv
vgapci0@pci0:5:0:0:     class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x6718 subvendor=0x174b subdevice=0xe182
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Cayman XT [Radeon HD 6970]'
    class      = display
    subclass   = VGA

# cat /usr/src/sys/amd64/conf/MY
. . .
# syscons is the legacy console driver, resembling an SCO console
#device         vga                     # VGA video card driver
#device         splash                  # Splash screen and screen saver support
#device         sc
#options        SC_PIXEL_MODE           # add support for the raster text mode

# vt is the default video console driver
device          vt
device          vt_vga
device          vt_efifb
device          vt_vbefb

#device         agp                     # support several AGP chipsets
. . .

the system console is not working. the screen just goes blank.but the graphics console (I'm using SDDM and x11-KDE5) works well. SDDM switches to graphical mode and I can use the system as usual.