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
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[graphics](ubuntu)

Martin Hope
karel
Asked: 2024-06-21 16:08:09 +0800 CST

Ubuntu 24.04 中所有应用程序中的窗口控制功能失调

  • 5

在 Ubuntu 24.04 中,我的所有应用程序中的最小化/最大化/关闭窗口控件都无法正常工作。如果我通过单击最大化窗口按钮将窗口最大化到全宽,则位于窗口右侧屏幕 4 厘米宽区域内的所有控件都不起作用。我仍然可以通过右键单击 Dock 中的窗口图标并选择退出来正常关闭窗口。

也许这不相关,但我也可以通过双击面板将窗口从最大化缩小到更小的尺寸。另一个线索是我的电脑上有两个 HDMI 端口。一个 HDMI 端口用于显卡,另一个当前未使用的端口用于 CPU 的集成显卡。

graphics
  • 1 个回答
  • 32 Views
Martin Hope
Zedzee
Asked: 2024-06-08 10:08:14 +0800 CST

Ubuntu 24.04 中的 Vari-Bright

  • 5

我相信 AMD Vari Bright 会影响我的显示器的伽玛,我想将其关闭,但我不确定具体如何操作。

CPU/GPU:Ryzen 7 7840U,配备 Radeon 780M

graphics
  • 1 个回答
  • 43 Views
Martin Hope
totalconfusion
Asked: 2024-04-29 18:44:16 +0800 CST

这个占据了我屏幕一半的橙色东西是什么?

  • 7

这种透明的橙色东西不断出现并挡住了我的一半屏幕。我该如何禁用它?我猜这是一个窗口捕捉/工作区的事情?在过去一小时内它弹出了 3 次,而我却没有任何输入。在屏幕截图中,我的手离开了鼠标,它就停留在那里。

我可以通过将窗口拖动到屏幕顶部来摆脱它。

橙色的威胁

graphics
  • 1 个回答
  • 190 Views
Martin Hope
Francisco Zavala
Asked: 2024-04-22 05:49:41 +0800 CST

如何更改终端中的列数和行数?

  • 4

我一直在开发一个用于在终端上生成二维图形的图形库。我需要控制行数和列数来指定分辨率。

graphics
  • 1 个回答
  • 39 Views
Martin Hope
Geary
Asked: 2023-12-16 00:46:48 +0800 CST

EverSpace 2 由于 OOM 崩溃

  • 5

我是一个相对较新的用户,我正在尝试对 Everspace 安装进行故障排除。游戏大约 30 分钟后,《Everspace》崩溃了。我的 dmesg 日志如下:

    [ 1192.925982] [   4766]  1000  4766    52023    10117   409600        0           200 apt-check
[ 1192.925984] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/[email protected]/session.slice/[email protected],task=RSG-Linux-Shipp,pid=4644,uid=1000
[ 1192.926065] Out of memory: Killed process 4644 (RSG-Linux-Shipp) total-vm:9695404kB, anon-rss:3881560kB, file-rss:448kB, shmem-rss:128kB, UID:1000 pgtables:16948kB oom_score_adj:100
[ 1194.072896] rfkill: input handler enabled
[ 1194.951973] kauditd_printk_skb: 6 callbacks suppressed
[ 1194.951976] audit: type=1400 audit(1702657465.534:162): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/20290/usr/lib/snapd/snap-confine" pid=4866 comm="snap-confine" capability=12  capname="net_admin"
[ 1194.951981] audit: type=1400 audit(1702657465.534:163): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/20290/usr/lib/snapd/snap-confine" pid=4866 comm="snap-confine" capability=38  capname="perfmon"
[ 1195.649519] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 1195.802107] rfkill: input handler disabled
[ 1204.153520] rfkill: input handler enabled
[ 1205.055782] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 1205.381611] rfkill: input handler disabled
[ 1206.403436] audit: type=1107 audit(1702657476.987:164): pid=625 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.8" pid=5910 label="snap.snap-store.ubuntu-software" peer_pid=636 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 1206.403826] audit: type=1107 audit(1702657476.987:165): pid=625 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.8" pid=5910 label="snap.snap-store.ubuntu-software" peer_pid=636 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 1206.406283] audit: type=1107 audit(1702657476.987:166): pid=625 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.8" pid=5910 label="snap.snap-store.ubuntu-software" peer_pid=636 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 1206.406597] audit: type=1107 audit(1702657476.987:167): pid=625 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.8" pid=5910 label="snap.snap-store.ubuntu-software" peer_pid=636 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[ 1206.720225] audit: type=1400 audit(1702657477.303:168): apparmor="DENIED" operation="open" class="file" profile="snap.snap-store.ubuntu-software" name="/etc/appstream.conf" pid=5910 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1210.416153] audit: type=1326 audit(1702657480.999:169): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.opera.opera pid=6742 comm="opera" exe="/snap/opera/279/usr/lib/x86_64-linux-gnu/opera/opera" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7fb469f4d4e7 code=0x50000
[ 1210.416321] audit: type=1326 audit(1702657480.999:170): auid=1000 uid=1000 gid=1000 ses=2 subj=snap.opera.opera pid=6741 comm="opera" exe="/snap/opera/279/usr/lib/x86_64-linux-gnu/opera/opera" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7f6bd435d4e7 code=0x50000
[ 1212.157575] audit: type=1107 audit(1702657482.739:171): pid=625 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=6489 label="snap.opera.opera" peer_pid=623 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'

我最初的研究表明 systemd-oomd 是罪魁祸首,所以我杀死了它:

sudo systemctl status systemd-oomd
○ systemd-oomd.service
     Loaded: masked (Reason: Unit systemd-oomd.service is masked.)
     Active: inactive (dead)

这是我的系统详细信息:

System:
  Host: geary-Aspire-A315-59 Kernel: 6.2.0-39-generic arch: x86_64 bits: 64
    Desktop: GNOME v: 44.3 Distro: Ubuntu 23.04 (Lunar Lobster)
Machine:
  Type: Laptop System: Acer product: Aspire A315-59 v: V1.22
    serial: <superuser required>
  Mobo: ADL model: Callisto_ADU v: V1.22 serial: <superuser required>
    UEFI: Insyde v: 1.22 date: 05/31/2023
Battery:
  ID-1: BAT1 charge: 21.7 Wh (54.5%) condition: 39.8/39.9 Wh (99.8%)
    volts: 11.4 min: 11.6
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64
    type: MST AMCP cache: L2: 6.5 MiB
  Speed (MHz): avg: 2500 min/max: 400/4400:3300 cores: 1: 2500 2: 2500
    3: 2500 4: 2500 5: 2500 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500
    12: 2500
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: Quanta ACER HD User Facing type: USB driver: N/A
  Display: wayland server: X.Org v: 1.22.1.8 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.4-0ubuntu1~23.04.1 renderer: Mesa Intel
    Graphics (ADL GT2)
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    driver: sof-audio-pci-intel-tgl
  Sound API: ALSA v: k6.2.0-39-generic running: yes
  Sound Server-1: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: MEDIATEK driver: N/A
  Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB
    driver: r8188eu
  IF: wlx40ed001396e7 state: up mac: 40:ed:00:13:96:e7
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb
  Report: hciconfig ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: no
    address: 00:00:00:00:00:00
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
Drives:
  Local Storage: total: 238.47 GiB used: 65.13 GiB (27.3%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: OM8SEP4256Q-AA size: 238.47 GiB
Partition:
  ID-1: / size: 86.21 GiB used: 65.07 GiB (75.5%) fs: ext4 dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 65.2 MiB (25.5%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 52.8 MiB (2.6%) file: /swapfile
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 325 Uptime: 34m Memory: 7.46 GiB used: 2.54 GiB (34.0%)
  Shell: Bash inxi: 3.3.25

任何帮助将不胜感激,如果我发现罪魁祸首,我一定会回复。我目前的理论是,我确实内存不足,这就是它死掉的原因。当它崩溃时,它需要 GNOME,强制 UI 重新启动,我必须重新登录。我不断地关闭图形选项,但它似乎没有帮助。我现在已经脱离了我的联盟。

非常感谢您的参与!

graphics
  • 2 个回答
  • 45 Views
Martin Hope
Sprocket
Asked: 2023-07-13 08:37:08 +0800 CST

使用 Intel 集成显卡时 Blender 挂起

  • 5

在正常使用英特尔集成显卡的编辑模式和对象模式期间,Blender 经常挂起并且必须被终止。我在 Ubuntu 22.04 上使用版本 3.6.0,但其他版本中也存在该问题。自从我安装了 Ubuntu 以来,这个问题就一直存在,并且在重新安装 Ubuntu 后它仍然存在。冻结后我能够在日志中找到以下内容:

在“系统”下

20:02:34 kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85df9e9f, in blender [35275]
20:02:34 kernel: i915 0000:00:02.0: [drm] blender[35275] context reset due to GPU hang

在“应用程序”下

20:02:26 blender: WAYLAND found but libdecor was not, install libdecor for Wayland support, falling back to X11
20:02:26 blender: Unable to find 'libdecor-0.so'

如果我使用相当过时的外部显卡(在其他所有用例中情况更糟),冻结似乎就会消失,因此该问题似乎是英特尔显卡特有的。其他程序似乎没有出现问题。我已经搜索了很多,但有 >50% 的可能性我错过了一些非常明显的东西。谢谢你!

编辑:安装 libdecor 对挂起没有影响,因此第一个日志消息是唯一相关的。

graphics
  • 1 个回答
  • 113 Views
Martin Hope
Adarsh
Asked: 2023-01-26 11:44:20 +0800 CST

i7 中 16 个中只有 2 个 cpu 用于 ubuntu 中的繁重任务

  • 6

我正在使用 ubuntu 22,i7 第 12 代 gpu 和 16gb ram 和 Nvidia rtx 3060 gpu 和 6GB vram。

在执行诸如游戏之类的繁重任务时,我在活动监视器中观察到,16 个 CPU 中只有 2 个(主要是 cpu5 和 CPU 7)被使用到 100%,而另一个 CPU 徘徊在接近 0。

我还观察到 CPU 5 和 CPU 7 的图形几乎是镜像,如果 CPU 5 正在被使用,则 CPU 7 下降,反之亦然,我不确定为什么会发生这种情况以及为什么另一个 CPU 没有被使用.

这不仅限于游戏,尽管每当我听到粉丝跑步或执行某些任务(例如浏览)时,我都会观察到类似的模式。我什至尝试了此处提供的解决方案,但它似乎并没有解决问题我认为由于声誉原因我无法添加图像所以给你们提供图像链接希望这有助于 1个

graphics
  • 1 个回答
  • 39 Views
Martin Hope
raphael75
Asked: 2022-07-04 19:10:51 +0800 CST

Ubuntu 22.04 displayport 切入切出

  • 0

我有 Ubuntu 22.04 和 NVIDIA Corporation GA102 GeForce RTX 3080 显卡。显卡有 3 个 Displayport 输出和 1 个 HDMI。我有一个插入 HDMI 的华硕 VE278 显示器,它工作正常。HDMI 插入一根 HDMI 线从计算机连接到 KVM,另一根 HDMI 线从 KVM 连接到 ASUS VE278。

我还有一个插入了 Displayport 的 ASUS VE276。它有一条 Displayport 电缆直接从计算机连接到 VE276。

计算机启动时,两个屏幕都显示 POST、Ubuntu 加载徽标、登录屏幕等。

但是,当它最终加载到 KDE 中时,Displayport 显示器变黑并且我在屏幕上看到“DisplayPort 无信号”。

我正在使用 Nvidia 视频驱动程序:

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 12GB] (rev a1)

当前发现的监视器:

xrandr --listmonitors
Monitors: 1
 0: +*HDMI-0 1920/598x1080/336+0+0  HDMI-0

更多信息:

lspci -k | grep -EA3 'VGA|3D|Display'
01:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080 12GB] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 389b
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

为什么它会在一切都在启动时看到 DisplayPort 监视器,然后在 KDE 最终加载时却找不到它?

graphics
  • 1 个回答
  • 76 Views
Martin Hope
chmike
Asked: 2022-03-29 08:07:33 +0800 CST

AMD radeon RX6500 XT 显卡不适用于 21.10

  • 0

我刚刚购买了 AMD Radeon RX6500 XT MSI 显卡,但无法使其与我的 Ubuntu 21.10 一起使用。

我以为已经预装了开源驱动程序,并且可以即插即用,但我被 VGA 显示器卡住了。

正如这个答案中所建议的,我检查了 amdgpu 没有被列入黑名单。事实并非如此。

安装 amdgpu 驱动程序仅适用于 20.04.2。我不想重新安装所有东西,尤其是 22.04 即将到来。

$ lspci 
...
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 743f (rev c1)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
...

任何帮助都将受到热烈欢迎。

编辑:执行后sudo update-pciids,我现在看到:

$ lspci -nn | grep -E 'VGA|Display'
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400 / 6500 XT] [1002:743f] (rev c1)
graphics
  • 1 个回答
  • 653 Views
Martin Hope
Subod
Asked: 2022-01-23 06:00:53 +0800 CST

Ubuntu MATE - 分辨率停留在 640x480

  • 1

我刚刚安装了 Ubuntu MATE,我的分辨率停留在 640x480。我曾尝试同时使用xrandr视频设置和视频设置来更改此设置,但 640 是我看到的唯一选项。

这是显示问题的屏幕截图和一些详细信息xrandr:

细节

graphics
  • 1 个回答
  • 233 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