
我有一台 Lenovo Ideapad 100S 14'' IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz、32GB SSD、4GB RAM,基於 Broadwell 晶片組,運行 FreeBSD 12.0。
我一直在嘗試將 xorg 配置為使用 1366x768 的本機高分辨率,但沒有成功。
我安裝了兩個顯示驅動程式:
sudo pkg install xf86-video-intel xf86-video-scfb
Intel i950 顯示驅動程式出現錯誤並中止我使用的幾個設定組合xrandr
。
scfb/syscons 顯示驅動程式僅在 640x480 下運作,並忽略任何有關大小的指令;也無法使用 vesa 顯示驅動程序,但沒有取得多大成功(vesa 已棄用,或與 vt 驅動程式的組合錯誤,沒有費心去檢查)。
(我嘗試在 x.org 配置文件的設備部分中配置“intel”和“scfb”驅動程式)。
如在/usr/local/etc/X11/xorg.conf.d/xorg.conf
Section "Device"
Driver "scfb"
#Driver "intel"
EndSection
英特爾錯誤與此線程非常相似 -在 Kaby Lake 機器上安裝 Debian:X.org 遇到的困難實際上。
怎麼辦?
xandr 的輸出
答案1
諷刺的是,在 FreeBSD 中,答案與問題中指出的線索非常相似。
您還需要刪除(矛盾的是)X.org Intel 視訊驅動程序,X 伺服器可以使用內核的模式設定功能,而無需單獨的視訊驅動程序
雖然它指的是 Linux,但 FreeBSD 似乎也發生了同樣的情況。
那麼它做了什麼:
sudo pkg delete xf86-video-intel
也在/boot/loader.rc.local
:
mode 2
(在聯想中是 EFI 文字模式,解析度更高,170 列 x 40 行 - 1366x768 )
實際/usr/local/etc/X11/xorg.conf.d/xorg.conf
使用的是,配置“scfb”顯示驅動程式的位置:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/share/fonts/misc/"
FontPath "/usr/local/share/fonts/TTF/"
FontPath "/usr/local/share/fonts/OTF/"
FontPath "/usr/local/share/fonts/Type1/"
FontPath "/usr/local/share/fonts/100dpi/"
FontPath "/usr/local/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "scfb"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
進行這些變更並重新啟動後,xorg 將以 1366x768 解析度啟動。
來自 FreeBSD維基百科
如果加速圖形驅動程式不適用於您的 FreeBSD 系統,另一種方法是使用 scfb 驅動程式。在撰寫本文時,這是配備具有整合顯示卡的 Intel Broadwell 或 Skylake 晶片組的筆記型電腦的常見選項,直到更新 intel DRM 驅動程式以包含支援。雖然 scfb 驅動程式不提供圖形加速,並且缺少亮度調整和對外部顯示器的支援等一些功能,但它在內建筆記型電腦顯示器上運行良好,可用於簡單的桌面使用,甚至播放影片。
系統必須使用新的 vt(4)(又稱 Newcons)控制台,scfb 驅動程式才能運作。如果系統使用 UEFI 引導,則這是預設設置,但如果使用(傳統)BIOS 模式引導,則不是預設設定。某些筆記型電腦必須使用 UEFI 模式啟動,scfb 驅動程式才能運作。
免責聲明:這是最簡單的解決方案。顯然有補丁可以使英特爾驅動程式正常工作,但它涉及編譯原始程式碼。