您尚未登录。

#1 2020-08-20 14:42:59

leezh200810
会员
注册时间: 2020-08-10
帖子: 5

[已解决]picom启动失败

我已经看过了这篇帖子https://bbs.archlinux.org/viewtopic.php?id=257769
照着操作了一下还是没法运行picom

这是运行时候的报错

picom
[ 08/20/2020 10:36:26.968 vsync_opengl_swc_init ERROR ] Failed to load a swap control extension.
[ 08/20/2020 10:36:26.968 session_init FATAL ERROR ] Failed to initialize the backend

这是glxinfo-B和xorg的日志

glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 10.0.1, 256 bits) (0xffffffff)
    Version: 20.1.5
    Accelerated: no
    Video memory: 3919MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.1.5
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
cat /var/log/Xorg.0.log
[   439.066]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   439.066] Build Operating System: Linux Arch Linux
[   439.066] Current Operating System: Linux VMArch 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000 x86_64
[   439.066] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=10870360-ae71-40c6-a6df-32a365297d81 rw loglevel=3 quiet
[   439.066] Build Date: 31 July 2020  04:00:57PM
[   439.066]
[   439.066] Current version of pixman: 0.40.0
[   439.066]     Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
[   439.066] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   439.066] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 20 10:12:33 2020
[   439.066] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   439.066] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   439.066] (==) ServerLayout "X.org Configured"
[   439.066] (**) |-->Screen "Screen0" (0)
[   439.066] (**) |   |-->Monitor "Monitor0"
[   439.066] (**) |   |-->Device "Card0"
[   439.066] (**) |-->Input Device "Mouse0"
[   439.066] (**) |-->Input Device "Keyboard0"
[   439.066] (==) Automatically adding devices
[   439.066] (==) Automatically enabling devices
[   439.066] (==) Automatically adding GPU devices
[   439.066] (==) Automatically binding GPU devices
[   439.066] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   439.066] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   439.066]     Entry deleted from font path.
[   439.066] (**) FontPath set to:
    /usr/share/fonts/100dpi,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/75dpi
[   439.066] (**) ModulePath set to "/usr/lib/xorg/modules"
[   439.066] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   439.066] (WW) Disabling Mouse0
[   439.066] (WW) Disabling Keyboard0
[   439.066] (II) Module ABI versions:
[   439.066]     X.Org ANSI C Emulation: 0.4
[   439.066]     X.Org Video Driver: 24.1
[   439.066]     X.Org XInput driver : 24.1
[   439.066]     X.Org Server Extension : 10.0
[   439.067] (++) using VT number 7

[   439.067] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   439.068] (II) xfree86: Adding drm device (/dev/dri/card0)
[   439.070] (--) PCI:*(0@0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe0000000/16777216, 0xe1400000/2097152, I/O @ 0x0000c170/16, BIOS @ 0x????????/131072
[   439.070] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   439.070] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   439.070] (II) LoadModule: "glx"
[   439.070] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   439.071] (II) Module glx: vendor="X.Org Foundation"
[   439.071]     compiled for 1.20.8, module version = 1.0.0
[   439.071]     ABI class: X.Org Server Extension, version 10.0
[   439.071] (II) LoadModule: "vmware"
[   439.071] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[   439.092] (II) Module vmware: vendor="X.Org Foundation"
[   439.092]     compiled for 1.20.8, module version = 13.3.0
[   439.092]     Module class: X.Org Video Driver
[   439.092]     ABI class: X.Org Video Driver, version 24.1
[   439.092] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[   439.094] (--) vmware(0): DRM driver version is 2.18.0
[   439.094] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[   439.094] (==) vmware(0): RGB weight 888
[   439.094] (==) vmware(0): Default visual is TrueColor
[   439.094] (--) vmware(0): Min width 1, Max Width 8192.
[   439.094] (--) vmware(0): Min height 1, Max Height 8192.
[   439.094] (II) vmware(0): Output Virtual1 using monitor section Monitor0
[   439.094] (II) vmware(0): Output Virtual2 has no monitor section
[   439.094] (II) vmware(0): Output Virtual3 has no monitor section
[   439.094] (II) vmware(0): Output Virtual4 has no monitor section
[   439.094] (II) vmware(0): Output Virtual5 has no monitor section
[   439.094] (II) vmware(0): Output Virtual6 has no monitor section
[   439.094] (II) vmware(0): Output Virtual7 has no monitor section
[   439.095] (II) vmware(0): Output Virtual8 has no monitor section
[   439.095] (II) vmware(0): Printing probed modes for output Virtual1
[   439.095] (II) vmware(0): Modeline "1920x950"x60.0  136.62  1920 1970 2020 2070  950 1000 1050 1100 -hsync +vsync (66.0 kHz eP)
[   439.095] (II) vmware(0): Modeline "2560x1600"x60.0  348.50  2560 2752 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[   439.095] (II) vmware(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[   439.095] (II) vmware(0): Modeline "1856x1392"x60.0  218.25  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[   439.095] (II) vmware(0): Modeline "1792x1344"x60.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[   439.095] (II) vmware(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[   439.095] (II) vmware(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[   439.095] (II) vmware(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[   439.095] (II) vmware(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[   439.095] (II) vmware(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   439.095] (II) vmware(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[   439.095] (II) vmware(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[   439.095] (II) vmware(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[   439.095] (II) vmware(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[   439.095] (II) vmware(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[   439.095] (II) vmware(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[   439.095] (II) vmware(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   439.095] (II) vmware(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   439.095] (II) vmware(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[   439.095] (II) vmware(0): EDID for output Virtual2
[   439.095] (II) vmware(0): EDID for output Virtual3
[   439.095] (II) vmware(0): EDID for output Virtual4
[   439.095] (II) vmware(0): EDID for output Virtual5
[   439.095] (II) vmware(0): EDID for output Virtual6
[   439.095] (II) vmware(0): EDID for output Virtual7
[   439.095] (II) vmware(0): EDID for output Virtual8
[   439.095] (II) vmware(0): Output Virtual1 connected
[   439.095] (II) vmware(0): Output Virtual2 disconnected
[   439.095] (II) vmware(0): Output Virtual3 disconnected
[   439.095] (II) vmware(0): Output Virtual4 disconnected
[   439.095] (II) vmware(0): Output Virtual5 disconnected
[   439.095] (II) vmware(0): Output Virtual6 disconnected
[   439.095] (II) vmware(0): Output Virtual7 disconnected
[   439.095] (II) vmware(0): Output Virtual8 disconnected
[   439.095] (II) vmware(0): Using exact sizes for initial modes
[   439.095] (II) vmware(0): Output Virtual1 using initial mode 1920x950 +0+0
[   439.095] (==) vmware(0): DPI set to (96, 96)
[   439.095] (==) vmware(0): Using gamma correction (1.0, 1.0, 1.0)
[   439.095] (II) Loading sub module "fb"
[   439.095] (II) LoadModule: "fb"
[   439.095] (II) Loading /usr/lib/xorg/modules/libfb.so
[   439.095] (II) Module fb: vendor="X.Org Foundation"
[   439.095]     compiled for 1.20.8, module version = 1.0.0
[   439.095]     ABI class: X.Org ANSI C Emulation, version 0.4
[   439.095] (II) Loading sub module "dri2"
[   439.095] (II) LoadModule: "dri2"
[   439.095] (II) Module "dri2" already built-in
[   439.095] (II) Loading sub module "dri3"
[   439.095] (II) LoadModule: "dri3"
[   439.095] (II) Module "dri3" already built-in
[   439.095] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[   439.097] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[   439.098] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[   439.098] (--) vmware(0): Render acceleration is disabled.
[   439.098] (==) vmware(0): Rendercheck mode is disabled.
[   439.098] (--) vmware(0): Direct rendering (DRI2 3D) is disabled.
[   439.098] (--) vmware(0): Direct rendering (DRI3 3D) is disabled.
[   439.098] (==) vmware(0): Backing store enabled
[   439.098] (==) vmware(0): Silken mouse disabled
[   439.098] (==) vmware(0): DPMS enabled
[   439.098] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[   439.098] (WW) vmware(0): Disabling Xv because no adaptors could be initialized.
[   439.098] (II) Initializing extension Generic Event Extension
[   439.098] (II) Initializing extension SHAPE
[   439.098] (II) Initializing extension MIT-SHM
[   439.098] (II) Initializing extension XInputExtension
[   439.098] (II) Initializing extension XTEST
[   439.098] (II) Initializing extension BIG-REQUESTS
[   439.098] (II) Initializing extension SYNC
[   439.099] (II) Initializing extension XKEYBOARD
[   439.099] (II) Initializing extension XC-MISC
[   439.099] (II) Initializing extension SECURITY
[   439.099] (II) Initializing extension XFIXES
[   439.099] (II) Initializing extension RENDER
[   439.099] (II) Initializing extension RANDR
[   439.099] (II) Initializing extension COMPOSITE
[   439.099] (II) Initializing extension DAMAGE
[   439.100] (II) Initializing extension MIT-SCREEN-SAVER
[   439.100] (II) Initializing extension DOUBLE-BUFFER
[   439.100] (II) Initializing extension RECORD
[   439.100] (II) Initializing extension DPMS
[   439.100] (II) Initializing extension Present
[   439.100] (II) Initializing extension DRI3
[   439.100] (II) Initializing extension X-Resource
[   439.100] (II) Initializing extension XVideo
[   439.100] (II) Initializing extension XVideo-MotionCompensation
[   439.100] (II) Initializing extension GLX
[   439.101] (II) AIGLX: Screen 0 is not DRI2 capable
[   439.107] (II) IGLX: Loaded and initialized swrast
[   439.107] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   439.107] (II) Initializing extension XFree86-VidModeExtension
[   439.107] (II) Initializing extension XFree86-DGA
[   439.107] (II) Initializing extension XFree86-DRI
[   439.107] (II) Initializing extension DRI2
[   439.114] (II) vmware(0): Setting screen physical size to 508 x 251
[   439.188] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   439.188] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   439.188] (II) LoadModule: "libinput"
[   439.188] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   439.189] (II) Module libinput: vendor="X.Org Foundation"
[   439.189]     compiled for 1.20.8, module version = 0.30.0
[   439.189]     Module class: X.Org XInput Driver
[   439.189]     ABI class: X.Org XInput driver, version 24.1
[   439.189] (II) Using input driver 'libinput' for 'Power Button'
[   439.189] (**) Power Button: always reports core events
[   439.189] (**) Option "Device" "/dev/input/event0"
[   439.189] (**) Option "_source" "server/udev"
[   439.190] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   439.190] (II) event0  - Power Button: device is a keyboard
[   439.190] (II) event0  - Power Button: device removed
[   439.211] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[   439.211] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   439.212] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   439.212] (II) event0  - Power Button: device is a keyboard
[   439.213] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   439.213] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   439.213] (II) Using input driver 'libinput' for 'Sleep Button'
[   439.213] (**) Sleep Button: always reports core events
[   439.213] (**) Option "Device" "/dev/input/event1"
[   439.213] (**) Option "_source" "server/udev"
[   439.214] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   439.214] (II) event1  - Sleep Button: device is a keyboard
[   439.214] (II) event1  - Sleep Button: device removed
[   439.231] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1/event1"
[   439.231] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[   439.232] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   439.232] (II) event1  - Sleep Button: device is a keyboard
[   439.233] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[   439.233] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   439.233] (II) Using input driver 'libinput' for 'Video Bus'
[   439.233] (**) Video Bus: always reports core events
[   439.233] (**) Option "Device" "/dev/input/event2"
[   439.233] (**) Option "_source" "server/udev"
[   439.234] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[   439.234] (II) event2  - Video Bus: device is a keyboard
[   439.234] (II) event2  - Video Bus: device removed
[   439.267] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
[   439.267] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   439.268] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[   439.268] (II) event2  - Video Bus: device is a keyboard
[   439.269] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event5)
[   439.269] (**) VirtualBox mouse integration: Applying InputClass "libinput pointer catchall"
[   439.269] (II) Using input driver 'libinput' for 'VirtualBox mouse integration'
[   439.269] (**) VirtualBox mouse integration: always reports core events
[   439.269] (**) Option "Device" "/dev/input/event5"
[   439.269] (**) Option "_source" "server/udev"
[   439.269] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[   439.269] (II) event5  - VirtualBox mouse integration: device is a pointer
[   439.270] (II) event5  - VirtualBox mouse integration: device removed
[   439.344] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input6/event5"
[   439.344] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: MOUSE, id 9)
[   439.344] (**) Option "AccelerationScheme" "none"
[   439.344] (**) VirtualBox mouse integration: (accel) selected scheme none/0
[   439.344] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[   439.344] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[   439.346] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[   439.346] (II) event5  - VirtualBox mouse integration: device is a pointer
[   439.347] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js0)
[   439.347] (II) No input driver specified, ignoring this device.
[   439.347] (II) This device may have been added with another device file.
[   439.347] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse0)
[   439.347] (II) No input driver specified, ignoring this device.
[   439.347] (II) This device may have been added with another device file.
[   439.347] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event7)
[   439.347] (**) VirtualBox USB Tablet: Applying InputClass "libinput pointer catchall"
[   439.347] (II) Using input driver 'libinput' for 'VirtualBox USB Tablet'
[   439.347] (**) VirtualBox USB Tablet: always reports core events
[   439.347] (**) Option "Device" "/dev/input/event7"
[   439.347] (**) Option "_source" "server/udev"
[   439.406] (II) event7  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[   439.406] (II) event7  - VirtualBox USB Tablet: device is a pointer
[   439.406] (II) event7  - VirtualBox USB Tablet: device removed
[   439.454] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input8/event7"
[   439.454] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: MOUSE, id 10)
[   439.455] (**) Option "AccelerationScheme" "none"
[   439.455] (**) VirtualBox USB Tablet: (accel) selected scheme none/0
[   439.455] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[   439.455] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[   439.513] (II) event7  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[   439.513] (II) event7  - VirtualBox USB Tablet: device is a pointer
[   439.514] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js1)
[   439.514] (II) No input driver specified, ignoring this device.
[   439.514] (II) This device may have been added with another device file.
[   439.514] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse2)
[   439.514] (II) No input driver specified, ignoring this device.
[   439.514] (II) This device may have been added with another device file.
[   439.514] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[   439.514] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   439.514] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   439.514] (**) AT Translated Set 2 keyboard: always reports core events
[   439.514] (**) Option "Device" "/dev/input/event3"
[   439.514] (**) Option "_source" "server/udev"
[   439.515] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   439.515] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   439.515] (II) event3  - AT Translated Set 2 keyboard: device removed
[   439.569] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[   439.569] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[   439.571] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   439.571] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   439.572] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event6)
[   439.572] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[   439.572] (II) Using input driver 'libinput' for 'ImExPS/2 Generic Explorer Mouse'
[   439.572] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[   439.572] (**) Option "Device" "/dev/input/event6"
[   439.572] (**) Option "_source" "server/udev"
[   439.573] (II) event6  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[   439.573] (II) event6  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[   439.573] (II) event6  - ImExPS/2 Generic Explorer Mouse: device removed
[   439.668] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event6"
[   439.668] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 12)
[   439.668] (**) Option "AccelerationScheme" "none"
[   439.669] (**) ImExPS/2 Generic Explorer Mouse: (accel) selected scheme none/0
[   439.669] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[   439.669] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[   439.669] (II) event6  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[   439.670] (II) event6  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[   439.670] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse1)
[   439.670] (II) No input driver specified, ignoring this device.
[   439.670] (II) This device may have been added with another device file.
[   439.670] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[   439.670] (II) No input driver specified, ignoring this device.
[   439.670] (II) This device may have been added with another device file.

这是xorg的配置文件

cat /etc/X11/xorg.conf.d/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/OTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "HWcursor"               # [<bool>]
        #Option     "Xinerama"               # [<bool>]
        #Option     "StaticXinerama"         # <str>
        #Option     "GuiLayout"              # <str>
        #Option     "AddDefaultMode"         # [<bool>]
        #Option     "RenderAccel"            # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "DirectPresents"         # [<bool>]
        #Option     "HWPresents"             # [<bool>]
        #Option     "RenderCheck"            # [<bool>]
    Identifier  "Card0"
    Driver      "vmware"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

配置文件是用Xorg :2 -configure生成的,默认在/root下,我把它移动过去了
只改了驱动,本来是vesa,改成了vmware。就是Driver      "vmware"这一行
系统是在VirtualBox上运行的,系统也已经更新到了最新版

玩linux时间不长,还请路过的各位大神支支招。在英文论坛上也发布了这个帖子。

最近编辑记录 leezh200810 (2020-08-21 09:45:10)

离线

#2 2020-08-20 16:07:22

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: [已解决]picom启动失败

llvmpipe 就别想着跑好看的 opengl 啦……你指定 backend 为 xrender 试试?

离线

#3 2020-08-20 17:19:22

leezh200810
会员
注册时间: 2020-08-10
帖子: 5

Re: [已解决]picom启动失败

就是想给终端加个透明度。
能详细说一下改怎么操作吗

离线

#4 2020-08-21 09:44:25

leezh200810
会员
注册时间: 2020-08-10
帖子: 5

Re: [已解决]picom启动失败

通过添加参数可以成功启动picom

picom --no-vsync

或者

picom --no-vsync --no-use-damage

我用的是alacritty,即使picom成功启动了,alacritty也没有透明度,改透明度时仅仅是变暗或者变亮

离线

#5 2020-08-21 11:08:37

alanfly
会员
注册时间: 2011-12-16
帖子: 50

Re: [已解决]picom启动失败

leezh200810 说:

通过添加参数可以成功启动picom

picom --no-vsync

或者

picom --no-vsync --no-use-damage

我用的是alacritty,即使picom成功启动了,alacritty也没有透明度,改透明度时仅仅是变暗或者变亮

用alacritty自带的透明设置。

background_opacity: 1.0

离线

#6 2020-08-21 14:36:15

leezh200810
会员
注册时间: 2020-08-10
帖子: 5

Re: [已解决]picom启动失败

是的,我说的改变透明度就是改的这一行。
应该不是配置文件的问题,字号、字体、颜色都能通过,唯独透明度不行。
即使改了,实际上变化的只是整体的明暗。

离线

#7 2020-08-21 15:07:35

alanfly
会员
注册时间: 2011-12-16
帖子: 50

Re: [已解决]picom启动失败

我以为你在picom里改的alacritty透明度。
我这里picom下改alacritty配置文件有效啊。


Wnthm9Ij6or1v3f.png

最近编辑记录 alanfly (2020-08-21 15:08:43)

离线

#8 2020-08-21 15:16:39

leezh200810
会员
注册时间: 2020-08-10
帖子: 5

Re: [已解决]picom启动失败

我在真机上的alacritty也没问题。我害怕是配置文件错了,把真机上的拿到了这台虚拟机上,可惜也不行,我已经没有解决这个问题的头绪了,可能是虚拟机的锅吧。

离线

#9 2020-08-21 15:25:15

alanfly
会员
注册时间: 2011-12-16
帖子: 50

Re: [已解决]picom启动失败

虚拟机不懂。

离线

#10 2020-09-27 00:14:59

xiangyi666
会员
注册时间: 2020-09-27
帖子: 2

Re: [已解决]picom启动失败

leezh200810 说:

我在真机上的alacritty也没问题。我害怕是配置文件错了,把真机上的拿到了这台虚拟机上,可惜也不行,我已经没有解决这个问题的头绪了,可能是虚拟机的锅吧。

alacritty是没有问题的,刚刚踩坑回来,picom.conf里面把mark-ovredir-focused = false  vsync = false 取消注释 active-opacity = 0.8 调下透明度,picom新版巨坑,以前不用配置就能透明。

离线

页脚