无法完成安装:'internal error: process exited while connecting to monitor: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)---disabling.'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 2121, in _do_async_install
File "/usr/share/virt-manager/virtinst/installer.py", line 419, in start_install
doboot, transient)
File "/usr/share/virt-manager/virtinst/installer.py", line 362, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib/python3/dist-packages/libvirt.py", line 3732, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: internal error: process exited while connecting to monitor: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)---disabling.
apt policy xserver-xorg-core Display all 1824 possibilities? (y or n)
查看/etc/apt/sources.list:
1 2 3 4
cat /etc/apt/sources.list ## Generated by deepin-installer deb https://professional-packages.chinauos.com/desktop-professional eagle main contrib non-free #deb-src https://professional-packages.chinauos.com/desktop-professional eagle main contrib non-free
cd xorg-server-1.20.4.65/xorg-server-1.20.4.65 sudo gdb -p 10061 GNU gdb (Uos 8.2.1.1-1+security) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty"for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration"for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>.
For help, type"help". Type "apropos word" to search for commands related to "word". Attaching to process 10061 [New LWP 10091] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". 0x0000ffff92739d70 in __GI_epoll_pwait (epfd=<optimized out>, events=events@entry=0xfffff150d758, maxevents=maxevents@entry=256, timeout=<optimized out>, set=set@entry=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42 42 ../sysdeps/unix/sysv/linux/epoll_pwait.c: 没有那个文件或目录. (gdb) b WaitForSomething Breakpoint 1 at 0x592ff0: file ../../../../os/WaitFor.c, line 167. (gdb) c Continuing.
Thread 1 "Xorg" hit Breakpoint 1, WaitForSomething (are_ready=0) at ../../../../os/WaitFor.c:167 warning: Source file is more recent than executable. 167 { (gdb) bt #0 WaitForSomething (are_ready=0) at ../../../../os/WaitFor.c:167 #1 0x00000000004453bc in Dispatch () at ../../../../include/list.h:220 #2 0x0000000000449700 in dix_main (argc=12, argv=0xfffff150ea48, envp=0xfffff150eab0) at ../../../../dix/main.c:276 #3 0x0000ffff9268ada4 in __libc_start_main (main=0x432748 <main>, argc=12, argv=0xfffff150ea48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:308 #4 0x0000000000432798 in _start () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) l 162 * pClientsReady is an array to store ready client->index values into. 163 *****************/ 164 165 Bool 166 WaitForSomething(Bool are_ready) 167 { 168 int i; 169 int timeout; 170 int pollerr; 171 static Bool were_ready;
git show 00f20720be71 commit 00f20720be7137c1355f0cd1372779be34043ce5 Author: Robert Foss <robert.foss@collabora.com> Date: Mon Nov 12 17:51:54 2018 +0100
drm/virtio: add virtio_gpu_alloc_fence()
Refactor fence creation, add fences to relevant GPU operations and add cursor helper functions.
This removes the potential for allocation failures from the cmd_submit and atomic_commit paths. Now a fence will be allocated first and only after that will we proceed with the rest of the execution.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Robert Foss <robert.foss@collabora.com> Link: http://patchwork.freedesktop.org/patch/msgid/20181112165157.32765-2-robert.foss@collabora.com Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>