| |||||
| Dernière réponse | |
|---|---|
| Sujet : Lenteurs sous Gnome [en partie résolu] | |
| khalys | En tout cas, le DMA était bien activé :
:~ $ sudo hdparm -I /dev/hda | grep dma DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 :~ $ sudo hdparm -d /dev/hda /dev/hda: using_dma = 1 (on) |
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| khalys | En tout cas, le DMA était bien activé :
:~ $ sudo hdparm -I /dev/hda | grep dma DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 :~ $ sudo hdparm -d /dev/hda /dev/hda: using_dma = 1 (on) |
| Taz | non, je vois pas pourquoi l'AGP aurait un impact si significatif sur de la 2D genre ouvrir une fenêtre |
| khalys | :pfff: Non. C'est réellement plus réactif. Ca te paraît pas logique que ça aille mieux avec l'AGP que sans ? Je comprends pas ce que tu comprends pas là. |
| Taz | placebo |
| khalys | Bah n'empêche que maintenant que l'AGP est activé, ça répond plus vite. Même si ce n'est encore que via le module AGP de base qui va avec le kernel. |
| Taz | je vois pas le rapport avec les histoires d'AGP et de drivers nvidia |
| khalys | Je peux pas te donner de chiffres, et je ne vois pas comment je pourrais... C'est surtout une question de feeling : avant quand je passait d'une fenêtre à l'autre par exemple, je sentais juste que ça ne répondait pas vraiment aussi vite que sous Windows. Maintenant, ca va beaucoup mieux.
Qu'est-ce que tu veux dire par : "pourquoi vous pensez tous que c'est le nvidia ? je vois aucun rapport. Avec une carte VGA 4Mo ça suffit. quid du DMA ?" |
| Taz | pourquoi vous pensez tous que c'est le nvidia ? je vois aucun rapport. Avec une carte VGA 4Mo ça suffit.
quid du DMA ? ça veut dire quoi 'manque de réactivité' ? des chiffres ? des mesures concrètes ? |
| khalys | Bon... J'ai au moins réussi à activer l'AGP avec agpgart, en mettant Option "NvAGP" "2" dans /etc/X11/XF86Config-4, et ça va quand même beaucoup mieux maintenant.
Maintenant, un cat /proc/driver/nvidia/agp/status me donne : Status: Enabled Driver: AGPGART AGP Rate: 4x Fast Writes: Disabled SBA: Disabled Mais je voudrais tester avec nvagp, alors si un éclair de génie vous traversait l'esprit... :~ $ dmesg Linux version 2.6.8.1-5-k7 (buildd@terranova) (gcc version 3.3.4 (Debian 1:3.3.4-9ubuntu5)) #1 Sat Feb 12 01:54:50 UTC 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data) BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS) BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 511MB LOWMEM available. On node 0 totalpages: 131056 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 126960 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI 2.3 present. ACPI disabled because your bios is from 97 and too old You can enable it with acpi=force Built 1 zonelists Kernel command line: root=/dev/hda3 ro quiet splash vga=791 Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Initializing CPU#0 PID hash table entries: 2048 (order 11: 16384 bytes) Detected 1399.913 MHz processor. Using tsc for high-res timesource Console: colour dummy device 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 511604k/524224k available (1479k kernel code, 11876k reserved, 698k data, 140k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 2752.51 BogoMIPS Security Scaffold v1.0.0 initialized Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: After vendor identify, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After all inits, caps: 0183fbff c1c7fbff 00000000 00000020 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: AMD Athlon(tm) Processor stepping 04 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1399.0507 MHz. ..... host bus clock speed is 266.0572 MHz. checking if image is initramfs...it isn't (ungzip failed); looks like an initrd Freeing initrd memory: 4372k freed NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20040816 ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: Found PnP BIOS installation structure at 0xc00f77d0 PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x6844, dseg 0xf0000 PnPBIOS: 14 nodes reported by PnP BIOS; 14 recorded by driver PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Using IRQ router default [1106/3074] at 0000:00:11.0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Initializing Cryptographic API isapnp: Scanning for PnP cards... spurious 8259A interrupt: IRQ7. isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 NET: Registered protocol family 2 IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 65536) NET: Registered protocol family 8 NET: Registered protocol family 20 RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 4372 blocks [1 disk] into ram disk... done. VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 140k freed vesafb: framebuffer at 0xd8000000, mapped to 0xe081c000, size 3072k vesafb: mode is 1024x768x16, linelength=2048, pages=0 vesafb: protected mode interface info at c000:b870 vesafb: scrolling: redraw vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0 fb0: VESA VGA frame buffer device Console: switching to colour frame buffer device 128x48 thermal: Unknown symbol acpi_processor_set_thermal_limit NET: Registered protocol family 1 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:11.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci0000:00:11.1 ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA hda: ST360015A, ATA DISK drive Using anticipatory io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: max request size: 128KiB hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100) /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > p3 p4 hdc: CD-W540E, ATAPI CD/DVD-ROM drive hdd: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Adding 915692k swap on /dev/hda4. Priority:-1 extents:1 EXT3 FS on hda3, internal journal input: PS2++ Logitech MX Mouse on isa0060/serio1 mice: PS/2 mouse device common for all mice ts: Compaq touchscreen protocol output hdc: ATAPI 48X CD-ROM CD-R/RW drive, 8192kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) lp: driver loaded but no devices found nvidia: module license 'NVIDIA' taints kernel. NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6111 Tue Jul 27 07:55:38 PDT 2004 apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac) Capability LSM initialized device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 cdrom: open failed. cdrom: open failed. NTFS driver 2.1.15 [Flags: R/O MODULE]. NTFS volume version 3.1. Real Time Clock Driver v1.12 input: PC Speaker inserting floppy driver for 2.6.8.1-5-k7 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected VIA KT266/KY266x/KT333 chipset agpgart: Maximum main memory to use for agp memory: 439M agpgart: AGP aperture is 32M @ 0xe0000000 gameport: pci0000:00:06.1 speed 1193 kHz 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004) 8139cp: pci dev 0000:00:08.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip 8139cp: Try the "8139too" driver instead. 8139too Fast Ethernet driver 0.9.27 eth0: RealTek RTL8139 at 0xd000, 00:10:a7:0a:e9:40, IRQ 5 eth0: Identified 8139 chip type 'RTL-8139C' ath_hal: 0.9.11.6 wlan: 0.8.4.2 (EXPERIMENTAL) ath_pci: no version for "ieee80211_ioctl_siwrate" found: kernel tainted. ath_pci: 0.9.4.0 (EXPERIMENTAL) ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 ath0: 802.11 address: 00:09:5b:c1:05:30 ath0: Use hw queue 0 for WME_AC_BE traffic ath0: Use hw queue 1 for WME_AC_BK traffic ath0: Use hw queue 2 for WME_AC_VI traffic ath0: Use hw queue 3 for WME_AC_VO traffic ath0: Atheros 5212: mem=0xdffe0000, irq=11 irda_init() NET: Registered protocol family 23 usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v2.2 uhci_hcd 0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller uhci_hcd 0000:00:11.2: irq 5, io base 0000c400 uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected uhci_hcd 0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2) uhci_hcd 0000:00:11.3: irq 5, io base 0000c800 uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected uhci_hcd 0000:00:11.4: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3) uhci_hcd 0000:00:11.4: irq 5, io base 0000cc00 uhci_hcd 0000:00:11.4: new USB bus registered, assigned bus number 3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected usb 1-2: new full speed USB device using address 2 usb 2-2: new full speed USB device using address 2 drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1064 usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver usb0: register usbnet at usb-0000:00:11.3-2, Genesys GeneLink usbcore: registered new driver usbnet ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (4095 buckets, 32760 max) - 296 bytes per conntrack NET: Registered protocol family 10 Disabled Privacy Extensions on device c02ed900(lo) IPv6 over IPv4 tunneling driver acpi: Unknown symbol acpi_processor_unregister_performance acpi: Unknown symbol acpi_processor_register_performance agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0. agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode ath0: no IPv6 routers present agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0. agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode De mémoire, quand l'AGP n'était pas du tout activé, un dmesg faisait aussi apparaître quelque chose comme : Feb 19 14:42:57 localhost kernel: NVRM: not using NVAGP, AGPGART is loaded!! Feb 19 14:42:57 localhost kernel: NVRM: not using NVAGP, AGPGART is loaded!! |
| YupYup |
|
| khalys | Pfff... Je commence à sécher là. J'ai mis agpgart dans /etc/hotplug/blacklist, mais il se charge toujours (donc impossible de charger nvagp).
J'ai aussi fait ça dans /etc/modules.conf, comme expliqué par un mec pour qui ça a marché : # alias char-major-10-175 agpgart install nvidia-agp /bin/true install agpgart /bin/true Mais ca marche pas chez moi : agpgart se charge toujours... |
| khalys | D'autres résultats de commandes...
:~ $ 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. :~ $ cat /proc/driver/nvidia/agp/host-bridge Host Bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] Fast Writes: Supported SBA: Supported AGP Rates: 4x 2x 1x Registers: 0x1f000217:0x00000000 |
| khalys | Alors, je viens d'installer le kernel 2.6.8.1-5-k7, mais ça n'a apparemment rien résolu... Le problème doit venir de NVRM qui n'est pas chargé. Enfin j'espère... |
| khalys | J'ai des problèmes de lenteurs sous Gnome, avec Ubuntu. L'interface graphique n'est pas très réactive. C'est carrément utilisable, mais carrément plus lent que Windows. J'ai une utilisation CPU qui oscille sans arret entre 10% et 15%, même quand je ne fais rien. J'ai installé les drivers Nvidia avec le gestionnaire de paquets Synaptic, et depuis la 3D sous OpenGL fonctionne nickel. Mais le problème reste entier pour la 2D de tous les jours (ouverture des menus et déplacement des fenêtres) : ca manque cruellement de réactivité. Apparemment, je ne suis pas le seul à avoir ce problème.
Je possède une GeForce 3 64 Mo, un Athlon Thunderbird 1,4 Ghz, et 512 Mo de RAM. Je viens de me rendre compte que j'avais installé le kernel pour 386, alors qu'ils existe un kernel K7 plus spécifique aux Athlon : cela peut-il être lié à mon problème ? Autre piste... Voici le résultat de la commande sudo grep -i "agpgart" /var/log/kern.log : Feb 19 14:42:48 localhost kernel: agpgart: AGP aperture is 32M @ 0xe0000000 Feb 19 14:42:57 localhost kernel: NVRM: not using NVAGP, AGPGART is loaded!! Feb 19 14:42:57 localhost kernel: NVRM: not using NVAGP, AGPGART is loaded!! Feb 19 18:29:14 localhost kernel: NVRM: not using NVAGP, AGPGART is loaded!! Feb 19 18:29:15 localhost kernel: NVRM: not using NVAGP, AGPGART is loaded!! Feb 19 22:38:34 localhost kernel: Linux agpgart interface v0.100 (c) Dave Jones Feb 19 22:38:34 localhost kernel: agpgart: Detected VIA KT266/KY266x/KT333 chipset Feb 19 22:38:34 localhost kernel: agpgart: Maximum main memory to use for agp memory: 439M Je devine que c'est pas très bon ça... Bref, je vais faire mes recherches, mais si vous aviez quelque chose à me proposer, n'hésitez pas. :jap: |




