ยง2023-09-16

sudo usermod -aG video alexlai
$ sudo usermod -aG video alexlai

$ id alexlai
uid=1026(alexlai) gid=1026(alexlai) groups=1026(alexlai),10(wheel),27(video)
emerge --ask x11-base/xorg-server   <--- orgpi5+ executes OK
x11-drivers/xf86-video-fbdev ~arm64
$ ls /etc/portage/package.accept_keywords/
raspberrypi-videocore-bin  xf86-video-fbdev

I finaly got three terminal windows out!!!

$ grep EE ~/.local/share/xorg/Xorg.0.log
[  1917.696] Current Operating System: Linux rpi4bGenoo 6.1.52-v8+ #1 SMP PREEMPT Tue Sep 12 19:17:22 CST 2023 aarch64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1917.732] (EE) open /dev/dri/card0: No such file or directory
[  1917.743] (II) Initializing extension MIT-SCREEN-SAVER
$ cat ~/.local/share/xorg/Xorg.0.log
[  1917.696] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[  1917.696] Current Operating System: Linux rpi4bGenoo 6.1.52-v8+ #1 SMP PREEMPT Tue Sep 12 19:17:22 CST 2023 aarch64
[  1917.697] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:1E:35:C8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait
[  1917.697]  
[  1917.698] Current version of pixman: 0.42.2
[  1917.698]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1917.698] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1917.699] (==) Log file: "/home/alexlai/.local/share/xorg/Xorg.0.log", Time: Sat Sep 16 10:50:30 2023
[  1917.700] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1917.701] (==) No Layout section.  Using the first Screen section.
[  1917.701] (==) No screen section available. Using defaults.
[  1917.701] (**) |-->Screen "Default Screen Section" (0)
[  1917.701] (**) |   |-->Monitor "<default monitor>"
[  1917.702] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  1917.702] (==) Automatically adding devices
[  1917.702] (==) Automatically enabling devices
[  1917.702] (==) Automatically adding GPU devices
[  1917.702] (==) Automatically binding GPU devices
[  1917.702] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1917.702] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[  1917.702]    Entry deleted from font path.
[  1917.702] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1917.702]    Entry deleted from font path.
[  1917.703] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1917.703]    Entry deleted from font path.
[  1917.703] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[  1917.703]    Entry deleted from font path.
[  1917.703]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[  1917.703] (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/75dpi
[  1917.703] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1917.703] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1917.703] (II) Module ABI versions:
[  1917.703]    X.Org ANSI C Emulation: 0.4
[  1917.703]    X.Org Video Driver: 25.2
[  1917.703]    X.Org XInput driver : 24.4
[  1917.703]    X.Org Server Extension : 10.0
[  1917.707] (++) using VT number 2

[  1917.714] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_36
[  1917.717] (II) no primary bus or device found
[  1917.717] (II) LoadModule: "glx"
[  1917.718] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1917.725] (II) Module glx: vendor="X.Org Foundation"
[  1917.725]    compiled for 1.21.1.8, module version = 1.0.0
[  1917.725]    ABI class: X.Org Server Extension, version 10.0
[  1917.726] (==) Matched modesetting as autoconfigured driver 0
[  1917.726] (==) Matched fbdev as autoconfigured driver 1
[  1917.726] (==) Assigned the driver to the xf86ConfigLayout
[  1917.726] (II) LoadModule: "modesetting"
[  1917.727] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  1917.730] (II) Module modesetting: vendor="X.Org Foundation"
[  1917.730]    compiled for 1.21.1.8, module version = 1.21.1
[  1917.730]    Module class: X.Org Video Driver
[  1917.730]    ABI class: X.Org Video Driver, version 25.2
[  1917.730] (II) LoadModule: "fbdev"
[  1917.731] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[  1917.731] (II) Module fbdev: vendor="X.Org Foundation"
[  1917.731]    compiled for 1.21.1.8, module version = 0.5.0
[  1917.731]    Module class: X.Org Video Driver
[  1917.731]    ABI class: X.Org Video Driver, version 25.2
[  1917.731] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1917.732] (II) FBDEV: driver for framebuffer: fbdev
[  1917.732] (WW) Falling back to old probe method for modesetting
[  1917.732] (EE) open /dev/dri/card0: No such file or directory
[  1917.733] (WW) Falling back to old probe method for fbdev
[  1917.733] (II) Loading sub module "fbdevhw"
[  1917.733] (II) LoadModule: "fbdevhw"
[  1917.733] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[  1917.734] (II) Module fbdevhw: vendor="X.Org Foundation"
[  1917.734]    compiled for 1.21.1.8, module version = 0.0.2
[  1917.734]    ABI class: X.Org Video Driver, version 25.2
[  1917.734] (II) FBDEV(0): using default device
[  1917.735] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1917.735] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  1917.735] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[  1917.735] (==) FBDEV(0): RGB weight 888
[  1917.735] (==) FBDEV(0): Default visual is TrueColor
[  1917.735] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  1917.735] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 8100kB)
[  1917.735] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[  1917.735] (II) FBDEV(0): checking modes against framebuffer device...
[  1917.735] (II) FBDEV(0): checking modes against monitor...
[  1917.735] (II) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[  1917.735] (**) FBDEV(0):  Built-in mode "current"
[  1917.735] (==) FBDEV(0): DPI set to (96, 96)
[  1917.735] (II) Loading sub module "fb"
[  1917.736] (II) LoadModule: "fb"
[  1917.736] (II) Module "fb" already built-in
[  1917.736] (**) FBDEV(0): using shadow framebuffer
[  1917.736] (II) Loading sub module "shadow"
[  1917.736] (II) LoadModule: "shadow"
[  1917.736] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[  1917.737] (II) Module shadow: vendor="X.Org Foundation"
[  1917.737]    compiled for 1.21.1.8, module version = 1.1.0
[  1917.737]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1917.737] (II) UnloadModule: "modesetting"
[  1917.737] (II) Unloading modesetting
[  1917.739] (==) FBDEV(0): Backing store enabled
[  1917.742] (==) FBDEV(0): DPMS enabled
[  1917.742] (II) Initializing extension Generic Event Extension
[  1917.742] (II) Initializing extension SHAPE
[  1917.742] (II) Initializing extension MIT-SHM
[  1917.742] (II) Initializing extension XInputExtension
[  1917.742] (II) Initializing extension XTEST
[  1917.742] (II) Initializing extension BIG-REQUESTS
[  1917.742] (II) Initializing extension SYNC
[  1917.742] (II) Initializing extension XKEYBOARD
[  1917.743] (II) Initializing extension XC-MISC
[  1917.743] (II) Initializing extension XFIXES
[  1917.743] (II) Initializing extension RENDER
[  1917.743] (II) Initializing extension RANDR
[  1917.743] (II) Initializing extension COMPOSITE
[  1917.743] (II) Initializing extension DAMAGE
[  1917.743] (II) Initializing extension MIT-SCREEN-SAVER
[  1917.743] (II) Initializing extension DOUBLE-BUFFER
[  1917.743] (II) Initializing extension RECORD
[  1917.743] (II) Initializing extension DPMS
[  1917.743] (II) Initializing extension Present
[  1917.743] (II) Initializing extension DRI3
[  1917.743] (II) Initializing extension X-Resource
[  1917.743] (II) Initializing extension XVideo
[  1917.743] (II) Initializing extension XVideo-MotionCompensation
[  1917.743] (II) Initializing extension GLX
[  1917.744] (II) AIGLX: Screen 0 is not DRI2 capable
[  1917.891] (II) IGLX: Loaded and initialized swrast
[  1917.891] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  1917.891] (II) Initializing extension XFree86-VidModeExtension
[  1917.891] (II) Initializing extension XFree86-DGA
[  1917.891] (II) Initializing extension XFree86-DRI
[  1917.892] (II) Initializing extension DRI2
[  1918.303] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event0)
[  1918.303] (**) Logitech USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[  1918.303] (II) LoadModule: "libinput"
[  1918.304] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[  1918.307] (II) Module libinput: vendor="X.Org Foundation"
[  1918.307]    compiled for 1.21.1.8, module version = 1.3.0
[  1918.307]    Module class: X.Org XInput Driver
[  1918.308]    ABI class: X.Org XInput driver, version 24.4
[  1918.308] (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
[  1918.312] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 17 paused 0
[  1918.313] (**) Logitech USB Optical Mouse: always reports core events
[  1918.313] (**) Option "Device" "/dev/input/event0"
[  1918.342] (II) event0  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[  1918.344] (II) event0  - Logitech USB Optical Mouse: device is a pointer
[  1918.346] (II) event0  - Logitech USB Optical Mouse: device removed
[  1918.346] (II) libinput: Logitech USB Optical Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  1918.346] (II) libinput: Logitech USB Optical Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  1918.346] (II) libinput: Logitech USB Optical Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  1918.346] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2:1.0/0003:046D:C077.0001/input/input0/event0"
[  1918.347] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 6)
[  1918.347] (**) Option "AccelerationScheme" "none"
[  1918.348] (**) Logitech USB Optical Mouse: (accel) selected scheme none/0
[  1918.348] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[  1918.348] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[  1918.368] (II) event0  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[  1918.370] (II) event0  - Logitech USB Optical Mouse: device is a pointer
[  1918.383] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[  1918.383] (II) No input driver specified, ignoring this device.
[  1918.383] (II) This device may have been added with another device file.
[  1918.396] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[  1918.396] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[  1918.396] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[  1918.400] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 20 paused 0
[  1918.400] (**) Logitech USB Receiver: always reports core events
[  1918.401] (**) Option "Device" "/dev/input/event1"
[  1918.420] (II) event1  - Logitech USB Receiver: is tagged by udev as: Keyboard
[  1918.421] (II) event1  - Logitech USB Receiver: device is a keyboard
[  1918.424] (II) event1  - Logitech USB Receiver: device removed
[  1918.424] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.0/0003:046D:C505.0002/input/input1/event1"
[  1918.424] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 7)
[  1918.444] (II) event1  - Logitech USB Receiver: is tagged by udev as: Keyboard
[  1918.445] (II) event1  - Logitech USB Receiver: device is a keyboard
[  1918.460] (II) config/udev: Adding input device Logitech USB Receiver Mouse (/dev/input/event2)
[  1918.461] (**) Logitech USB Receiver Mouse: Applying InputClass "libinput pointer catchall"
[  1918.461] (II) Using input driver 'libinput' for 'Logitech USB Receiver Mouse'
[  1918.465] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 21 paused 0
[  1918.465] (**) Logitech USB Receiver Mouse: always reports core events
[  1918.465] (**) Option "Device" "/dev/input/event2"
[  1918.485] (II) event2  - Logitech USB Receiver Mouse: is tagged by udev as: Mouse
[  1918.487] (II) event2  - Logitech USB Receiver Mouse: device is a pointer
[  1918.489] (II) event2  - Logitech USB Receiver Mouse: device removed
[  1918.490] (II) libinput: Logitech USB Receiver Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  1918.490] (II) libinput: Logitech USB Receiver Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  1918.490] (II) libinput: Logitech USB Receiver Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  1918.490] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.1/0003:046D:C505.0003/input/input2/event2"
[  1918.490] (II) XINPUT: Adding extended input device "Logitech USB Receiver Mouse" (type: MOUSE, id 8)
[  1918.491] (**) Option "AccelerationScheme" "none"
[  1918.491] (**) Logitech USB Receiver Mouse: (accel) selected scheme none/0
[  1918.491] (**) Logitech USB Receiver Mouse: (accel) acceleration factor: 2.000
[  1918.491] (**) Logitech USB Receiver Mouse: (accel) acceleration threshold: 4
[  1918.511] (II) event2  - Logitech USB Receiver Mouse: is tagged by udev as: Mouse
[  1918.513] (II) event2  - Logitech USB Receiver Mouse: device is a pointer
[  1918.526] (II) config/udev: Adding input device Logitech USB Receiver Mouse (/dev/input/mouse1)
[  1918.527] (II) No input driver specified, ignoring this device.
[  1918.527] (II) This device may have been added with another device file.
[  1918.539] (II) config/udev: Adding input device Logitech USB Receiver Consumer Control (/dev/input/event3)
[  1918.539] (**) Logitech USB Receiver Consumer Control: Applying InputClass "libinput pointer catchall"
[  1918.539] (**) Logitech USB Receiver Consumer Control: Applying InputClass "libinput keyboard catchall"
[  1918.539] (II) Using input driver 'libinput' for 'Logitech USB Receiver Consumer Control'
[  1918.544] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 22 paused 0
[  1918.544] (**) Logitech USB Receiver Consumer Control: always reports core events
[  1918.544] (**) Option "Device" "/dev/input/event3"
[  1918.563] (II) event3  - Logitech USB Receiver Consumer Control: is tagged by udev as: Keyboard Mouse
[  1918.565] (II) event3  - Logitech USB Receiver Consumer Control: device is a pointer
[  1918.565] (II) event3  - Logitech USB Receiver Consumer Control: device is a keyboard
[  1918.567] (II) event3  - Logitech USB Receiver Consumer Control: device removed
[  1918.567] (II) libinput: Logitech USB Receiver Consumer Control: needs a virtual subdevice
[  1918.568] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.1/0003:046D:C505.0003/input/input3/event3"
[  1918.568] (II) XINPUT: Adding extended input device "Logitech USB Receiver Consumer Control" (type: MOUSE, id 9)
[  1918.568] (**) Option "AccelerationScheme" "none"
[  1918.568] (**) Logitech USB Receiver Consumer Control: (accel) selected scheme none/0
[  1918.568] (**) Logitech USB Receiver Consumer Control: (accel) acceleration factor: 2.000
[  1918.568] (**) Logitech USB Receiver Consumer Control: (accel) acceleration threshold: 4
[  1918.589] (II) event3  - Logitech USB Receiver Consumer Control: is tagged by udev as: Keyboard Mouse
[  1918.590] (II) event3  - Logitech USB Receiver Consumer Control: device is a pointer
[  1918.590] (II) event3  - Logitech USB Receiver Consumer Control: device is a keyboard
[  1918.604] (II) config/udev: Adding input device Logitech USB Receiver System Control (/dev/input/event4)
[  1918.605] (**) Logitech USB Receiver System Control: Applying InputClass "libinput keyboard catchall"
[  1918.605] (II) Using input driver 'libinput' for 'Logitech USB Receiver System Control'
[  1918.609] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 23 paused 0
[  1918.609] (**) Logitech USB Receiver System Control: always reports core events
[  1918.609] (**) Option "Device" "/dev/input/event4"
[  1918.630] (II) event4  - Logitech USB Receiver System Control: is tagged by udev as: Keyboard
[  1918.631] (II) event4  - Logitech USB Receiver System Control: device is a keyboard
[  1918.633] (II) event4  - Logitech USB Receiver System Control: device removed
[  1918.633] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.1/0003:046D:C505.0003/input/input4/event4"
[  1918.633] (II) XINPUT: Adding extended input device "Logitech USB Receiver System Control" (type: KEYBOARD, id 10)
[  1918.654] (II) event4  - Logitech USB Receiver System Control: is tagged by udev as: Keyboard
[  1918.655] (II) event4  - Logitech USB Receiver System Control: device is a keyboard
[  1918.699] (**) Logitech USB Receiver Consumer Control: Applying InputClass "libinput pointer catchall"
[  1918.700] (**) Logitech USB Receiver Consumer Control: Applying InputClass "libinput keyboard catchall"
[  1918.700] (II) Using input driver 'libinput' for 'Logitech USB Receiver Consumer Control'
[  1918.700] (II) systemd-logind: returning pre-existing fd for /dev/input/event3 13:67
[  1918.700] (**) Logitech USB Receiver Consumer Control: always reports core events
[  1918.700] (**) Option "Device" "/dev/input/event3"
[  1918.700] (II) libinput: Logitech USB Receiver Consumer Control: is a virtual subdevice
[  1918.701] (**) Option "config_info" "udev:/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.1/0003:046D:C505.0003/input/input3/event3"
[  1918.701] (II) XINPUT: Adding extended input device "Logitech USB Receiver Consumer Control" (type: KEYBOARD, id 11)
[  2306.457] (**) Option "fd" "17"
[  2306.458] (II) event0  - Logitech USB Optical Mouse: device removed
[  2306.458] (**) Option "fd" "20"
[  2306.459] (II) event1  - Logitech USB Receiver: device removed
[  2306.459] (**) Option "fd" "21"
[  2306.459] (II) event2  - Logitech USB Receiver Mouse: device removed
[  2306.460] (**) Option "fd" "22"
[  2306.461] (**) Option "fd" "23"
[  2306.461] (II) event4  - Logitech USB Receiver System Control: device removed
[  2306.462] (**) Option "fd" "22"
[  2306.462] (II) event3  - Logitech USB Receiver Consumer Control: device removed
[  2306.467] (II) UnloadModule: "libinput"
[  2306.467] (II) systemd-logind: not releasing fd for 13:67, still in use
[  2306.467] (II) UnloadModule: "libinput"
[  2306.467] (II) systemd-logind: releasing fd for 13:68
[  2306.488] (II) UnloadModule: "libinput"
[  2306.488] (II) systemd-logind: releasing fd for 13:67
[  2306.508] (II) UnloadModule: "libinput"
[  2306.508] (II) systemd-logind: releasing fd for 13:66
[  2306.540] (II) UnloadModule: "libinput"
[  2306.540] (II) systemd-logind: releasing fd for 13:65
[  2306.559] (II) UnloadModule: "libinput"
[  2306.559] (II) systemd-logind: releasing fd for 13:64
[  2306.621] (II) Server terminated successfully (0). Closing log file.