我有一台 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
Run Code Online (Sandbox Code Playgroud)
英特尔 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
Run Code Online (Sandbox Code Playgroud)
英特尔错误与此线程非常相似 -在 Kaby Lake 机器上安装 Debian:实际上X.org 的困难。
该怎么办?
xandr 的输出
讽刺的是,在 FreeBSD 中,答案与问题中指出的线索非常相似。
\n\n\n\n\n您还需要删除(矛盾的是)X.org Intel 视频驱动程序\n X 服务器可以使用内核\xe2\x80\x99s 模式设置功能,而无需单独的视频驱动程序
\n
虽然它指的是 Linux,但 FreeBSD 似乎也发生了同样的情况。
\n\n那么它做了什么:
\n\nsudo pkg delete xf86-video-intel\n
Run Code Online (Sandbox Code Playgroud)\n\n也在/boot/loader.rc.local
:
mode 2\n
Run Code Online (Sandbox Code Playgroud)\n\n\n\n(在联想中是 EFI 文本模式,分辨率更高,170 列 x 40 行 - 1366x768 )
\n\n实际/usr/local/etc/X11/xorg.conf.d/xorg.conf
使用的是,配置“scfb”显示驱动程序的位置:
Section "ServerLayout"\n Identifier "X.org Configured"\n Screen 0 "Screen0" 0 0\n InputDevice "Mouse0" "CorePointer"\n InputDevice "Keyboard0" "CoreKeyboard"\nEndSection\n\nSection "Files"\n ModulePath "/usr/local/lib/xorg/modules"\n FontPath "/usr/local/share/fonts/misc/"\n FontPath "/usr/local/share/fonts/TTF/"\n FontPath "/usr/local/share/fonts/OTF/"\n FontPath "/usr/local/share/fonts/Type1/"\n FontPath "/usr/local/share/fonts/100dpi/"\n FontPath "/usr/local/share/fonts/75dpi/"\nEndSection\n\nSection "Module"\n Load "glx"\nEndSection\n\nSection "InputDevice"\n Identifier "Keyboard0"\n Driver "kbd"\nEndSection\n\nSection "InputDevice"\n Identifier "Mouse0"\n Driver "mouse"\n Option "Protocol" "auto"\n Option "Device" "/dev/sysmouse"\n Option "ZAxisMapping" "4 5 6 7"\nEndSection\n\nSection "Monitor"\n Identifier "Monitor0"\n VendorName "Monitor Vendor"\n ModelName "Monitor Model"\nEndSection\n\nSection "Device"\n Identifier "Card0"\n Driver "scfb"\nEndSection\n\nSection "Screen"\n Identifier "Screen0"\n Device "Card0"\n Monitor "Monitor0"\n SubSection "Display"\n Viewport 0 0\n Depth 1\n EndSubSection\n SubSection "Display"\n Viewport 0 0\n Depth 4\n EndSubSection\n SubSection "Display"\n Viewport 0 0\n Depth 8\n EndSubSection\n SubSection "Display"\n Viewport 0 0\n Depth 15\n EndSubSection\n SubSection "Display"\n Viewport 0 0\n Depth 16\n EndSubSection\n SubSection "Display"\n Viewport 0 0\n Depth 24\n EndSubSection\nEndSection\n
Run Code Online (Sandbox Code Playgroud)\n\n进行这些更改并重新启动后,xorg 将以 1366x768 分辨率启动。
\n\n来自 FreeBSD维基
\n\n\n\n\n如果加速图形驱动程序不适用于您的 FreeBSD\n 系统,另一种方法是使用 scfb 驱动程序。在撰写本文时,这是配备集成显卡的 Intel Broadwell 或 Skylake 芯片组的笔记本电脑的常见选项,直到更新英特尔 DRM 驱动程序以包含支持。虽然 scfb 驱动程序不提供图形加速,并且缺少一些功能,例如亮度调整和对外部显示器的支持,但它在内置笔记本电脑显示器上运行良好,可用于简单的桌面使用,甚至播放视频。
\n\n系统必须使用新的 vt(4)(又名 Newcons)控制台,\n scfb 驱动程序才能工作。如果系统使用 UEFI 启动,则这是默认设置,但如果使用(传统)BIOS 模式启动,则不是默认设置。某些笔记本电脑必须使用 UEFI 模式启动,scfb 驱动程序才能工作。
\n
免责声明:这是最简单的解决方案。显然有补丁可以使英特尔驱动程序正常工作,但它涉及编译源代码。
\n 归档时间: |
|
查看次数: |
1323 次 |
最近记录: |