AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-193641

einpoklum's questions

Martin Hope
einpoklum
Asked: 2021-02-26 11:10:38 +0800 CST

在 Lubuntu 20.04 中删除 Livepatch 系统托盘面板指示器

  • 1

我在 Lubuntu 20.04 Focal Fossa 中使用 LXQt。

我想去掉 Livepatch 指示器,它在我面板上的系统托盘中(托盘里装满了 c*** 我反正不需要!)

我在这里寻找答案:

  • 如何删除实时补丁通知?
  • https://www.reddit.com/r/Ubuntu/comments/bkndho/how_can_i_remove_the_livepatch_appindicator/
  • Lubuntu 20.04 中的两个更新程序图标
  • 在顶部面板中隐藏 livepatch 指示器

但这些建议不起作用,或者不是关于删除 livepatch。

我不介意完全禁用它,或者只是删除图标。它可以只针对我的用户,也可以针对全球。

lubuntu
  • 3 个回答
  • 288 Views
Martin Hope
einpoklum
Asked: 2018-06-10 03:09:33 +0800 CST

Ubuntu 18.04 中有哪些 GCC 和 clang 版本?[复制]

  • 15
这个问题在这里已经有了答案:
如何检查存储库中软件包的可用版本? (7 个回答)
4年前关闭。

在新的 Ubuntu 18.04 中:

  • 什么是默认的 GCC 版本(构建二进制文件的版本)?
  • 哪些 GCC 版本可作为单独的软件包使用(如果我分别安装 GCC 4、5、6、7 或 8,则安装哪些次要版本)?
  • 哪些 Clang 版本可作为单独的包使用(如果我安装 clang 4 或 5,安装了哪些次要版本?)

我在任何发行说明中都找不到这个(我不想安装只是为了检查。)

versions gcc compiler 18.04
  • 1 个回答
  • 19729 Views
Martin Hope
einpoklum
Asked: 2016-08-11 02:38:51 +0800 CST

如何更改 lxpanel 数字时钟字体大小?

  • 1

我想更改用于在 LXPanel 的数字时钟中呈现时间的字体大小。我看到 lxpanel 配置文件有一个字体设置,但它似乎会影响窗口栏/按钮标签;我想要的东西只是时钟。

可以更改时钟字体大小吗?如果是这样,怎么做?

PS - 我还尝试更改面板高度(从 26 到 32),但没有帮助。

fonts
  • 1 个回答
  • 1755 Views
Martin Hope
einpoklum
Asked: 2016-08-10 01:12:00 +0800 CST

X 不会以 Intel 板载显卡 + nVIDIA 卡启动

  • 2

我运行 Kubuntu 16.04(刚刚从 ISO 安装)。我的电脑有片上英特尔显卡,这是我用于显示的。我还有一张 GTX 650 Ti Boost 卡,我不想用于显示(仅用于 CUDA 工作)。

  • 当安装 nVIDIA 驱动程序 361.62 或 367.35(最新)时,Xorg 加载到黑屏(但当我运行使用 CUDA 的二进制文件时运行良好)。
  • 未安装 nVIDIA 驱动程序时,Xorg 加载正常;它加载了 nouveau 模块(尽管据说我不需要它们) - 但 CUDA 应用程序不运行。

安装 nVIDIA 驱动程序的 Xorg 错误是:

(EE) NOUVEAU(G0): [XvMC] Failed to initialize extension.
...
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

如果我卸载 nVIDIA 驱动程序,X 将再次正常工作(很快会在此处引用一些日志消息)。

我怎样才能同时安装 X 和 CUDA(即驱动程序安装和运行)?

适当披露:我曾问过关于 unix.SX 上的 Debian Stretch 的相同问题,但由于我刚刚切换到 Kubuntu,所以将其删除。


更新:

因此,我完全卸载了 Nouveau 以进一步探索这一点。当我生成 xorg.conf 时,我得到(剪辑输入设备相关和文件行和部分):

Section "ServerLayout"
       Identifier     "X.org Configured"
       Screen      0  "Screen0" 0 0
       Screen      1  "Screen1" RightOf "Screen0"
EndSection

Section "Module"
       Load  "glx"
EndSection

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

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

Section "Device"
        Identifier  "Card0"
        Driver      "fbdev"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
       Identifier  "Card1"
       Driver      "fbdev"
       BusID       "PCI:2:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
       Identifier "Screen1"
       Device     "Card1"
       Monitor    "Monitor1"
       SubSection "Display"
               Viewport   0 0
               Depth     24
       EndSubSection
EndSection

(注意 PCI 2:0:0 是 nVIDIA 卡,0:2:0 是片上显卡。)

现在,

  • 如果我将此配置与 nVDIAI 驱动程序一起使用 - 空白屏幕。
  • 如果我注释掉有关 nVIDIA 卡(卡 1,监视器 1)的部分并更改 ServerLayout 部分 - 空白屏幕。
  • 如果我禁用 GLX 模块的加载,这会在日志中产生错误 - 空白屏幕(并且不清楚模块加载是问题)
  • 我什至进入/usr/lib/xorg/modules,删除 nvidia 的 libglx.so 和/或恢复非 nvidia libglx.so - 仍然是空白屏幕。

我确实收到了不同的错误消息。有了上述最广泛的子集,我有:

[  1952.022] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 10 10:07:20 2016
[  1952.022] (==) Using config file: "/etc/X11/xorg.conf"
[  1952.022] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1952.022] (==) ServerLayout "X.org Configured"
[  1952.022] (**) |-->Screen "Screen0" (0)
[  1952.022] (**) |   |-->Monitor "Monitor0"
[  1952.022] (**) |   |-->Device "Card0"
[  1952.022] (**) |-->Input Device "Mouse0"
[  1952.022] (**) |-->Input Device "Keyboard0"
[  1952.022] (==) Automatically adding devices
[  1952.022] (==) Automatically enabling devices
[  1952.022] (==) Automatically adding GPU devices
...
  1952.024] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1952.024] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1952.026] (--) PCI:*(0:0:2:0) 8086:0162:1565:110f rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[  1952.026] (--) PCI: (0:2:0:0) 10de:11c2:19da:1281 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  1952.026] (II) LoadModule: "glx"
[  1952.026] (II) Loading /usr/lib/xorg/modules/extensions-nvidia-leave-me-alone/libglx.so
[  1952.026] (II) Module glx: vendor="X.Org Foundation"
[  1952.026]    compiled for 1.18.3, module version = 1.0.0
[  1952.026]    ABI class: X.Org Server Extension, version 9.0
[  1952.026] (==) AIGLX enabled
[  1952.026] (II) LoadModule: "fbdev"
[  1952.027] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  1952.027] (II) Module fbdev: vendor="X.Org Foundation"
[  1952.027]    compiled for 1.18.1, module version = 0.4.4
[  1952.027]    Module class: X.Org Video Driver
[  1952.027]    ABI class: X.Org Video Driver, version 20.0
[  1952.027] (II) FBDEV: driver for framebuffer: fbdev
[  1952.033] (II) Loading sub module "fbdevhw"
[  1952.033] (II) LoadModule: "fbdevhw"
[  1952.033] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  1952.033] (II) Module fbdevhw: vendor="X.Org Foundation"
[  1952.033]    compiled for 1.18.3, module version = 0.0.2
[  1952.033]    ABI class: X.Org Video Driver, version 20.0
[  1952.033] (**) FBDEV(0): claimed PCI slot 0@0:2:0
[  1952.033] (II) FBDEV(0): using default device
[  1952.033] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[  1952.033] (==) FBDEV(0): RGB weight 888
[  1952.033] (==) FBDEV(0): Default visual is TrueColor
[  1952.033] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  1952.033] (II) FBDEV(0): hardware: inteldrmfb (video memory: 8100kB)
[  1952.033] (II) FBDEV(0): checking modes against framebuffer device...
[  1952.033] (II) FBDEV(0): checking modes against monitor...
[  1952.033] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[  1952.033] (**) FBDEV(0):  Built-in mode "current"
[  1952.033] (==) FBDEV(0): DPI set to (96, 96)
[  1952.033] (II) Loading sub module "fb"
[  1952.033] (II) LoadModule: "fb"
[  1952.033] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1952.034] (II) Module fb: vendor="X.Org Foundation"
[  1952.034]    compiled for 1.18.3, module version = 1.0.0
[  1952.034]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1952.034] (**) FBDEV(0): using shadow framebuffer
[  1952.034] (II) Loading sub module "shadow"
[  1952.034] (II) LoadModule: "shadow"
[  1952.034] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  1952.034] (II) Module shadow: vendor="X.Org Foundation"
[  1952.034]    compiled for 1.18.3, module version = 1.1.0
[  1952.034]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1952.034] (==) Depth 24 pixmap format is 32 bpp
[  1952.079] (==) FBDEV(0): Backing store enabled
[  1952.080] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
... repeated many times
[  1952.082] (==) FBDEV(0): DPMS enabled
[  1952.082] (==) RandR enabled
[  1952.087] (II) SELinux: Disabled on system
[  1952.087] (II) AIGLX: Screen 0 is not DRI2 capable
[  1952.087] (EE) AIGLX: reverting to software rendering
[  1952.101] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[  1952.101] (EE) GLX: could not load software renderer
[  1952.101] (II) GLX: no usable GL providers found for screen 0
...
[  2201.199] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0/drm/card1 /dev/dri/card1
[  2201.199] xf86: remove device 0 /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0/drm/card1
  • 我还尝试强制使用“intel”驱动程序。这在未安装 nVIDIA 驱动程序时有效,但是当它们安装时它是相同的旧空白屏幕。
drivers
  • 2 个回答
  • 3625 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve