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-317519

Verloren's questions

Martin Hope
Verloren
Asked: 2019-04-05 01:19:00 +0800 CST

如何检查计算机睡眠模式之前和期间发生的情况?

  • 2

当我将其置于睡眠模式时,我的计算机表现得很奇怪。尽管我禁用了/proc/acpi/wakeup. 在醒来和睡觉后一段时间后,它会睡觉,但会开始发热,好像有什么资源密集型程序正在运行一样。我正在使用 Debian Stretch,计算机是 2013 年中期的 Macbook Air。

如何在睡眠前和睡眠期间检查我的计算机在做什么?也许这将有助于确定问题的根源。

debian suspend
  • 1 个回答
  • 67 Views
Martin Hope
Verloren
Asked: 2019-03-30 10:24:53 +0800 CST

如何正确更新 Mesa 驱动程序?

  • 4

我需要我的显卡驱动程序支持 OpenGL 4.5,据我所知 Mesa 实际上能够运行它。
glxinfo给了我这个:

$ glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 13.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

所以这意味着它只能运行 OpenGL 3.0。所以我尝试更新它,但我遇到了几个问题:

如果我尝试通过 更新它apt,即sudo apt-get upgrade libgl1-mesa-dri -t testing,它已损坏:

$ sudo apt-get upgrade libgl1-mesa-dri -t testing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libsnmp30 : Depends: libsensors4 (>= 1:3.0.0) but it is not going to be installed
 mesa-va-drivers : Depends: libsensors4 (>= 1:3.0.0) but it is not going to be installed
 mesa-va-drivers:i386 : Depends: libsensors4:i386 (>= 1:3.0.0) but it is not going to be installed
E: Broken packages

好的,但是:

$ apt-cache policy libsensors4
libsensors4:
  Installed: 1:3.4.0-4
  Candidate: 1:3.4.0-4
  Version table:
 *** 1:3.4.0-4 900
        900 http://ftp.ru.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

所以它取决于lib版本> = 1:3.0.0,但我有版本1:3.4.0-4,这真的很奇怪。

一般来说,我不明白我应该如何升级 Mesa。如果使用apt,我不知道应该更新哪些软件包。如果来自源,我不知道它将如何交互apt以及它是否不会被更新恢复。

我使用的是 Debian 9 Stretch,我的显卡是 Intel HD Graphics 5000。

debian apt
  • 3 个回答
  • 12772 Views
Martin Hope
Verloren
Asked: 2018-10-25 09:36:24 +0800 CST

无法同时使用 Macbook Air 的键盘和触控板

  • 2

我正在尝试在我的 Macbook Air 笔记本电脑和 Debian 9 Stretch 上玩一些游戏,但我的键盘和触控板不能同时工作。这个问题有解决方案,提到用xinput. 问题是,我的键盘/触控板没有任何与此相关的属性,即“键入时禁用”。

xinput输出:

$ xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ bcm5974                                   id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]  
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Apple Inc. Apple Internal Keyboard / Trackpad id=10   [slave  keyboard (3)]
$ xinput --list-props 10
Device 'Apple Inc. Apple Internal Keyboard / Trackpad':
    Device Enabled (139):   1
    Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Send Events Modes Available (261): 1, 0
    libinput Send Events Mode Enabled (262):    0, 0
    libinput Send Events Mode Enabled Default (263):    0, 0
    Device Node (264):  "/dev/input/event1"
    Device Product ID (265):    1452, 657
$ sudo xinput --list --long "Apple Inc. Apple Internal Keyboard / Trackpad"
Apple Inc. Apple Internal Keyboard / Trackpad   id=10   [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 10. Type: XIKeyClass
        Keycodes supported: 248
debian macintosh
  • 1 个回答
  • 390 Views

Sidebar

Stats

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

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve