Portál AbcLinuxu, 9. května 2025 19:41

Dotaz: i915 - nefunkcni DRI (kubuntu)

12.11.2006 14:58 rdk
i915 - nefunkcni DRI (kubuntu)
Přečteno: 315×
Odpovědět | Admin
Ahoj, nikde na webu jsem nenasel jak rozchodit DRI na i915. Ve vysledku se pokousim o Beryl na Fujitsu Siemens notebooku (1280x800), Beryl se spusti, ale hasne to na DRI. Predem dik, za info. Radek

xorg.conf Section "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" FontPath "/usr/share/fonts/X11/misc" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection

Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dbe" Load "dri" Load "extmod" Load "freetype" Load "int10" Load "type1" Load "vbe" load "glx" load "v4l" EndSection

## load "GLcore"

Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" option "CoreKeyboard" option "XkbRules" "xorg" option "XkbModel" "pc105" option "XkbLayout" "us" option "XkbOptions" "lv3:ralt_switch" option "XkbModel" "pc105" option "XkbLayout" "us" option "XkbOptions" "lv3:ralt_switch" EndSection

Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" option "CorePointer" option "Device" "/dev/input/mice" option "Protocol" "ExplorerPS/2" option "ZAxisMapping" "4 5" option "Emulate3Buttons" "true" option "Buttons" "7" option "ButtonMapping" "1 2 3 6 7" EndSection

Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" option "SendCoreEvents" "true" option "Device" "/dev/psaux" option "Protocol" "auto-dev" option "HorizScrollDelta" "0" EndSection

#------------------------ Section "Device" Identifier "Intel 915GM" Driver "i810" BusID "PCI:0:2:0" Option "VBERestore" "true" Option "XAANoOffscreenPixmaps" "true" VideoRam 65536 Screen 0 EndSection

Section "Monitor" Identifier "LCD" ModelName "Fujitsu C Series internal LCD" Option "DPMS" HorizSync 30.0-71.0 # xxx not sure about this VertRefresh 50-160 # xxx not sure about this EndSection

Section "Screen" Identifier "Local LCD" Device "Intel 915GM" Monitor "LCD" DefaultDepth 24 SubSection "Display" Depth 24 # use "1400x1050" or "1280x800" for a widescreen Modes "1280x800" "1280x1024" "1024x768" "800x600" EndSubSection EndSection

Section "ServerLayout" Identifier "Local LCD only" Screen 0 "Local LCD" 0 0 Option "AIGLX" "true" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection

Section "DRI" Mode 0666 EndSection

Section "Extensions" Option "Composite" "Enable" EndSection

Testy: == glxinfo: ==

direct rendering: No OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

== Xorg log: ==

radek@radek-laptop:~$ grep -i "Direct rendering" /var/log/Xorg.0.log (II) I810(0): direct rendering: Disabled

radek@radek-laptop:~$ cat /var/log/Xorg.0.log|grep EE (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) AIGLX: Screen 0 is not DRI capable

(II) LoadModule: "dri" (II) Loading /usr/lib/xorg/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 7.1.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/lib/xorg/modules/linux/libdrm.so (II) Module drm: vendor="X.Org Foundation" compiled for 7.1.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) Loading extension XFree86-DRI

== Test AGP: ==

radek@radek-laptop:~$ dmesg | grep agp [17179596.056000] Linux agpgart interface v0.101 (c) Dave Jones [17179596.072000] agpgart: Detected an Intel 915GM Chipset. [17179596.072000] agpgart: Detected 7932K stolen memory. [17179596.088000] agpgart: AGP aperture is 256M @ 0xc0000000

== lsmod, dmesg, scanpci ==

radek@radek-laptop:~$ lsmod|grep 915 tsdev 9152 0

radek@radek-laptop:~$ dmesg | grep drm - outputs nothing, but

radek@radek-laptop:~$ sudo scanpci

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2590 Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2592 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller

pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x2792 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller

== Installed packages: ==

libgl1-mesa-dri /usr/lib/dri/i915_dri.so

libgl1-mesa-glx
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

12.11.2006 15:01 rdk
Rozbalit Rozbalit vše Re: i915 - nefunkcni DRI (kubuntu)
Odpovědět | | Sbalit | Link | Blokovat | Admin
Omlouvam se. Cekal jsem, ze [code] to zobrazi...

xorg.conf
Section "Files"
  FontPath "/usr/share/X11/fonts/misc"
  FontPath "/usr/share/X11/fonts/cyrillic"
  FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
  FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
  FontPath "/usr/share/X11/fonts/Type1"
  FontPath "/usr/share/X11/fonts/100dpi"
  FontPath "/usr/share/X11/fonts/75dpi"
  FontPath "/usr/share/fonts/X11/misc"
  # path to defoma fonts
  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
  Load "i2c"
  Load "bitmap"
  Load "ddc"
  Load "dbe"
  Load "dri"
  Load "extmod"
  Load "freetype"
  Load "int10"
  Load "type1"
  Load "vbe"
  load "glx"
  load "v4l"
EndSection

##  load "GLcore"

Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "kbd"
  option "CoreKeyboard"
  option "XkbRules" "xorg"
  option "XkbModel" "pc105"
  option "XkbLayout" "us"
  option "XkbOptions" "lv3:ralt_switch"
  option "XkbModel" "pc105"
  option "XkbLayout" "us"
  option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
  Identifier "Configured Mouse"
  Driver "mouse"
  option "CorePointer"
  option "Device" "/dev/input/mice"
  option "Protocol" "ExplorerPS/2"
  option "ZAxisMapping" "4 5"
  option "Emulate3Buttons" "true"
  option "Buttons" "7"
  option "ButtonMapping" "1 2 3 6 7"
EndSection

Section "InputDevice"
  Identifier "Synaptics Touchpad"
  Driver "synaptics"
  option "SendCoreEvents" "true"
  option "Device" "/dev/psaux"
  option "Protocol" "auto-dev"
  option "HorizScrollDelta" "0"
EndSection

#------------------------
Section "Device"
        Identifier      "Intel 915GM"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option          "VBERestore" "true"
        Option          "XAANoOffscreenPixmaps" "true"
        VideoRam        65536
        Screen          0
EndSection

Section "Monitor"
        Identifier      "LCD"
        ModelName       "Fujitsu C Series internal LCD"
        Option          "DPMS"
        HorizSync       30.0-71.0 # xxx not sure about this
        VertRefresh     50-160    # xxx not sure about this
EndSection


Section "Screen"
        Identifier      "Local LCD"
        Device          "Intel 915GM"
        Monitor         "LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                # use "1400x1050" or "1280x800" for a widescreen
                Modes            "1280x800" "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Local LCD only"
        Screen 0   "Local LCD"     0 0
        Option     "AIGLX" "true"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection
logy:

== glxinfo: ==

direct rendering: No
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)


== Xorg log: ==

radek@radek-laptop:~$ grep -i "Direct rendering" /var/log/Xorg.0.log
(II) I810(0): direct rendering: Disabled

radek@radek-laptop:~$ cat /var/log/Xorg.0.log|grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) AIGLX: Screen 0 is not DRI capable

(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI


== Test AGP: ==

radek@radek-laptop:~$ dmesg | grep agp
[17179596.056000] Linux agpgart interface v0.101 (c) Dave Jones
[17179596.072000] agpgart: Detected an Intel 915GM Chipset.
[17179596.072000] agpgart: Detected 7932K stolen memory.
[17179596.088000] agpgart: AGP aperture is 256M @ 0xc0000000


== lsmod, dmesg, scanpci ==

radek@radek-laptop:~$ lsmod|grep 915
tsdev                   9152  0


radek@radek-laptop:~$ dmesg | grep drm
 - outputs nothing, but

radek@radek-laptop:~$ sudo scanpci

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2590
 Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2592
 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller

pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x8086 device 0x2792
 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller


== Installed packages: ==

libgl1-mesa-dri
/usr/lib/dri/i915_dri.so

libgl1-mesa-glx
12.11.2006 16:51 pakanek | skóre: 28 | Vyškov
Rozbalit Rozbalit vše Re: i915 - nefunkcni DRI (kubuntu)
Odpovědět | | Sbalit | Link | Blokovat | Admin
No - vase konfiguraky a logy jsem nestudovatl... ale ja si DRI zprovoznuji nasledovne:

Mam integrovanou kartu 915GM/GMS/910GML a ve Slackwaru (i vsech jinych distribucich, ktere jsem pouzival) staci(lo) zkompilovat ovladac v kernelu

sekce Device drivers->Character devices a v ni volby:
/dev/agpgart (AGP Support)
Intel 440LX/BX/GX and I8xx and E7x05 chipset support
Direct Rendering Management
Intel 830M, 845G ... (i915 driver) --->

V xorg.conf pote do sekce Module pridat
Load glx
Load dri

a vytvorit sekci
Section "DRI"
Mode 0666
EndSection

Nastaveni karty mam nasledujici
Section "Device"
Identifier "i915GM"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 16384
Option "DDC" "false"
EndSection

!! -- Dulezite je take nastavit barevnou hloubku na 16 bitu -- !!
3D akcelerace funguje jen pri teto hloubce. Takze v sekci Screen
DefaultDepth 16

Akcelerace mi fungovala na Xorg 6.9 a vyssich.
glxgears pote dava cca 1000 - 1200 FPS (s volbou DDC false)
na Pentium M 1.6 GHz a 512 Ram
Všechno dobré je pro něco zlé.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.