2025-01-23

2025-01-23

  • RJ
  • Eric
  • 林博仁 Buo-ren Lin
  • 達業
  • FlyPie
  • Mat
  • FL
  • 朋友 B
  • Marty
  • ciosai
  • PL
  • Pellaeon

H4 公告

「下禮拜春節暫停一次」

FlyPie

  • DRI3 (Direct Rendering Infrastructure)
  • UNO (Universal Network Objects)
  • https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
    • 在 SVG 裡放 HTML 的 tag
  • https://pdm-project.org
    • Python 的 NPM
  • Kasm Workspaces | The Container Streaming Platform

Topic: NV 顯卡驅動 on Ubuntu Server

FlyPie: 提問,在 Ubuntu Server (24.04) 安裝顯卡驅動 (RTX 3060) 需要把螢幕插著嗎? 試著遠端在公司的電腦上裝驅動,但是目前還沒成功 QQ

討論串: https://t.me/hackingday/8490

martin: 你怎麼安裝的 用NV 的 installer問題很多 建議用 apt包

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ nvidia-settings
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

martin: 1. 三個安裝方法都是同一個error? 2. 哪一張卡?然後你裝的是哪個版本的驅動? 3. 新卡推薦NV自己開源的哪個版本,不要用舊的閉源版 4. lspci 有裝置嗎

$ sudo lshw -C Display
  *-display                 
       description: VGA compatible controller
       product: GA106 [GeForce RTX 3060 Lite Hash Rate]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list fb
       configuration: depth=32 latency=0 mode=3840x2160 visual=truecolor xres=3840 yres=2160
       resources: iomemory:400-3ff iomemory:400-3ff memory:84000000-84ffffff memory:4000000000-400fffffff memory:4010000000-4011ffffff ioport:5000(size=128) memory:85000000-8507ffff

FlyPie: 我第一次裝的時候有跳 UEFI security boot 之類的東西,我之前沒看過,不知道這個東西有沒有影響

FlyPie: 對,目前我判斷有沒有成功的依據就是 nvidia-smi 有沒有吐那個 table ,目前都沒有。

Martin: package name 給一下 然後確定一下他裝的是開源的 NV 自己開源那個 我回家看 不行的話我戳一下前同事

Mat: 順手幫查了一下該卡在 Linux 的支援民調, 不確定有無幫助? https://linux-hardware.org/?view=search&name=GeForce+RTX+3060+Lite+Hash+Rate#list

FlyPie:

sudo apt-get purge nvidia-*
sudo apt-get update
sudo apt-get autoremove

sudo apt install nvidia-driver-565-open
sudo reboot 0

$ sudo nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Mat: 若是開 Secure Boot 的話,沒signed的 kernel module 會無法載入,測試階段或許可先暫時解除 Secure Boot 試試看

FlyPie: Update,看起來把 Secure Boot 設成 “Other OS” 就正常了 (nvidia-smi 有東西)

selecting OTHER OS means the same as Secure boot DISABLED https://www.reddit.com/r/ASUS/comments/1637qjr/comment/jy1qi1m/

kyli: 都跑 Ubuntu 了就沒必要自己編 kernel modules,Canonical 有編好 sign 好的,連 Secure Boot 一併解決 https://ubuntu.com/server/docs/nvidia-drivers-installation#p-97843-installing-the-pre-compiled-nvidia-modules-for-your-kernel-9

Jeffery

i.blackhat.com/USA-20/Wednesday/us-20-Pavur-Whispers-Among-The-Stars-Perpetrating-And-Preventing-Satellite-Eavesdropping-Attacks.pdf

brlin

我最近在選 #摩茲工寮 的 keyholder,如果您最近幾個月曾參加過在該場地舉辦的活動話想請您至下列的 HackMD 筆記投票附議,感謝 mOwOm https://hackmd.io/@moztw/moztw-keyholder-vote-brlin 投票期限只到今日的 23:59

之後預定會在那邊舉辦 Snap 打包的 workshop,有興趣的朋友可以追蹤摩茲工寮官網上的活動行事曆

URIs: https://mirror.twds.com.tw/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg


Types: deb deb-src
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: https://mirror.twds.com.tw/ubuntu/
Suites: noble-proposed
Components: restricted universe main multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Marty

RJ