Intel 945 Xorg konfigolas (kerdesek)

Fórumok

Nah keso esti topic, hatha valaki belefutott mar a problemaba (vagy szimplan csak van megoldasa.. :)). Xorg konfigolas teren hianyosak a tapasztalataim, mivel Nvidia-xconfig ugye mindent megcsinal, sokat nem kellett piszkalnom. Ma vegre sikerult megcsinalnom az Intel 945GCLF lapkat, es van X is. A beallitasokkal van kis geb.sz. Ubuntu liveCD -n volt default compiz + 1000FPS. Ez szep es jo, ezt kene reprodukalni (esetleg onnan kimasoljam xorg.conf-ot?)..

Ezt hoztam ossze> http://pastebin.ca/1068533
Az 'intel' drivert ajanlottak a postokban amit talaltam, es ez > Option "AccelMethod" "xaa", pedig egyfajta teljesitmenynoveles (_alltiolag_). Orulnek ha valaki tudna nekem adni egy 3d gyorsitassal biro konfigot, vagy csak megmondana mit kell megpiszkalni. Most ossz 100fps korul mozog es kegyetlen lassu.

OS: Debian Testing
X kezelo: GDM (ablakkezelo fluxbox)
VGA: 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)

Igy most gyorsan ennyi jutott eszembe ami kellhet. Ha barmi kerdes van, vagy egyeb adat szukseges, szoljatok.

(Egy Xorg kerdes: Hogy allitsam be hogy 1280x1024@85hz-en jojjon be defaultban (like Nvidia altal keszitett 'modeline')?)

Hozzászólások

       Option "AccelMethod" "string"
              Choose  acceleration  architecture, either "XAA" or "EXA".  XAA is the old XFree86 based acceleration architecture.  EXA is a newer and simpler
              acceleration architecture designed to better accelerate the X Render extension.  Default: "EXA".

Első körben mindenféleképpen szedd ki az XAA-s sort!
3D gyorsítás alaphelyzetben kell működjön, erre nincs semmi "trükk".

Hz-eket ne számolj, normál esetben automatikusan működik, azok a sorok is repülhetnek (még nem láttam olyat hogy ne menne)

ugye azt írtad, h livecD-ről bootolva minden szépen működik. talán érdemes lenne megint bebootolni és kilesni az xorg.conf beállításat.

up.. Ubuntu-ban teljesen default konfig van/volt, azt hasznalva is ugyanugy 160fps. Nincs valami Debian csomag / zart forrasu driver, barmi amit ehhez fel kell pakolni? (Tudom Intel OS, meg minden, de akkor is valami nem stimmt)..

Na valamire mar bukkantam
glxinfo | grep direct
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
uzer@xanadu:~$ LIBGL_DEBUG=verbose glxinfo | grep direct
libGL: XF86DRIGetClientDriverName: 1.9.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i915_dri.so
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect

kerdes: ilyenkor mit tudok tenni? (latom hogy nem tudja megnyitni az i915_dri.so-t de...) A kernelben M-kent van benne az i915, es a tobbi hasonszoru driver.. az nem lenne eleg ilyenkor?

Szerk.: Most mar van 1000FPS korul, de firefox meg mindig majdnem hogy kezzel rajzolodik at.. nem tudom ez miert van..

szerk2.: Esetleg ilyesmi szamit hogy fluxbox/gdm kombo van felrakva? Bar Nvidia-n szelvesz volt igy is a 2d / 3d rajzolas Fluxbox-on is szoval ezt ketlem hogy pont emiatt lenne..

Install-nal > "Use non-free software" "JA" oke.

sources.list:
deb http://ftp.at.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.at.debian.org/debian/ testing main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

deb http://download.tuxfamily.org/swiftweasel hardy multiverse
deb http://www.debian-multimedia.org testing main

Ez DEBIAN. S a keveres a repo gazdajanak koszonheto. Mivel _CSAK_ ott van IceWeasel 3 normalis kiszerelesben, es nem kell hozza semmi extra fuggoseg, azt hasznalom. A-z osszes Debian alapu dist-es a hardy-s repo-t hasznalja. (Ha megnezed csak Ubuntu valtozatoknak van mappa, bar nem oszt nem szoroz)..

(Ennek a "faji keveredes" dolognak eleg nacis beutese van hogy nem keverunk Debian-t Ubuntu-val.. :D)

tegnap óta van testingben is iceweasel3 :P (tegnap pakolták át sid-ből)

Package: iceweasel
Priority: optional
Section: web
Installed-Size: 3652
Maintainer: Eric Dorland
Architecture: i386
Version: 3.0~rc2-2
Replaces: firefox (<< 2.0+dfsg-1), iceweasel-gnome-support (<= 3.0~b5-2), mozilla-firefox
Provides: www-browser
Depends: fontconfig, psmisc, procps, debianutils (>= 1.16), libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.12.0), libnspr4-0d (>= 1.8.0.10), libstdc++6 (>= 4.1.1), xulrunner-1.9 (>= 1.9~rc2-4)
Suggests: xulrunner-1.9-gnome-support, latex-xft-fonts, xfonts-mathml, ttf-mathematica4.1, xprint, mozplugger, libkrb53

debian gnu/linux @ linux-2.6.26-rc8-git2 | patch
info

Na jo.. ..de nem -nocona. :P Meg mire bekerult testing-be (rc2!), szamold ki mire majd bekerul a 3.0.0.1 es igy tovabb.. Nekem ez igy spontan kenyelmes mert up-to-date, procira optimalizalt, es nem kell hozza _semmilyen_ fuggoseget felraknom ha mar van X..)

Package: swiftweasel3-nocona
Versions: 3.0
Reverse Depends: swiftweasel3-k8,swiftweasel3-nocona swiftweasel3-athlon64,swiftweasel3-nocona
Dependencies: 3.0 - ttf-dejavu swiftweasel3 Swiftweasel3-athlon64 swiftweasel3-k8 swiftweasel3-athlon64-pango swiftweasel3-k8-pango swiftweasel3-nocona-pango
Provides:3.0
Reverse Provides:

Zárt forrású driver nincs, viszont látod, hiányzik a DRI modul fileja ami kéne...
1. Erre a rendszerre telepítetted a fent emlegetett nvidia drivert? Ez esetben

nvidia-installer --uninstall

2. telepítsd az 'apt-file' programot, és

apt-file update #adatbázist gyárt magának
apt-file search i915-dri.so #megmutatja melyik *nem telepített* csomagban van a keresett file

xorg.conf-ban ahogy láttam be van kapcsolva a dri és glx modul, tehát ezzel sincs gond (amúgy ez is automatikus - igen, ezt már 20x leírtam, de nem vagyok papagáj, csak hálisten az xorg fejlesztői is egyre gyorsabban szabadulni akarnak a config filetól és dinamikus beállításokat szeretnének)


oliver@pancs:~$ ls /usr/lib/dri/
i810_dri.so     mach64_dri.so  r300_dri.so    sis_dri.so
i915_dri.so     mga_dri.so     radeon_dri.so  tdfx_dri.so
i915tex_dri.so  r128_dri.so    s3v_dri.so     trident_dri.so
i965_dri.so     r200_dri.so    savage_dri.so  unichrome_dri.so

debian gnu/linux @ linux-2.6.26-rc8-git2 | patch
info

dmesg reszlet:
agpgart: Detected an Intel 945G Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0x40000000
intel_rng: Firmware space is locked read-only. If you can't or
intel_rng: don't want to disable this in firmware setup, and if
intel_rng: you are certain that your system has a functional
intel_rng: RNG, try using the 'no_fwh_detect' option.
PCI: Found IRQ 11 for device 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1c.3
PCI: Sharing IRQ 11 with 0000:00:1d.1
PCI: Sharing IRQ 11 with 0000:00:1f.2
input: PC Speaker as /class/input/input3
Adding 6040400k swap on /dev/sda5. Priority:-1 extents:1 across:6040400k
EXT3 FS on sda1, internal journal
loop: module loaded
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
[drm] Initialized drm 1.1.0 20060810
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:1d.3
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0

Megis borzaszto lassu a 2d rajzolas. Mindenhol.. tippek? (Esetleg a drm (20060119) tul regi lenne? sid-el jobban jarnek? Valami otlet? :P)

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
(II) intel(0): Setting screen physical size to 352 x 264
(WW) Configured Mouse: No Device specified, looking for one...
(II) Configured Mouse: Setting Device option to "/dev/input/mice"

Kb ennyi

nekem is ugyanilyen van, de nekem icewm van. 2D nem lassu, lenny-s 3-as iceweasel sem. Igaz ez 64 bites és még nincs megoldva a flash. 3D-ben meg csak 600fps körüli.
(nem kell nekem 1000 csak izgat mi lehet a különbség...)

pbx:~# dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20060119 on minor 0
pbx:~# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945G 20061017

xorg.conf ban:
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "evdev"
Load "extmod"
Load "freetype"
Load "glx"
# Load "GLcore"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Load "i2c"
EndSection
Section "Device"
Identifier "Általános videó kártya"
Driver "intel"
BusID "PCI:0:2:0"
EndSection

meg ez van. (szerk.: ez csak részlet.)

Beraktam meg par modult, sokat nem valtozott, igyis lassu es mocskosul atcsusznak a sorok egymasba egy alig gyorsabb scrollnal..

(II) LoadModule: "type1"
(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)

Majd mindjart valamit alkotok vele. Nem tudnad az _egesz_ xorg.conf -od felnyomni pastebin.ca-ra? Megkoszonnem .. :)

Konkretan a kulonbseg az Ubuntu-s konfig / teljesitmeny kozt.
Debian Lenny: ~1200+ fps, firefox, konq, barmi..AKAD
Ubuntu: xorg.conf Composition "on" , ~600FPS, semmi nem akad (nem, compiz kikapcsolva..)

Tippek? Sajnos a liveCD-rol sok xorg.conf-ot nem tudok levakarni..