Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: 3D akcelerace u integrované grafické karty Intel  (Přečteno 4238 krát)

Petr

  • Návštěvník
  • Příspěvků: 28
    • http://www.berda.net
3D akcelerace u integrované grafické karty Intel
« kdy: 21 Prosince 2006, 07:57:53 »
Zdravím všechny,
dopředu se omlouvám, jestli to tu někde je, tak jsem slepejš-použil jsem hledání jak tu, tak na googlu a přesto jsem nikde nenašel řešení problému. Na svém notebooku (Acer TM 4222 WLMi) mám integrovanou grafiku, která je identifikovaná následujícím způsobem:

výpis z lspci:
Kód: [Vybrat]
00:02.0 VGA compatibile controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)výpis z /etc/X11/xorg.conf:
Kód: [Vybrat]
Section "Device"
        Identifier "Intel Corporation Mobile Integrated Graphics Controller"
        Driver     "i810"
        BusID      "PCI:0:2:0"
Přestože jsem po vyhledávání našel, že s podobným výpisem všem 3D akcelerace chodí bez problémů, mně ne...

výpis z glxinfo | grep direct:
Kód: [Vybrat]
direct rendering: NoPodařilo se někomu z vás na podobné grafice 3D akceleraci rozeběhnout? Máte nějaký nápad, co mám špatně?
Díky všem
Berda
Acer TM 4222WLMi, Ubuntu 6.10

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
3D akcelerace u integrované grafické karty Intel
« Odpověď #1 kdy: 21 Prosince 2006, 10:00:55 »
Můj noťas jede s 6.10 v pohodě hned po instalaci. Nic jsem nemusel měnit. Konfigurace v patičce. Hodim vám sem výpis z Xorg.conf a odkaz na návod ve wiki.

Citace
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

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   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "cz"
   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"
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 Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
   Driver      "i810"
   BusID      "PCI:0:2:0"
   Option      "UseFBDev"      "true"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   28-49
   VertRefresh   43-72
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice   "Synaptics Touchpad"
EndSection

Section "DRI"
   Mode   0666
EndSection

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

Petr

  • Návštěvník
  • Příspěvků: 28
    • http://www.berda.net
3D akcelerace u integrované grafické karty Intel
« Odpověď #2 kdy: 21 Prosince 2006, 10:10:14 »
Díky za reakci. Nejde o to, že by mi noťas nešel, grafika jde; 3D akcelerace je ale to, oč tu běží. A ta mi neběží... :) Na odkazované stránce na wiki.ubuntu.cz jsem byl (opravdu jsem hledal), ale tam o jakýchkoliv problémech s integrovanými intel grafickými kartami není skoro zmínka (natož návod na případné řešení 3D akcelerace), nebo jsem opravdu slepej... Ale porovnám xorg.conf, třeba na něco přijdu.
Berda
Acer TM 4222WLMi, Ubuntu 6.10

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
3D akcelerace u integrované grafické karty Intel
« Odpověď #3 kdy: 21 Prosince 2006, 10:12:22 »
No tím jsme chtěl říct, že mi 3D v pohodě běží. :)

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

Petr

  • Návštěvník
  • Příspěvků: 28
    • http://www.berda.net
3D akcelerace u integrované grafické karty Intel
« Odpověď #4 kdy: 21 Prosince 2006, 10:28:47 »
Ok, díky za doplnění, už to chápu... :) Jak říkám, mně nejede, nevím, kde je problém... Jediný rozdíl, který vidím je v tom, že Tvůj noťas identifikuje grafiku jako Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller, ktežto ten můj jako Intel Corporation Mobile 945GM/GMS/940GML Express Graphics Controller, jen nevím, jestli v tomhle může být problém...
Berda
Acer TM 4222WLMi, Ubuntu 6.10

Tomáš "Piškot" Petera

  • Stálý člen
  • **
  • Příspěvků: 839
    • http://www.spolnet.cz
3D akcelerace u integrované grafické karty Intel
« Odpověď #5 kdy: 21 Prosince 2006, 11:55:10 »
Novější čip hledej přímo ovladače pro intel 945GM
Už to funguje ... tedy než se rozhodnu to zase poladit.

LS

  • Závislák
  • ***
  • Příspěvků: 3849
    • http://linux.euweb.cz
3D akcelerace u integrované grafické karty Intel
« Odpověď #6 kdy: 21 Prosince 2006, 11:58:28 »
Mam notebook presne s toutez grafickou kartou jako berda. Po instalaci Ubuntu 6.10 akcelerace funguje, aniz bych  musel cokoliv nastavovat nebo doinstalovavat. Poslete cely xorg.conf, podivam se na to.

Petr

  • Návštěvník
  • Příspěvků: 28
    • http://www.berda.net
3D akcelerace u integrované grafické karty Intel
« Odpověď #7 kdy: 21 Prosince 2006, 12:17:53 »
ok, to je:
Kód: [Vybrat]
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

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 "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
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"
EndSection

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

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Intel Corporation Mobile Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice     "stylus" "SendCoreEvents"
InputDevice     "cursor" "SendCoreEvents"
InputDevice     "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection
Berda
Acer TM 4222WLMi, Ubuntu 6.10

LS

  • Závislák
  • ***
  • Příspěvků: 3849
    • http://linux.euweb.cz
3D akcelerace u integrované grafické karty Intel
« Odpověď #8 kdy: 21 Prosince 2006, 12:32:05 »
Mame to naprosto stejne. Netusim, kde muze byt problem :(

Bohuzel vas typ notebooku se neresi na tuxmobil.org, linux-laptop.net ani ubuntuforums.org :(

Petr

  • Návštěvník
  • Příspěvků: 28
    • http://www.berda.net
3D akcelerace u integrované grafické karty Intel
« Odpověď #9 kdy: 21 Prosince 2006, 13:07:07 »
Njn, už jsem si nějak zvykl, že na tenhle notebook není moc návodů, neb s ním ubuntu zřejmě jen tak někdo nepoužívá... :( Škoda, co se dá dělat... Zatím se mi na něm podařilo zprovoznit prakticky všechno, ale třeba tohle mne teď zlobí... No, snad na něco přijdu; každopádně děkuju za snahu o pomoc... ;)
Berda
Acer TM 4222WLMi, Ubuntu 6.10

Krtko

  • Stálý člen
  • **
  • Příspěvků: 540
3D akcelerace u integrované grafické karty Intel
« Odpověď #10 kdy: 21 Prosince 2006, 15:32:50 »
skus prehodit DefaultDepth    24 na 16. raz sa uz nieco podobne bolo riesilo a zda sa mi, ze toto zabralo.

makl

  • Aktivní člen
  • *
  • Příspěvků: 241
3D akcelerace u integrované grafické karty Intel
« Odpověď #11 kdy: 21 Prosince 2006, 19:57:09 »
Na to abyste mohl provozovat 3D akcelerovaný desktop potřebujete i odpovídajícího správce oken (beryl nebo compiz). Doufám, že jsem správně pochopil oč tu běží.
"The box said that I needed to have Windows 98 or better ... so I installed Linux." --- LinuxNewbie.org
Acer TravelMate® 4672LMi, Ubuntu 7.04 Feisty Fawn

Petr

  • Návštěvník
  • Příspěvků: 28
    • http://www.berda.net
3D akcelerace u integrované grafické karty Intel
« Odpověď #12 kdy: 21 Prosince 2006, 21:09:30 »
Citace: krtko
...skus prehodit DefaultDepth 24 na 16...
Ne, v mém případě změna barevné hloubky nepomohla. Změnil jsem ji v xorg.conf, rebootoval, ale stejně mi 3D akcelerace nejede
Citace: makl
Na to abyste mohl provozovat 3D akcelerovaný desktop potřebujete i odpovídajícího správce oken (beryl nebo compiz). Doufám, že jsem správně pochopil oč tu běží.
No, pak i já asi špatně chápu 3D akceleraci; myslel jsem, že tato akcelerace má pomoci grafické kartě s datově náročnějšími (tedy především 3D) grafickými produkty, jakou jsou hry či třeba zrovna 3D desktop. Ano, i ten jsem chtěl zkusit, ale předpokládám, že např. na vyzkoušení 3D grafiky pomocí glxgears -printfps není přeci beryl či compiz potřeba! Možná se pletu a rád se nechám poučit (opravdu, to není žádná ironie či tak něco, však jsem v Linuxu začátečník), ale myslím si, že tomu tak není... Asi bude u mne chyba někde jinde a snad se mi ji podaří objevit. Stejně ale moc díky za reakce a rady! ;)
Berda
Acer TM 4222WLMi, Ubuntu 6.10

Milhouse

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 5726
3D akcelerace u integrované grafické karty Intel
« Odpověď #13 kdy: 22 Prosince 2006, 00:22:04 »
Né není Beryl ani Compis potřeba.
Makl to trošku jinak pochopil. Jinak 3D desktop je na to, aby vykreslovala GPU plochu místo CPU.

N. Á. V. O. D. Y.
 "...naše práce není vidět, ale je důležitá!"

 

Provoz zaštiťuje spolek OpenAlt.