Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Question - installing Xorg on gentoo KVM guest vm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1283

PostPosted: Mon Jun 10, 2024 10:48 am    Post subject: [solved] Question - installing Xorg on gentoo KVM guest vm Reply with quote

I have a gentoo guest installed on a ProxMox Hypervisor. While until recently console access was enough, I would like to also use it with a gui in the future. Thus I installed xorg-server, but I am not able to run it successfully. I am also unsure on which vgpu driver would give the best performance. The host has the following installed:
Code:
01:00.1 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200EH (rev 01)
- if that matters.

My first question would be:
- is the host vgpu dependent on the host gpu? Does it make sense to try things like virgl qxl, spicel or should the goal be to just use the default vga implementation that runs successfully on other linux guests, which is: VGA compatible controller: Device 1234:1111? I am still to decide if I will connect throught ms rdp, vnc or spice - depending on the performance I can get of those.

When configuring /etc/conf.d/display-manager to run sddm and adding xdm to default runlevel, the screen starts flickering. Does my kernel config miss some modules or is it my useflags that are missing evident parts? After comparing the loaded modules on other linux guests I additionally activated the following option
Code:
DRM Support for bochs display vga interface
as module in the gentoo guest kernel. Now the screen is not flickering anymore but is black with a mouse blinking from time to time.

lsmod gentoo guest:
Code:

Module                  Size  Used by
bochs                  16384  1
drm_vram_helper        24576  1 bochs
drm_ttm_helper         12288  2 bochs,drm_vram_helper
ttm                    98304  2 drm_vram_helper,drm_ttm_helper
drm_kms_helper        208896  2 bochs,drm_vram_helper
drm                   712704  7 drm_kms_helper,bochs,drm_vram_helper,drm_ttm_helper,ttm
drm_panel_orientation_quirks    24576  1 drm


lsmod ubuntu guest:
Code:
Module                  Size  Used by
cpuid                  12288  0
tls                   151552  0
binfmt_misc            24576  1
nls_iso8859_1          12288  1
bochs                  20480  1
drm_vram_helper        24576  1 bochs
drm_ttm_helper         12288  2 bochs,drm_vram_helper
ttm                   110592  2 drm_vram_helper,drm_ttm_helper
joydev                 32768  0
drm_kms_helper        274432  4 bochs,drm_vram_helper
input_leds             12288  0
mac_hid                12288  0
serio_raw              20480  0
vmgenid                12288  0
qemu_fw_cfg            24576  0
sch_fq_codel           24576  2
msr                    12288  0
parport_pc             53248  0
ppdev                  24576  0
drm                   765952  7 drm_kms_helper,bochs,drm_vram_helper,drm_ttm_helper,ttm
lp                     28672  0
parport                77824  3 parport_pc,lp,ppdev
efi_pstore             12288  0
ip_tables              36864  0
x_tables               69632  1 ip_tables
autofs4                57344  2
hid_generic            12288  0
psmouse               212992  0
usbhid                 77824  0
hid                   180224  2 usbhid,hid_generic
i2c_piix4              28672  0
pata_acpi              12288  0
floppy                131072  0



emerge --info
Code:
Portage 3.0.63 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.30-gentoo x86_64)
=================================================================
System uname: Linux-6.6.30-gentoo-x86_64-Common_KVM_processor-with-glibc2.39
KiB Mem:   103010512 total, 102363400 free
KiB Swap:   16777208 total,  16777208 free
Timestamp of repository gentoo: Tue, 04 Jun 2024 10:00:00 +0000
Head commit of repository gentoo: 0fbdb2c3e70feac0cf2f6a38535d066e32ebeeb7
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS=""
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="https://mirror.init7.net/gentoo/ http://mirror.init7.net/gentoo/ rsync://mirror.init7.net/gentoo/"
LANG="de_CH.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de de_CH"
MAKEOPTS="-j36"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop snmp sound spell split-usr ssl startup-notification svg syslog test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xorg xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="de de_CH" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="fbdev mga qxl vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


This is my kernel config on the gentoo guest:
http://dpaste.com/GCERKR6BX

Or is it just a matter of xorg configuration?

Please let me know if any other info can help solving this. Thanks in advance for your assistance.

Edit to add, that I must have configured something wrongly in my kernel, as now in the middle of the openrc start sequence it stops showing the services starting. I think that it does stop where it is supposed to change resolution normally, while continuing showing the services that are starting... The system still boots up as I can connect to it by ssh. Following the dmesg output:
Code:
[    0.000000] Linux version 6.6.30-gentoo (root@GRPZLVSRV001) (gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210, GNU ld (Gentoo 2.42 p3) 2.42.0) #9 SMP PREEMPT_DYNAMIC Mon Jun 10 09:55:51 CEST 2024
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.6.30-gentoo root=PARTUUID=523df8ae-03 ro
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bffd9fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bffda000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000193fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: using sched offset of 244209657511017 cycles
[    0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000004] tsc: Detected 2297.338 MHz processor
[    0.000760] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000763] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000767] last_pfn = 0x1940000 max_arch_pfn = 0x400000000
[    0.000790] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[    0.000792] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- UC 
[    0.000822] last_pfn = 0xbffda max_arch_pfn = 0x400000000
[    0.008706] found SMP MP-table at [mem 0x000f5b50-0x000f5b5f]
[    0.009641] ACPI: Early table checksum verification disabled
[    0.009644] ACPI: RSDP 0x00000000000F5B10 000014 (v00 BOCHS )
[    0.009651] ACPI: RSDT 0x00000000BFFE2C03 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.009657] ACPI: FACP 0x00000000BFFE28D5 000074 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.009664] ACPI: DSDT 0x00000000BFFDE040 004895 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.009667] ACPI: FACS 0x00000000BFFDE000 000040
[    0.009670] ACPI: APIC 0x00000000BFFE2949 000190 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.009673] ACPI: SSDT 0x00000000BFFE2AD9 0000CA (v01 BOCHS  VMGENID  00000001 BXPC 00000001)
[    0.009677] ACPI: HPET 0x00000000BFFE2BA3 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.009680] ACPI: WAET 0x00000000BFFE2BDB 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.009682] ACPI: Reserving FACP table memory at [mem 0xbffe28d5-0xbffe2948]
[    0.009684] ACPI: Reserving DSDT table memory at [mem 0xbffde040-0xbffe28d4]
[    0.009684] ACPI: Reserving FACS table memory at [mem 0xbffde000-0xbffde03f]
[    0.009685] ACPI: Reserving APIC table memory at [mem 0xbffe2949-0xbffe2ad8]
[    0.009686] ACPI: Reserving SSDT table memory at [mem 0xbffe2ad9-0xbffe2ba2]
[    0.009687] ACPI: Reserving HPET table memory at [mem 0xbffe2ba3-0xbffe2bda]
[    0.009687] ACPI: Reserving WAET table memory at [mem 0xbffe2bdb-0xbffe2c02]
[    0.009970] No NUMA configuration found
[    0.009971] Faking a node at [mem 0x0000000000000000-0x000000193fffffff]
[    0.009974] NODE_DATA(0) allocated [mem 0x193ff9c000-0x193ff9ffff]
[    0.010051] Zone ranges:
[    0.010052]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.010054]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.010055]   Normal   [mem 0x0000000100000000-0x000000193fffffff]
[    0.010056] Movable zone start for each node
[    0.010057] Early memory node ranges
[    0.010057]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.010058]   node   0: [mem 0x0000000000100000-0x00000000bffd9fff]
[    0.010060]   node   0: [mem 0x0000000100000000-0x000000193fffffff]
[    0.010066] Initmem setup node 0 [mem 0x0000000000001000-0x000000193fffffff]
[    0.010073] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.010110] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.266496] On node 0, zone Normal: 38 pages in unavailable ranges
[    0.267756] ACPI: PM-Timer IO Port: 0x608
[    0.267768] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.267820] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.267823] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.267825] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.267826] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.267828] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.267829] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.267833] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.267835] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.267840] smpboot: Allowing 36 CPUs, 0 hotplug CPUs
[    0.267857] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()
[    0.267873] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.267875] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.267876] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.267877] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.267878] PM: hibernation: Registered nosave memory: [mem 0xbffda000-0xbfffffff]
[    0.267880] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfeffbfff]
[    0.267880] PM: hibernation: Registered nosave memory: [mem 0xfeffc000-0xfeffffff]
[    0.267881] PM: hibernation: Registered nosave memory: [mem 0xff000000-0xfffbffff]
[    0.267882] PM: hibernation: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[    0.267883] [mem 0xc0000000-0xfeffbfff] available for PCI devices
[    0.267885] Booting paravirtualized kernel on KVM
[    0.267886] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.273373] setup_percpu: NR_CPUS:64 nr_cpumask_bits:36 nr_cpu_ids:36 nr_node_ids:1
[    0.275814] percpu: Embedded 53 pages/cpu s178728 r8192 d30168 u262144
[    0.275820] pcpu-alloc: s178728 r8192 d30168 u262144 alloc=1*2097152
[    0.275823] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15
[    0.275830] pcpu-alloc: [0] 16 17 18 19 20 21 22 23 [0] 24 25 26 27 28 29 30 31
[    0.275837] pcpu-alloc: [0] 32 33 34 35 -- -- -- --
[    0.275859] Kernel command line: BOOT_IMAGE=/vmlinuz-6.6.30-gentoo root=PARTUUID=523df8ae-03 ro
[    0.275883] Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-6.6.30-gentoo", will be passed to user space.
[    0.275888] printk: log_buf_len individual max cpu contribution: 4096 bytes
[    0.275889] printk: log_buf_len total cpu_extra contributions: 143360 bytes
[    0.275890] printk: log_buf_len min size: 262144 bytes
[    0.276341] printk: log_buf_len: 524288 bytes
[    0.276342] printk: early log buf free: 255400(97%)
[    0.286521] Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes, linear)
[    0.291199] Inode-cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[    0.291821] Fallback order for Node 0: 0
[    0.291842] Built 1 zonelists, mobility grouping on.  Total pages: 25804506
[    0.291843] Policy zone: Normal
[    0.291846] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.291851] software IO TLB: area num 64.
[    0.605092] Memory: 103007536K/104857056K available (16384K kernel code, 2981K rwdata, 6028K rodata, 2556K init, 1624K bss, 1849260K reserved, 0K cma-reserved)
[    0.605317] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=36, Nodes=1
[    0.605341] Kernel/User page tables isolation: enabled
[    0.606746] Dynamic Preempt: voluntary
[    0.606942] rcu: Preemptible hierarchical RCU implementation.
[    0.606943] rcu:    RCU event tracing is enabled.
[    0.606944] rcu:    RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=36.
[    0.606945]    Trampoline variant of Tasks RCU enabled.
[    0.606946] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.606947] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=36
[    0.608827] NR_IRQS: 4352, nr_irqs: 712, preallocated irqs: 16
[    0.609090] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.618996] Console: colour VGA+ 80x25
[    0.619000] printk: console [tty0] enabled
[    0.665057] ACPI: Core revision 20230628
[    0.665520] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.666195] APIC: Switch to symmetric I/O mode setup
[    0.666553] APIC: Switched APIC routing to: physical flat
[    0.668301] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.668669] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x211d6274d86, max_idle_ns: 440795243673 ns
[    0.669297] Calibrating delay loop (skipped) preset value.. 4594.67 BogoMIPS (lpj=2297338)
[    0.669913] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.670295] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.670646] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.671121] Spectre V2 : Mitigation: Retpolines
[    0.671294] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.671804] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.672294] Speculative Store Bypass: Vulnerable
[    0.672605] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.672955] MMIO Stale Data: Unknown: No mitigations
[    0.673296] x86/fpu: x87 FPU will use FXSAVE
[    0.689268] Freeing SMP alternatives memory: 44K
[    0.689297] pid_max: default: 36864 minimum: 301
[    0.689643] LSM: initializing lsm=capability,selinux,integrity
[    0.690303] SELinux:  Initializing.
[    0.690825] Mount-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.691442] Mountpoint-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.794482] smpboot: CPU0: Intel Common KVM processor (family: 0xf, model: 0x6, stepping: 0x1)
[    0.795241] RCU Tasks: Setting shift to 6 and lim to 1 rcu_task_cb_adjust=1.
[    0.795316] Performance Events: unsupported Netburst CPU model 6 no PMU driver, software events only.
[    0.795897] signal: max sigframe size: 1440
[    0.796332] rcu: Hierarchical SRCU implementation.
[    0.796636] rcu:    Max phase no-delay instances is 400.
[    0.797616] smp: Bringing up secondary CPUs ...
[    0.798021] smpboot: x86: Booting SMP configuration:
[    0.798296] .... node  #0, CPUs:        #1  #2  #3  #4  #5  #6  #7  #8  #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31 #32 #33 #34 #35
[    0.059194] smpboot: CPU 18 Converting physical 0 to logical die 1
[    1.235497] smp: Brought up 1 node, 36 CPUs
[    1.237297] smpboot: Max logical packages: 2
[    1.237611] smpboot: Total of 36 processors activated (165408.33 BogoMIPS)
[    1.249348] devtmpfs: initialized
[    1.249889] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    1.250311] futex hash table entries: 16384 (order: 8, 1048576 bytes, linear)
[    1.251511] PM: RTC time: 10:57:31, date: 2024-06-10
[    1.252214] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    1.252406] audit: initializing netlink subsys (disabled)
[    1.252863] audit: type=2000 audit(1718017050.981:1): state=initialized audit_enabled=0 res=1
[    1.252863] thermal_sys: Registered thermal governor 'step_wise'
[    1.253295] thermal_sys: Registered thermal governor 'user_space'
[    1.254311] cpuidle: using governor menu
[    1.255469] PCI: Using configuration type 1 for base access
[    1.256575] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    1.257348] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    1.257775] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    1.258444] ACPI: Added _OSI(Module Device)
[    1.258683] ACPI: Added _OSI(Processor Device)
[    1.259295] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.259640] ACPI: Added _OSI(Processor Aggregator Device)
[    1.261613] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    1.262722] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[    1.263595] ACPI: Interpreter enabled
[    1.263941] ACPI: PM: (supports S0 S3 S4 S5)
[    1.264245] ACPI: Using IOAPIC for interrupt routing
[    1.264311] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.264909] PCI: Using E820 reservations for host bridge windows
[    1.265507] ACPI: Enabled 3 GPEs in block 00 to 0F
[    1.272799] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.273223] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    1.273296] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[    1.274303] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[    1.275463] PCI host bridge to bus 0000:00
[    1.275815] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.276238] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.276296] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    1.276850] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    1.277295] pci_bus 0000:00: root bus resource [mem 0x1940000000-0x19bfffffff window]
[    1.277861] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.278358] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    1.279639] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    1.280812] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    1.285763] pci 0000:00:01.1: reg 0x20: [io  0xf140-0xf14f]
[    1.287821] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.288295] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.288740] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.289295] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.289928] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300
[    1.294100] pci 0000:00:01.2: reg 0x20: [io  0xf100-0xf11f]
[    1.296338] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    1.297334] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    1.297869] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    1.298540] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    1.300309] pci 0000:00:02.0: reg 0x10: [mem 0xfa000000-0xfbffffff pref]
[    1.305313] pci 0000:00:02.0: reg 0x18: [mem 0xfea50000-0xfea50fff]
[    1.312895] pci 0000:00:02.0: reg 0x30: [mem 0xfea40000-0xfea4ffff pref]
[    1.313401] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.314733] pci 0000:00:03.0: [1af4:1002] type 00 class 0x00ff00
[    1.315790] pci 0000:00:03.0: reg 0x10: [io  0xf080-0xf0bf]
[    1.321168] pci 0000:00:03.0: reg 0x20: [mem 0xfc600000-0xfc603fff 64bit pref]
[    1.325134] pci 0000:00:05.0: [1b36:0001] type 01 class 0x060400
[    1.326809] pci 0000:00:05.0: reg 0x10: [mem 0xfea51000-0xfea510ff 64bit]
[    1.330007] pci 0000:00:08.0: [1af4:1003] type 00 class 0x078000
[    1.331949] pci 0000:00:08.0: reg 0x10: [io  0xf0c0-0xf0ff]
[    1.333296] pci 0000:00:08.0: reg 0x14: [mem 0xfea52000-0xfea52fff]
[    1.338296] pci 0000:00:08.0: reg 0x20: [mem 0xfc604000-0xfc607fff 64bit pref]
[    1.341735] pci 0000:00:0b.0: [1af4:1001] type 00 class 0x010000
[    1.343296] pci 0000:00:0b.0: reg 0x10: [io  0xf000-0xf07f]
[    1.345296] pci 0000:00:0b.0: reg 0x14: [mem 0xfea53000-0xfea53fff]
[    1.352296] pci 0000:00:0b.0: reg 0x20: [mem 0xfc608000-0xfc60bfff 64bit pref]
[    1.356946] pci 0000:00:12.0: [1af4:1000] type 00 class 0x020000
[    1.358295] pci 0000:00:12.0: reg 0x10: [io  0xf120-0xf13f]
[    1.360295] pci 0000:00:12.0: reg 0x14: [mem 0xfea54000-0xfea54fff]
[    1.364908] pci 0000:00:12.0: reg 0x20: [mem 0xfc60c000-0xfc60ffff 64bit pref]
[    1.366295] pci 0000:00:12.0: reg 0x30: [mem 0xfea00000-0xfea3ffff pref]
[    1.368295] pci 0000:00:1e.0: [1b36:0001] type 01 class 0x060400
[    1.370295] pci 0000:00:1e.0: reg 0x10: [mem 0xfea55000-0xfea550ff 64bit]
[    1.374860] pci 0000:00:1f.0: [1b36:0001] type 01 class 0x060400
[    1.376826] pci 0000:00:1f.0: reg 0x10: [mem 0xfea56000-0xfea560ff 64bit]
[    1.379760] pci_bus 0000:01: extended config space not accessible
[    1.380475] pci 0000:00:05.0: PCI bridge to [bus 01]
[    1.380847] pci 0000:00:05.0:   bridge window [io  0xe000-0xefff]
[    1.381262] pci 0000:00:05.0:   bridge window [mem 0xfe800000-0xfe9fffff]
[    1.381329] pci 0000:00:05.0:   bridge window [mem 0xfc400000-0xfc5fffff 64bit pref]
[    1.382735] pci_bus 0000:02: extended config space not accessible
[    1.383589] pci 0000:00:1e.0: PCI bridge to [bus 02]
[    1.384313] pci 0000:00:1e.0:   bridge window [io  0xd000-0xdfff]
[    1.384730] pci 0000:00:1e.0:   bridge window [mem 0xfe600000-0xfe7fffff]
[    1.385194] pci 0000:00:1e.0:   bridge window [mem 0xfc200000-0xfc3fffff 64bit pref]
[    1.386523] pci_bus 0000:03: extended config space not accessible
[    1.386631] pci 0000:00:1f.0: PCI bridge to [bus 03]
[    1.387016] pci 0000:00:1f.0:   bridge window [io  0xc000-0xcfff]
[    1.387314] pci 0000:00:1f.0:   bridge window [mem 0xfe400000-0xfe5fffff]
[    1.387743] pci 0000:00:1f.0:   bridge window [mem 0xfc000000-0xfc1fffff 64bit pref]
[    1.392613] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[    1.393321] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[    1.394357] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    1.394926] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    1.395444] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[    1.398924] iommu: Default domain type: Translated
[    1.399295] iommu: DMA domain TLB invalidation policy: lazy mode
[    1.399872] SCSI subsystem initialized
[    1.400407] libata version 3.00 loaded.
[    1.400415] ACPI: bus type USB registered
[    1.401335] usbcore: registered new interface driver usbfs
[    1.401716] usbcore: registered new interface driver hub
[    1.401716] usbcore: registered new device driver usb
[    1.401716] pps_core: LinuxPPS API ver. 1 registered
[    1.402039] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.403299] PTP clock support registered
[    1.403663] Advanced Linux Sound Architecture Driver Initialized.
[    1.404043] NetLabel: Initializing
[    1.404296] NetLabel:  domain hash size = 128
[    1.404635] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.405027] NetLabel:  unlabeled traffic allowed by default
[    1.406384] PCI: Using ACPI for IRQ routing
[    1.406663] PCI: pci_cache_line_size set to 64 bytes
[    1.406895] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    1.406898] e820: reserve RAM buffer [mem 0xbffda000-0xbfffffff]
[    1.406934] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    1.406934] pci 0000:00:02.0: vgaarb: bridge control possible
[    1.407093] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.408296] vgaarb: loaded
[    1.408641] hpet: 3 channels of 0 reserved for per-cpu timers
[    1.408641] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    1.408705] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    1.416370] clocksource: Switched to clocksource kvm-clock
[    1.416982] VFS: Disk quotas dquot_6.6.0
[    1.417343] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.417807] pnp: PnP ACPI init
[    1.418175] pnp 00:02: [dma 2]
[    1.418455] pnp: PnP ACPI: found 4 devices
[    1.428682] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    1.429304] NET: Registered PF_INET protocol family
[    1.429953] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    1.434045] tcp_listen_portaddr_hash hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.434686] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.435152] TCP established hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    1.436113] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    1.436908] TCP: Hash tables configured (established 524288 bind 65536)
[    1.437392] UDP hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    1.438018] UDP-Lite hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    1.438777] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.439517] RPC: Registered named UNIX socket transport module.
[    1.439906] RPC: Registered udp transport module.
[    1.440182] RPC: Registered tcp transport module.
[    1.440469] RPC: Registered tcp-with-tls transport module.
[    1.440810] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.441605] pci 0000:00:05.0: PCI bridge to [bus 01]
[    1.441935] pci 0000:00:05.0:   bridge window [io  0xe000-0xefff]
[    1.443564] pci 0000:00:05.0:   bridge window [mem 0xfe800000-0xfe9fffff]
[    1.444644] pci 0000:00:05.0:   bridge window [mem 0xfc400000-0xfc5fffff 64bit pref]
[    1.446668] pci 0000:00:1e.0: PCI bridge to [bus 02]
[    1.446972] pci 0000:00:1e.0:   bridge window [io  0xd000-0xdfff]
[    1.448437] pci 0000:00:1e.0:   bridge window [mem 0xfe600000-0xfe7fffff]
[    1.449556] pci 0000:00:1e.0:   bridge window [mem 0xfc200000-0xfc3fffff 64bit pref]
[    1.451431] pci 0000:00:1f.0: PCI bridge to [bus 03]
[    1.455765] pci 0000:00:1f.0:   bridge window [io  0xc000-0xcfff]
[    1.456757] pci 0000:00:1f.0:   bridge window [mem 0xfe400000-0xfe5fffff]
[    1.457572] pci 0000:00:1f.0:   bridge window [mem 0xfc000000-0xfc1fffff 64bit pref]
[    1.458919] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    1.459253] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    1.459572] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    1.459910] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window]
[    1.460251] pci_bus 0000:00: resource 8 [mem 0x1940000000-0x19bfffffff window]
[    1.460663] pci_bus 0000:01: resource 0 [io  0xe000-0xefff]
[    1.460961] pci_bus 0000:01: resource 1 [mem 0xfe800000-0xfe9fffff]
[    1.461295] pci_bus 0000:01: resource 2 [mem 0xfc400000-0xfc5fffff 64bit pref]
[    1.461706] pci_bus 0000:02: resource 0 [io  0xd000-0xdfff]
[    1.462008] pci_bus 0000:02: resource 1 [mem 0xfe600000-0xfe7fffff]
[    1.462331] pci_bus 0000:02: resource 2 [mem 0xfc200000-0xfc3fffff 64bit pref]
[    1.462741] pci_bus 0000:03: resource 0 [io  0xc000-0xcfff]
[    1.463043] pci_bus 0000:03: resource 1 [mem 0xfe400000-0xfe5fffff]
[    1.463372] pci_bus 0000:03: resource 2 [mem 0xfc000000-0xfc1fffff 64bit pref]
[    1.463853] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.464175] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.478527] ACPI: \_SB_.LNKD: Enabled at IRQ 11
[    1.493114] pci 0000:00:01.2: quirk_usb_early_handoff+0x0/0x780 took 27912 usecs
[    1.493646] PCI: CLS 0 bytes, default 64
[    1.493912] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.494255] software IO TLB: mapped [mem 0x00000000bbfda000-0x00000000bffda000] (64MB)
[    1.494750] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x211d6274d86, max_idle_ns: 440795243673 ns
[    1.508037] Initialise system trusted keyrings
[    1.508555] workingset: timestamp_bits=40 max_order=25 bucket_order=0
[    1.509333] NFS: Registering the id_resolver key type
[    1.509689] Key type id_resolver registered
[    1.509952] Key type id_legacy registered
[    1.510368] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, fatal assert, debug enabled
[    1.511447] 9p: Installing v9fs 9p2000 file system support
[    1.521548] Key type asymmetric registered
[    1.521865] Asymmetric key parser 'x509' registered
[    1.522207] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.522839] io scheduler mq-deadline registered
[    1.523175] io scheduler kyber registered
[    1.526144] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.526798] ACPI: button: Power Button [PWRF]
[    1.542837] ACPI: \_SB_.LNKC: Enabled at IRQ 10
[    1.589687] ACPI: \_SB_.LNKB: Enabled at IRQ 10
[    1.591660] Free page reporting enabled
[    1.592109] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.603340] Non-volatile memory driver v1.3
[    1.612491] loop: module loaded
[    1.612859] virtio_blk virtio2: 36/0/0 default/read/poll queues
[    1.622922] virtio_blk virtio2: [vda] 209715200 512-byte logical blocks (107 GB/100 GiB)
[    1.628678]  vda: vda1 vda2 vda3
[    1.629384] ata_piix 0000:00:01.1: version 2.13
[    1.630393] scsi host0: ata_piix
[    1.630985] scsi host1: ata_piix
[    1.631306] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xf140 irq 14
[    1.631650] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xf148 irq 15
[    1.634643] e100: Intel(R) PRO/100 Network Driver
[    1.634936] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.635253] e1000: Intel(R) PRO/1000 Network Driver
[    1.635540] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.635851] e1000e: Intel(R) PRO/1000 Network Driver
[    1.636134] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.636458] sky2: driver version 1.30
[    1.651866] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    1.652639] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    1.653657] uhci_hcd 0000:00:01.2: irq 11, io port 0x0000f100
[    1.654341] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.655144] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.655727] usb usb1: Product: UHCI Host Controller
[    1.656213] usb usb1: Manufacturer: Linux 6.6.30-gentoo uhci_hcd
[    1.656799] usb usb1: SerialNumber: 0000:00:01.2
[    1.658403] hub 1-0:1.0: USB hub found
[    1.658949] hub 1-0:1.0: 2 ports detected
[    1.659701] usbcore: registered new interface driver usblp
[    1.660247] usbcore: registered new interface driver usb-storage
[    1.660648] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    1.663085] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.663804] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.664361] rtc_cmos 00:03: RTC can wake from S4
[    1.665394] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    1.666325] rtc_cmos 00:03: registered as rtc0
[    1.666805] rtc_cmos 00:03: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[    1.667639] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    1.668455] intel_pstate: CPU model not supported
[    1.668964] hid: raw HID events driver (C) Jiri Kosina
[    1.669604] usbcore: registered new interface driver usbhid
[    1.670051] usbhid: USB HID core driver
[    1.671734] Initializing XFRM netlink socket
[    1.672069] NET: Registered PF_INET6 protocol family
[    1.672971] Segment Routing with IPv6
[    1.673319] In-situ OAM (IOAM) with IPv6
[    1.673703] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.674235] NET: Registered PF_PACKET protocol family
[    1.674634] 9pnet: Installing 9P2000 support
[    1.674920] Key type dns_resolver registered
[    1.680079] IPI shorthand broadcast: enabled
[    1.682165] sched_clock: Marking stable (1623015763, 58194233)->(1771621515, -90411519)
[    1.682978] registered taskstats version 1
[    1.683598] Loading compiled-in X.509 certificates
[    1.686566] PM:   Magic number: 12:253:982
[    1.686959] printk: console [netcon0] enabled
[    1.687259] netconsole: network logging started
[    1.687641] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.688570] kworker/u74:3 (235) used greatest stack depth: 14616 bytes left
[    1.688961] kworker/u74:3 (236) used greatest stack depth: 14088 bytes left
[    1.689305] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.689969] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    1.690561] Loading firmware: regulatory.db
[    1.690851] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.691364] cfg80211: failed to load regulatory.db
[    1.691719] clk: Disabling unused clocks
[    1.691984] ALSA device list:
[    1.692245]   No soundcards found.
[    1.787742] ata2: found unknown device (class 0)
[    1.788970] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    1.791276] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    1.808888] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    1.809285] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.816747] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.817014] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    1.885227] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    2.053750] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00
[    2.054265] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10
[    2.054813] usb 1-1: Product: QEMU USB Tablet
[    2.055096] usb 1-1: Manufacturer: QEMU
[    2.055391] usb 1-1: SerialNumber: 28754-0000:00:01.2-1
[    2.064698] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input4
[    2.065696] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
[    2.294304] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[    2.295233] md: Waiting for all devices to be available before autodetect
[    2.295660] md: If you don't use raid, use raid=noautodetect
[    2.295985] md: Autodetecting RAID arrays.
[    2.296266] md: autorun ...
[    2.296491] md: ... autorun DONE.
[    2.301826] XFS (vda3): Mounting V5 Filesystem da54287b-93bd-414e-acc7-618c531f243b
[    2.308839] XFS (vda3): Ending clean mount
[    2.361748] VFS: Mounted root (xfs filesystem) readonly on device 253:3.
[    2.362350] devtmpfs: mounted
[    2.364012] Freeing unused kernel image (initmem) memory: 2556K
[    2.364562] Write protecting the kernel read-only data: 22528k
[    2.365495] Freeing unused kernel image (rodata/data gap) memory: 116K
[    2.366016] Run /sbin/init as init process
[    2.366347]   with arguments:
[    2.366348]     /sbin/init
[    2.366349]   with environment:
[    2.366350]     HOME=/
[    2.366351]     TERM=linux
[    2.366352]     BOOT_IMAGE=/vmlinuz-6.6.30-gentoo
[    2.387163] kbd_mode (255) used greatest stack depth: 13320 bytes left
[    2.396700] init-early.sh (254) used greatest stack depth: 13200 bytes left
[    2.648631] gendepends.sh (389) used greatest stack depth: 13080 bytes left
[    3.561883] virtio_net virtio3 enp0s18: renamed from eth0
[    3.573240] ACPI: bus type drm_connector registered
[    3.581107] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.584050] Console: switching to colour dummy device 80x25
[    3.584161] [drm] Found bochs VGA, ID 0xb0c5.
[    3.584164] [drm] Framebuffer size 32768 kB @ 0xfa000000, mmio @ 0xfea50000.
[    3.585823] [drm] Found EDID data blob.
[    3.586025] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[    4.608271] Adding 8388604k swap on /dev/vda2.  Priority:-2 extents:1 across:8388604k
[    4.614474] Adding 8388604k swap on /swap.img.  Priority:-3 extents:1 across:8388604k
[    4.861218] dmesg (1234) used greatest stack depth: 12136 bytes left
[    5.319869] openrc-run.sh (1406) used greatest stack depth: 11560 bytes left
[    5.511884] random: crng init done


And finally the /var/log/Xorg.0.log:
http://dpaste.com/DLF9CKL5x


Last edited by Elleni on Tue Jun 11, 2024 5:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54478
Location: 56N 3W

PostPosted: Mon Jun 10, 2024 1:01 pm    Post subject: Reply with quote

Elleni,

Lets clarify a few things before we get into the weeds.

The Hypervisor 'fakes' a whole PC is software to provide an environment for the guests.
There are two ways it can do that.
1. It can fake real hardware is software, so that guests can run unmodified. They must be able to drive the 'hardware'.
2. Hosts and guests can support virtio. this requires support from both.

Whatever, do the install, including Xorg to suit the guest environment, Whatever that is.

Lets start with
Code:
lspci -nnk
from the guest.

-- edit --

From the end of your Xorg.0.log
Code:
[   110.904] (II) Server terminated successfully (0). Closing log file.

That usually means that Xorg started, found nothing to do and exited.

Code:
[   110.434] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
Is dbus runnnig?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1283

PostPosted: Mon Jun 10, 2024 3:10 pm    Post subject: Reply with quote

Hi Neddy,

here is the asked output:
lspci -nnk
Code:

00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
   Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
   Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010]
   Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
   Kernel driver in use: ata_piix
   Kernel modules: pata_acpi
00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01)
   Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
   Kernel driver in use: uhci_hcd
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
   Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c_piix4
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02)
   Subsystem: Red Hat, Inc. Device [1af4:1100]
   Kernel driver in use: bochs-drm
   Kernel modules: bochs
00:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon [1af4:1002]
   Subsystem: Red Hat, Inc. Device [1af4:0005]
   Kernel driver in use: virtio-pci
00:05.0 PCI bridge [0604]: Red Hat, Inc. QEMU PCI-PCI bridge [1b36:0001]
00:08.0 Communication controller [0780]: Red Hat, Inc. Virtio console [1af4:1003]
   Subsystem: Red Hat, Inc. Device [1af4:0003]
   Kernel driver in use: virtio-pci
00:0b.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio block device [1af4:1001]
   Subsystem: Red Hat, Inc. Device [1af4:0002]
   Kernel driver in use: virtio-pci
00:12.0 Ethernet controller [0200]: Red Hat, Inc. Virtio network device [1af4:1000]
   Subsystem: Red Hat, Inc. Device [1af4:0001]
   Kernel driver in use: virtio-pci
00:1e.0 PCI bridge [0604]: Red Hat, Inc. QEMU PCI-PCI bridge [1b36:0001]
00:1f.0 PCI bridge [0604]: Red Hat, Inc. QEMU PCI-PCI bridge [1b36:0001]


Xorg.0.log -> understood

No, dbus was not running. Added it to default runlevel as starting it, it gave me sddm loginmask, although only in english so I'll have to investigate further howto change this in order to successfully login.I also need to find out what stops the output of the starting services before xdm/display-manager taking over. Finally I need to find out wether virtio is supported by the host so I'll know if using qxl, virtio or the actual implementation of vga default device is best, and also how to get best performing access to the vm, rdp, vnc, nox_server?
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1283

PostPosted: Mon Jun 10, 2024 4:57 pm    Post subject: Reply with quote

From what I am reading the virGL solution is meant to offload opengl to the host GPU? As its a proliant server with a mg200 does it make sense at all, to try this out or is the gpu simply to old and weak? Does this gpu support opengl at all? I mean, I wont play games on this gentoo vm, the goal is to just have smooth experience on browser (including audio-/video streams) for example, and on desktop effects. So maybe better just let the cpus do the drawing for all the vm's displays? I am beginning to doubt if the host GPU is even worth to try offloading drawing to it, and if it would be wiser to use other options. I mean if this chip is just intended to do very basic vga functionality then I'd better forget opengl 3d acceleration? What are the options left then, and which ones should be tried out anyway? virtio (not virgl) and qxl and then compare with basic vga? And which of the below solutions could work best / are worth a try?

For accessing the vm I also see different solutions whereas I would like to ask for your opinion on what should perform best:

- xfreerdp server to directly access it from windows boxes via ms rdp?
- vnc?
- spice?
- x2go?
- nomachine?
- thinlinc?
- other?


Last edited by Elleni on Mon Jun 10, 2024 6:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54478
Location: 56N 3W

PostPosted: Mon Jun 10, 2024 6:35 pm    Post subject: Reply with quote

Elleni,

There is nothing wrong with any of that. As you say, the host mg200 won't help much.
Servers were never intended for GPU intensive applications.

Your alterative video driver is spice. That means changing the VM settings on the host and changing video drivers in the guest.
QXL seems to work too.

Looking at xorg-drivers it supports
Code:
VIDEO_CARDS="amdgpu fbdev radeonsi vesa -ast -dummy -freedreno -geode -i915 -intel -mga -nouveau -nvidia -omap -qxl -r128 -radeon -siliconmotion -tegra -vc4 -via -virtualbox -vmware")
with their own drivers, so maybe qxl is worth trying.

If you have spare RAM and HDD space, clone the VM and play.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1283

PostPosted: Mon Jun 10, 2024 6:40 pm    Post subject: Reply with quote

Hi Neddy,

thanks for your tips, so I will try the now implemented standard vga, qxl and spice then. As I have plenty of ram and cpu's I'll check which one works best. I'd love to remote connect to the vm using a de like plasma or gnome thus would like to optimize the performance as much as possible with this setup.

What would you suggest for accessing the vm besides spice to get the most out of it? Which tech could be also worth trying? xfreerdp for direct rdp from win rdp? what else might worth looking into it? Having plenty of free disk/ram/cpu ressources on my 2node ProxMox Cluster I will definitiverly play with those suggested options. Thanks :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54478
Location: 56N 3W

PostPosted: Tue Jun 11, 2024 10:32 am    Post subject: Reply with quote

Elleni,

All my VMs are headless, so I don't have any experience with VM graphics.

Thought.
Xorg is 'network transparent'. That means the applications can run on one system and display the output on another.
xorg-server is only installed on the system that will drive the display.
The clients generating the images for remote display do not use it.
That's why its not an error to install X applications without xorg-server. It's designed to work that way.

The protocol is horribly insecure, so you either need to run it on a trusted network or tunnel it over ssh.
I've not used it in years but I'm pretty sure its still there.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1283

PostPosted: Tue Jun 11, 2024 5:18 pm    Post subject: Reply with quote

After playing around one day, I can tell that standard vga is already usable somehow, but qxl with spice is faster and surprisingly virtiogpu (not virgl) without hardware 3d support but equally with spice seems the fastest on my setup.

I am now in the process of re-compiling the system with more supported cpu flags as I changed kernel processor type and features from kvm standard (generic) cpu to intel - native (experimental useflag on gentoo sources) which enables many more cpu instructions supported.

I will continue playing and testing to get the most performance out of the vm.

Neddy - x11 forwarding to other client through ssh - been there, done that and it was quite fun.

What I want now, is to have decent performance while using the vm remotley - mostly from a windows client. Thus I will try x2go and vnc to compare them with spice / virtio or qxl. What is really cool about spice is that I can add an audio device on the host to the vmconfig, and that way audio is played on the client accessing the vm by virt-viewer. I will see how audio is possible through the other mentioned solutions. Maybe I'll also try to install xfree-rdp server to directly use ms remote desktop for comparison.

Compiling tools and software I am unsure what useflags could help enhancing the experience on the vm and which ones are not helping, for example vdpau and vaapi, x265, x264. Does it make sense to add those in make.conf?

In everycase as the solution to the initial problem was not having started dbus service, I added solved in the thread title, but would still be interested in thoughts while setting up this vm and inspecting what different useflags the progs I install have to offer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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