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

DanglingPointer's questions

Martin Hope
DanglingPointer
Asked: 2020-05-16 17:00:08 +0800 CST

如何在 Ubuntu 20.04 上安装任天堂模拟器 gfceu

  • 0

在 ubuntu 18.04 上,我们在 gfceu 存储库中有 NES 模拟器...

Ubuntu 18.04

$ apt search gfceu
Sorting... Done
Full Text Search... Done
gfceu/bionic,bionic,now 0.6.1-0ubuntu4 all [installed]
  Graphical front-end using GTK2 for the FCE Ultra NES emulator
$

但是在 Ubuntu 20.04 上它不存在...

Ubuntu 20.04

$ apt search gfceu
Sorting... Done
Full Text Search... Done
$

那么我们如何安装呢?

software-installation emulation games
  • 2 个回答
  • 1479 Views
Martin Hope
DanglingPointer
Asked: 2019-01-06 16:09:49 +0800 CST

如何让 R9-290 / 290X 卡与 Kernel 4.20.x 和 amdgpu 内核驱动程序一起使用

  • 2

R9-290/290X Hawaii 系列卡不适用于 ubuntu 18 中的 Linux 内核 4.19.x 和 4.20.x 最后一个功能齐全的内核版本是 4.18.20 这是最新的稳定 mesa 驱动程序和 amdgpu drm 驱动程序-核心。

4.19.x 和 4.20.x 导致启动失败或根本无法启动(grub 后黑屏,无 tty)。

根据 grub linux 命令行参数,我能够获得不稳定的桌面启动,以进一步调查和收集状态证据。这里是...

内核和命令行

核心:

Linux version 4.20.0-042000-generic (kernel@tangerine) (gcc version 8.2.0 (Ubuntu 8.2.0-12ubuntu1)) #201812232030 SMP Mon Dec 24 01:32:58 UTC 2018

内核命令行:

BOOT_IMAGE=/vmlinuz-4.20.0-042000-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1

lspci -v适用于 Linux 内核 4.20.0

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] (prog-if 00 [VGA controller])
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X]
    Flags: fast devsel, IRQ 16
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at ef800000 (64-bit, prefetchable) [size=8M]
    I/O ports at ae00 [size=256]
    Memory at fb980000 (32-bit, non-prefetchable) [size=256K]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting
    Capabilities: [270] #19
    Capabilities: [2b0] Address Translation Service (ATS)
    Capabilities: [2c0] Page Request Interface (PRI)
    Capabilities: [2d0] Process Address Space ID (PASID)
    Kernel modules: radeon, amdgpu

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
    Flags: bus master, fast devsel, latency 0, IRQ 32
    Memory at fb9fc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

上次启动内核 4.20 只有一个显示工作。

其他显示器强制镜像。其他 GPU 端口不工作。journalctl -b | grep drm输出:

[drm] amdgpu kernel modesetting enabled.
[drm] initializing kernel modesetting (HAWAII 0x1002:0x67B0 0x1002:0x0B00 0x00).
[drm] register mmio base: 0xFB980000
[drm] register mmio size: 262144
[drm] add ip block number 0 <cik_common>
[drm] add ip block number 1 <gmc_v7_0>
[drm] add ip block number 2 <cik_ih>
[drm] add ip block number 3 <gfx_v7_0>
[drm] add ip block number 4 <cik_sdma>
[drm] add ip block number 5 <powerplay>
[drm] add ip block number 6 <dm>
[drm] add ip block number 7 <uvd_v4_2>
[drm] add ip block number 8 <vce_v2_0>
[drm] vm size is 128 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[drm:gmc_v7_0_sw_init [amdgpu]] *ERROR* Failed to load mc firmware!
[drm:amdgpu_device_init.cold.31 [amdgpu]] *ERROR* sw_init of IP block <gmc_v7_0> failed -2
[drm] amdgpu: finishing device.

linux Kernel 4.18.20 的最后一次成功启动。

所有显示器工作。一切正常。这里供参考,journalctl | grep drm输出:

[drm] amdgpu kernel modesetting enabled.
fb: switching to amdgpudrmfb from VESA VGA
[drm] initializing kernel modesetting (HAWAII 0x1002:0x67B0 0x1002:0x0B00 0x00).
[drm] register mmio base: 0xFB980000
[drm] register mmio size: 262144
[drm] probing gen 2 caps for device 8086:151 = 261ac83/e
[drm] probing mlw for device 8086:151 = 261ac83
[drm] add ip block number 0 <cik_common>
[drm] add ip block number 1 <gmc_v7_0>
[drm] add ip block number 2 <cik_ih>
[drm] add ip block number 3 <ci_dpm>
[drm] add ip block number 4 <dm>
[drm] add ip block number 5 <gfx_v7_0>
[drm] add ip block number 6 <cik_sdma>
[drm] add ip block number 7 <uvd_v4_2>
[drm] add ip block number 8 <vce_v2_0>
[drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[drm] Detected VRAM RAM=4096M, BAR=256M
[drm] RAM width 512bits GDDR5
[drm] amdgpu: 4096M of VRAM memory ready
[drm] amdgpu: 4096M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F4007E9000).
[drm] Internal thermal controller with fan control
[drm] Invalid PCC GPIO: 13!
[drm] amdgpu: dpm initialized
[drm] Found UVD firmware Version: 1.64 Family ID: 9
[drm] Found VCE firmware Version: 50.10 Binary ID: 2
[drm] PCIE gen 3 link speeds already enabled
[drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
[drm] Display Core initialized with v3.1.44!
[drm] SADs count is: -524, don't need to read it
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] UVD initialized successfully.
[drm] VCE initialized successfully.
[drm] fb mappable at 0xD0BD0000
[drm] vram apper at 0xD0000000
[drm] size 8294400
[drm] fb depth is 24
[drm]    pitch is 7680
fbcon: amdgpudrmfb (fb0) is primary device
[drm] dce_get_required_clocks_state: clocks unsupported disp_clk 681000 pix_clk 148500
amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[drm] Initialized amdgpu 3.26.0 20150101 for 0000:01:00.0 on minor 0
boot drivers kernel amd-graphics amdgpu
  • 1 个回答
  • 3185 Views
Martin Hope
DanglingPointer
Asked: 2018-12-17 19:35:24 +0800 CST

如何在Geany中按单个字符缩进多行?

  • 4

基本上我正在寻找类似于选择一块文本或行并点击标签的东西;但不是制表符,而是使用空格键。

有没有简单的捷径?在任何地方都找不到任何东西。当我选择一个文本块并点击空格键时,它会用一个空格替换很多!

shortcut-keys geany
  • 3 个回答
  • 6114 Views
Martin Hope
DanglingPointer
Asked: 2018-10-05 23:43:36 +0800 CST

无法构建 python 3.7.0“_dbm”可选模块

  • 8

我已经能够成功地完成构建 python 3.7.0 但最后一个可选模块一直在网上溜走!_dbm

为此需要什么 ubuntu 或 debian 软件包?

The necessary bits to build these optional modules were not found:
_dbm

我已经能够包含在构建中_gdbm但没有_dbm,为什么?我已经安装libgdbm-dev(解决了_gdbm),但无法明确找到任何其他*dbm-dev与_dbm.

如果有人知道我缺少什么,我将非常感激!

环境:

  • Ubuntu 18.04
  • gcc8.2
  • python3.7.0源码
  • 使用配置 --enable-optimizations --with-lto
software-installation gcc python3 make
  • 1 个回答
  • 5665 Views
Martin Hope
DanglingPointer
Asked: 2017-12-10 06:59:36 +0800 CST

Ubuntu Wayland 上的 xprintidle

  • 2

任何人都知道是否有xprintidle运行 Wayland 的 Ubuntu 版本?

如果不是,那么xprintidle在 Wayland 下以毫秒为单位计算用户空闲时间的替代方法是什么?

有趣的是,当它现在基本上被 Wayland 破坏时,该应用程序仍在存储库中。

18.04
  • 1 个回答
  • 637 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