我正在尝试配置一台旧笔记本电脑,但这让我很头疼。我花了至少十个小时尝试解决方案,但毫无效果。
我最初安装了 mesa 7.11,但没有用。我目前有 mesa 8 和 Xorg Edgers mesa-legacy 7.11 驱动程序。
sudo lshw -c video
返回:
display UNCLAIMED
description: VGA compatible controller
product: VT8375 [ProSavage8 KM266/KL266]
vendor: S3 Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: vga_controller bus_master cap_list
configuration: latency=64 maxlatency=255 mingnt=4
我当前的 xorg.conf 如下所示:
Section "ServerLayout"
Identifier "X.org Configured"
Screen "Default Screen"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "record"
Load "dbe"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor Generic"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "savage"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Card0"
Monitor "Monitor Generic"
SubSection "Display"
Depth 32
EndSubSection
EndSection
我尝试过许多不同的 Xorg 选项、驱动程序包降级等。我能够实现的唯一两个结果是:
xorg.conf 中没有加速:使用 VGA 驱动程序,GLXgears 获得 ~5 FPS。结果并不理想。
其他情况:任何 OpenGL 应用程序在启动时崩溃,并出现错误“等待返回 -16”,并且系统完全锁定,需要进行电源循环。
嗯,我注意到了第三种结果:启用 ShadowFB 会导致整个屏幕出现伪影,并使屏幕下半部分无法使用。
任何帮助都非常感谢。我在尝试诊断此问题时发现,这个问题在多个网站上都曾被提出过,但没有任何建议能起到作用。
答案1
我设法修复了它... 有点。它仍然显示未认领且 GLXinfo 崩溃,但我可以运行 OpenGL 应用程序。
我将其添加到 Xorg.conf
Section "Device"
Identifier "Card0"
Driver "savage"
Option "AGPMode" "4"
Option "HWCursor" "True"
Option "UseBIOS" "False"
Option "ShadowStatus" "False"
Option "AGPSize" "16"
Option "DmaMode" "Any"
Option "DmaType" "AGP"
Option "BusType" "AGP"
Option "ForceInit" "Yes"
VideoRam 32768
EndSection
Section "dri"
Mode 0666
EndSection
我还弄乱了 DRIconf 中的设置。我仍然不明白问题出在哪里,因为 savage 驱动程序已正确加载,DRI 渲染已激活,而且我在任何日志中都找不到任何错误。