Автор Тема: Intel 82945G - когда тормозит графика  (Прочитано 7237 раз)

Mario_z

  • Гость
Навеяло общением со знакомым. Очень много людей жалуется на поддержку Intel'овских чипсетов с видео.
/etc/X11/xorg.conf

Вот xorg.conf который сформировал Alt Linux 5.0 Desktop  KDE4 i586 Рабочая станция
Цитировать
Section "ServerLayout"
   Identifier     "Minimal layout"
   Screen         "Screen0" 0 0
EndSection

Section "Module"
   SubSection "extmod"
      Option       "omit xfree86-dga"
   EndSubSection
EndSection

Section "Monitor"
   Identifier   "LG 795FT PLUS/795FT SUPER|0"
   DisplaySize  330   250
   HorizSync    30.0 - 96.0
   VertRefresh  50.0 - 160.0
EndSection

Section "Device"
   Identifier  "Card0|0"
   Driver      "intel"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0|0"
   Monitor    "LG 795FT PLUS/795FT SUPER|0"
   DefaultDepth     24
   SubSection "Display"
      Modes    "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1280x720" "1152x870" "1152x864" "1120x840" "1024x768" "1024x736" "1024x600" "960x720" "848x480" "832x624" "800x600" "720x576" "640x480"
   EndSubSection
EndSection
И все зверски тормозит.

А вот файл от PuppyRus  скормленный Альту:
Цитировать
#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load       "glx"

# This loads xtrap extension, used by xrandr
    Load       "xtrap"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option      "XkbRules" "xorg"
   Option      "XkbModel" "pc102"
   Option      "XkbLayout" "us,ru" #xkeymap0"
   Option      "XkbVariant" ",winkeys"
   Option      "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto" #mouse0protocol
   Option       "Device" "/dev/mouse"
   #Option      "Emulate3Buttons"
   #Option      "Emulate3Timeout" "50"
   Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
   #DisplaySize     330   250   # mm
   Identifier   "Monitor0"
   VendorName   "GSM"
   ModelName    "Flatron795FT"
   ### Comment all HorizSync and VertRefresh values to use DDC:
   Option       "DPMS"
   HorizSync    30.0-96.0
   VertRefresh  50.0-85.0
   #UseModes     "Modes0" #monitor0usemodes
   Option      "PreferredMode" "1024x768"
   EndSection
   
Section "Modes"
   Identifier "Modes0"
   #modes0modeline0
EndSection

Section "Device"
   ### Available Driver options are:-
   ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
   ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
   ### [arg]: arg optional
   #Option     "NoAccel"               # [<bool>]
   #Option     "SWcursor"              # [<bool>]
   #Option     "ColorKey"              # <i>
   #Option     "CacheLines"            # <i>
   #Option     "Dac6Bit"               # [<bool>]
   #Option     "DRI"                   # [<bool>]
   #Option     "NoDDC"                 # [<bool>]
   #Option     "ShowCache"             # [<bool>]
   #Option     "XvMCSurfaces"          # <i>
   #Option     "PageFlip"              # [<bool>]
   Identifier  "Card0"
   Driver      "intel" #card0driver
   VendorName  "Intel Corporation"
   BoardName   "82945G/GZ Integrated Graphics Controller"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
    EndSubsection
EndSection

#PuppyHardwareProfile=Intel_r__82945G_ChipsetFlatron795FT
И стало гораздо лучше...
С Кубунту кстати такая же проблема наблюдалась у него - значит проблема общая.

В чем же дело почему в Альте оно не формируется нормально?
« Последнее редактирование: 09.07.2010 14:45:55 от Mario_z »

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: Intel 82945G - когда тормозит графика
« Ответ #1 : 10.07.2010 00:20:38 »
А логи работы с разными конфигами не пробовали сравнивать ?

Оффлайн sasa

  • Участник
  • *
  • Сообщений: 1 152
Re: Intel 82945G - когда тормозит графика
« Ответ #2 : 10.07.2010 00:42:16 »
А что именно непонятно, чего не хватает, или почему этого не хватает?
Если первое - то можно в конфиге папирусном комментировать по одной строчке, начиная с самых вероятных ,и наблюдать загрузку...
Компьютер - это лопата, к нему мозги нужны (с)

Mario_z

  • Гость
Re: Intel 82945G - когда тормозит графика
« Ответ #3 : 10.07.2010 02:58:29 »
ruslandh
Спасибо за идею, надо будет человека поднапрячь.

sasa
Если бы железо было мое, то я бы поэкспериментировал.
У меня встроенная NVidia 8200 и проблем нет - проблемы как раз у тех людей, у которых Intel'овские  чипсеты со встроенным видео. И как показывает практика они не желают тратить свое время на разбор полетов, а точную причину мы так и не знаем пока. Они постят пару раз, а потом сваливают с форума насовсем.

Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 242
Re: Intel 82945G - когда тормозит графика
« Ответ #4 : 10.07.2010 17:21:29 »
видимо Option "RandR" "on" влияет.

Оффлайн Vitls

  • Глобальный модератор
  • *****
  • Сообщений: 372
  • Идиотизм вечен!
    • Linux. OpenSource. Life.
Re: Intel 82945G - когда тормозит графика
« Ответ #5 : 10.07.2010 19:07:12 »
Расширение dbe тоже не лишнее
Дело не в том как болезнь вылечить.
Дело в том как других заразить.

Оффлайн AleksM

  • Участник
  • *
  • Сообщений: 47
Re: Intel 82945G - когда тормозит графика
« Ответ #6 : 08.10.2010 07:18:56 »
Тоже разбираюсь со встроенным видео на Intel 82865G. Ось Simply Linux 5.0.1 RC2

Цитировать
Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

На это X Server записал в файл /var/log/Xorg.0.log:
Цитировать
(WW) The directory "/usr/X11R7/lib/X11/fonts/misc/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/X11R7/lib/X11/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/X11R7/lib/X11/fonts/TTF/" does not exist.
   Entry deleted from font path.
(**) FontPath set to:
   catalogue:/etc/X11/fontpath.d

Посмотрел, а у меня цепочка обрывается на "/usr/X11R7/lib/X11", где пусто. Поэтому, видимо, умный Х-сервер сам устанавливает каталог для шрифтов "/etc/X11/fontpath.d".


P.S. Тему поднял со своей проблемой здесь http://forum.altlinux.org/index.php/topic,8549.0.html


Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: Intel 82945G - когда тормозит графика
« Ответ #7 : 08.10.2010 10:13:10 »
Цитировать
 FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
  FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
  FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"
Так делали лет пять назад. Где вы такой конфиг взяли? Сейчас xorg сам умеет находить шрифты. Так-что это совсем лишние  и может да-же вредить.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: Intel 82945G - когда тормозит графика
« Ответ #8 : 08.10.2010 10:14:35 »
RgbPath   "/usr/X11R7/lib/X11/rgb"

Это то-же давно не используется

Оффлайн AleksM

  • Участник
  • *
  • Сообщений: 47
Re: Intel 82945G - когда тормозит графика
« Ответ #9 : 08.10.2010 11:03:39 »
Так делали лет пять назад. Где вы такой конфиг взяли? Сейчас xorg сам умеет находить шрифты.

Взял у Mario_z  в первом посте этой темы.

Так что значит эту секцию
Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection
из файла, который предлагает Mario_z в /etc/X11/xorg.conf можно полностью исключить.

Так-что это совсем лишние  и может да-же вредить.
А я думаю, почему у меня в результате этих экспериментов при загрузке SL на этапе авторизации в системе в графическом режиме не пропечатывается надпись "имя пользователя" и "введите пароль" (вместо них какие то черточки) и даже когда вводишь имя пользователя оно в строчке не отображается. Видимо, слетают шрифты. Хотя потом проблем со шрифтами не наблюдается.

Оффлайн valobasoff

  • Участник
  • *
  • Сообщений: 413
Re: Intel 82945G - когда тормозит графика
« Ответ #10 : 31.03.2011 12:40:29 »
у меня такая-же беда, везде где встроенное intel делать презентацию в impress просто невозможно, при том что 3Ггц камень и гиг оперативы...ШМ5.0.2 подскажите что нужно дописать в хорг?
 cat /etc/X11/xorg.conf
Section "ServerLayout"               
        Identifier     "Minimal layout"
        Screen          "Screen0" 0 0 
        InputDevice "stylus" "SendCoreEvents"
        InputDevice "eraser" "SendCoreEvents"
        InputDevice "cursor" "SendCoreEvents"
        InputDevice "pad"                   
EndSection                                   

Section "Module"
        SubSection "extmod"
                Option      "omit xfree86-dga"
        EndSubSection                         
EndSection                                   

Section "Monitor"
        Identifier   "ViewSonic VE700|0"
        DisplaySize  340        270     
        HorizSync    24.0 - 82.0       
        VertRefresh  56.0 - 85.0       
EndSection                             

Section "Device"
        Identifier  "Card0|0"
        Driver      "i810"   
EndSection                   

Section "Screen"
        Identifier "Screen0"
        Device     "Card0|0"
        Monitor    "ViewSonic VE700|0"
        DefaultDepth     24           
        SubSection "Display"         
                Modes    "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1280x720" "1152x870" "1152x864" "1120x840" "1024x768" "1024x736" "1024x600" "960x720" "848x480" "832x624" "800x600" "720x576" "640x480"                   
        EndSubSection                                                                                                 
EndSection

Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 242
Re: Intel 82945G - когда тормозит графика
« Ответ #11 : 02.04.2011 21:53:29 »
Driver      "intel"  вместо i810 (ну и ядро 2.6.32).