1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[FreeBSD] GPU:AMD Redwood でpygameを動かしたときの画面表示の乱れを解決、及びXの異常終了時の対策。

Last updated at Posted at 2025-06-24

グラフィックス・ドライバをインストール

sudo pkg install drm-kmod

/etc/rc.confに以下を追加

kld_list="radeonkms"

それと、Xを終了したときにコンソールがテキスト表示に戻らない不具合があったので、以下のようにしました。

/boot/loader.conf
kern.vty=vt
hw.vga.textmode=1

reboot

sudo reboot

また、Xが異常終了して、キーボード入力がおかしいときは、Ctrl-Alt-'/'を押してSIGQUITを端末に送ってやればよいです。それが嫌なら、.xinitrcに、setxkbmap -option "terminate:ctrl_alt_bksp"を書き加えて、Ctrl-Alt-BackspaceでXを終了するようにすればよいです。

縁があったからまた会えた、FreeBSD。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?