Nainstaloval jsem Kubuntu 7.04 na počítač mé přítelkyně. Je to už postarší rachotina (Celeron 900Mhz, chipset Intel 815, RAM 384MB), kterou jsem obnovil o GeForce FX 5200 128MB/128bit (původní GK byla VooDoo3), aby na ní mohla hrát i 3D hry. Tady však padla kosa na kámen. Už nad tím sedím druhý den, pročetl jsem všechno možné, ale nehnu s tím.
Problém je následující:
Nainstaloval jsem originální nvidia drivery verze 100.14.19
Počítač však s ovladačem nvidia při startu KDE zamrzl a zůstala jen černá obrazovka.
Po přepsání zpět na nv vše opět fungovalo.
Po několikahodinovém googlování jsem do xorg.conf přidal parametr Option "NvAGP" "1"
Zde je celý:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Wed Sep 12 14:30:30 PDT 2007
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Sony CPD-E100E"
HorizSync 30.0 - 70.0
VertRefresh 48.0 - 120.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "RenderAccel" "1"
Option "NvAGP" "1"
Option "TwinView" "0"
Option "DynamicTwinView" "False"
Option "metamodes" "CRT: 1024x768_85 +0+0; CRT: 800x600_85 +0+0; CRT: 640x480_85 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
a počítač začal nabíhat i s ovladačem nvidia.
Následuje zkouška 3D akcelerace:
glxinfo | grep direct
direct rendering: Yes
Říkám si, paráda funguje to. Jenže ouha. Po zadání glxgears PC téměř vytuhává a FPS je zdrcující:
glxgears
4 frames in 13.5 seconds = 0.297 FPS
3 frames in 9.0 seconds = 0.332 FPS
3 frames in 9.0 seconds = 0.333 FPS
4 frames in 9.0 seconds = 0.444 FPS
3 frames in 9.0 seconds = 0.333 FPS
Zkouším, zda mám funkční AGP:
cat /proc/driver/nvidia/agp/status
Status: Disabled
AGP initialization failed, please check the ouput
of the 'dmesg' command and/or your system log file
for additional information on this problem.
Vypisuji tedy to co mi radí:
dmesg | grep -i agp
[ 20.948000] Linux agpgart interface v0.102 (c) Dave Jones
[ 20.964000] agpgart: Detected an Intel i815 Chipset.
[ 20.968000] agpgart: AGP aperture is 64M @ 0xd8000000
[ 49.296000] NVRM: not using NVAGP, an AGPGART backend is loaded!
dmesg | grep -i nvidia
[ 25.036000] NVRM: loading NVIDIA UNIX x86 Kernel Module 100.14.19 Wed Sep 12 14:12:24 PDT 2007
Pro jistotu ještě další info:
cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000000
cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: PCI device 8086:1130
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000207:0x00000000
Nazdal jsem tedy, že si mi hádá NVAGP s AGPGARTem. Dal jsem tedy do /etc/modprobe.d/blacklist
Disabling AGP modules
blacklist agpgart
blacklist intel_agp
Jenže po tomto úkonu mi počítač opět skončil černou obraovkou po restartu.
Už opravdu nevím co s tím a moc prosím o radu. Díky