6

[xubuntu] Struggling with video

view full story
linux-howto

http://ubuntuforums.org – I've just installed Xubuntu 9.10 on a desktop I inherited. I'm not sure that my video is configured properly. Hardware drivers report that the Proprietary Nvidia driver is in use, however, I have struggled with my Xorg.conf for a bit and now I'm not sure if I've made some mistakes. My original problem was that nvidia-settings allowed me to specify the display resolution I wanted but that setting was not maintained on a reboot. After tinkering I believe that was due to a difference in what Applications>Settings>Display believed the max resolution was and what nvidia-settings did. Display's maximum was less and I believe that was why my settings were not retained. I also believe that nvidia-settings was crashing when I tried to save those settings to my xorg.conf because there was NO /etc/X11/xorg.conf at all. I tried to create an xorg.conf with "sudo dpkg-reconfigure -phigh xserver-xorg" but had no luck. Looking at other xorg.conf from the internet I copied/pasted what I guessed were reasonable values, this fixed the changing resolution on reboot, but the performance seemed less snappy than I expected. Checking Hardware Drives It now reported that a different proprietary driver was in use, but there was only one Entry and that was not selected. Rerunning nvidia-settings, I could not save the changes to xorg.conf and when running it from a console I finally noticed that it was crashing rather than applying changes properly. I tweaked my xorg.conf and solved the problem with nvidia-setting being unable to write to xorg.conf, and jockey now shows the proper driver activated and in use, but my performace is still oddly slow. Specifically, resizing windows is not very responsive and causes a significant CPU load, as does minimizing windows or showing the desktop. This is even worse when the minimized window would uncover the desktop icons, it takes a noticeable amount of time to redraw the desktop icons and spikes CPU usage. This is not a particularly powerful system, (Celeron D, 1GB RAM, 128MB Nvidia Vidcard) but I would not expect this behavior, especially when playing video and other tasks seem normal. Can anyone give me some Ideas? Here are lscpi & xorg.conf , all help is appreciated. Code: 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02) 00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000] (rev c1) 02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Code: # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009 #Section "Screen" #        Identifier        "Default Screen" #        DefaultDepth        24 #        Option        "AddARGBGLXVisuals"        "True" #EndSection Section "ServerLayout"     Identifier    "Default Layout"     Screen      0  "Screen0" 0 0     InputDevice    "Keyboard0" "CoreKeyboard"     InputDevice    "Mouse0" "CorePointer" EndSection Section "Module"     Load          "glx"     Load          "dri" #added EndSection Section "ServerFlags"     Option        "Xinerama" "0" EndSection Section "InputDevice"     # generated from default     Identifier    "Keyboard0"     Driver        "kbd" 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 "Monitor"     Identifier    "Monitor0"     VendorName    "Unknown"     ModelName      "Daewoo 719BF"     HorizSync      30.0 - 70.0     VertRefresh    50.0 - 160.0     Option        "DPMS" EndSection Section "Device"     Identifier    "Default Device"     Driver        "nvidia"     Option        "NoLogo" "True" EndSection Section "Device"     Option        "RenderAccel" #added     Option        "DRI" #added     Identifier    "Device0"     Driver        "nvidia"     VendorName    "NVIDIA Corporation"     BoardName      "GeForce4 MX 4000" EndSection Section "Screen"     #Monitor        "Generic Monitor"     #DefaultDepth    24     Identifier    "Default Screen"     Device        "Default Device"     Monitor        "Monitor0"     SubSection    "Display"         Depth      24         Modes      "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"     EndSubSection EndSection Section "Screen"     Identifier    "Screen0"     Device        "Device0"     Monitor        "Monitor0"     DefaultDepth    24     Option        "TwinView" "0"     Option        "TwinViewXineramaInfoOrder" "CRT-0"     Option        "metamodes" "1280x1024 +0+0; 1280x960 +0+0; 1024x768 +0+0; 832x624 +0+0; 800x600 +0+0; 720x400 +0+0; 640x480 +0+0"     SubSection    "Display"         Depth      24     EndSubSection EndSection (Hardware)