Драйвера видеокарты.

Автор Makiavelly, 18 февраля 2012, 16:13:38

« назад - далее »

0 Пользователи и 2 гостей просматривают эту тему.

duletant

#15
Выполнял через su. Сейчас переставляю систему, буду пробовать с нуля.

Сообщение объединено: 23 февраля 2012, 20:52:44

В общем X -configure выдал следующее:
Открыть содержимое (спойлер)
X -configure

X.Org X Server 1.11.3.901 (1.11.4 RC 1)
Release Date: 2012-01-06
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
Current Operating System: Linux st1 3.2.0-1-486 #1 Sun Feb 5 22:49:24 UTC 2012 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-1-486 root=UUID=16b47b2d-4474-4275-b561-91dd5bf30cf3 ro quiet
Build Date: 19 January 2012  10:32:06AM
xorg-server 2:1.11.3.901-2 (Cyril Brulebois <kibi@debian.org>)
Current version of pixman: 0.24.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 23 17:58:47 2012
List of video drivers:
   chips
   neomagic
   sisusb
   apm
   voodoo
   s3
   sis
   fglrx
   openchrome
   s3virge
   trident
   intel
   savage
   r128
   ati
   siliconmotion
   cirrus
   tseng
   rendition
   geode
   vmwlegacy
   ark
   radeon
   tdfx
   nouveau
   mach64
   i740
   mga
   ztv
   i128
   vmware
   fbdev
   vesa
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(EE) vmware: Unexpected failure while loading the "vmwlegacy" driver. Giving up.
(EE) Failed to load module "vmware" (a required submodule could not be loaded, -1216993677)
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] No DRICreatePCIBusID symbol, no kernel modesetting.
Number of created screens does not match number of detected devices.
  Configuration failed.
Server terminated with error (2). Closing log file.
[свернуть]
скопировав содержимое /usr/share/X11/xorg.conf.d в /etc/X11/xorg.conf получаю загрузку без драйвера
lspci -k
01:05.1 Audio device: ATI Technologies Inc RS880 HDMI Audio [Radeon HD 4200 Series]
Subsystem: Hewlett-Packard Company Device 1475
Kernel driver in use: snd_hda_intel
перед добавлением xorg.conf lspci -k выглядел вот так
Открыть содержимое (спойлер)
01:05.1 Audio device: ATI Technologies Inc RS880 HDMI Audio [Radeon HD 4200 Series]
Subsystem: Hewlett-Packard Company Device 1475
Kernel driver in use: radeon
[свернуть]
собственно сам xorg.conf:
Открыть содержимое (спойлер)
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   Screen      2  "Screen2" RightOf "Screen1"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
   Load  "dbe"
   Load  "dri2"
   Load  "extmod"
   Load  "dri"
   Load  "glx"
   Load  "record"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier   "Monitor2"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "Dac8Bit"               # [<bool>]
        #Option     "BusType"               # [<str>]
        #Option     "CPPIOMode"             # [<bool>]
        #Option     "CPusecTimeout"         #
        #Option     "AGPMode"               #
        #Option     "AGPFastWrite"          # [<bool>]
        #Option     "AGPSize"               #
        #Option     "GARTSize"              #
        #Option     "RingSize"              #
        #Option     "BufferSize"            #
        #Option     "EnableDepthMoves"      # [<bool>]
        #Option     "EnablePageFlip"        # [<bool>]
        #Option     "NoBackBuffer"          # [<bool>]
        #Option     "DMAForXv"              # [<bool>]
        #Option     "FBTexPercent"          #
        #Option     "DepthBits"             #
        #Option     "PCIAPERSize"           #
        #Option     "AccelDFS"              # [<bool>]
        #Option     "IgnoreEDID"            # [<bool>]
        #Option     "CustomEDID"            # [<str>]
        #Option     "DisplayPriority"       # [<str>]
        #Option     "PanelSize"             # [<str>]
        #Option     "ForceMinDotClock"      # <freq>
        #Option     "ColorTiling"           # [<bool>]
        #Option     "VideoKey"              #
        #Option     "RageTheatreCrystal"    #
        #Option     "RageTheatreTunerPort"    #
        #Option     "RageTheatreCompositePort"    #
        #Option     "RageTheatreSVideoPort"    #
        #Option     "TunerType"             #
        #Option     "RageTheatreMicrocPath"    # <str>
        #Option     "RageTheatreMicrocType"    # <str>
        #Option     "ScalerWidth"           #
        #Option     "RenderAccel"           # [<bool>]
        #Option     "SubPixelOrder"         # [<str>]
        #Option     "ClockGating"           # [<bool>]
        #Option     "VGAAccess"             # [<bool>]
        #Option     "ReverseDDC"            # [<bool>]
        #Option     "LVDSProbePLL"          # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "DRI"                   # [<bool>]
        #Option     "ConnectorTable"        # <str>
        #Option     "DefaultConnectorTable"    # [<bool>]
        #Option     "DefaultTMDSPLL"        # [<bool>]
        #Option     "TVDACLoadDetect"       # [<bool>]
        #Option     "ForceTVOut"            # [<bool>]
        #Option     "TVStandard"            # <str>
        #Option     "IgnoreLidStatus"       # [<bool>]
        #Option     "DefaultTVDACAdj"       # [<bool>]
        #Option     "Int10"                 # [<bool>]
        #Option     "EXAVSync"              # [<bool>]
        #Option     "ATOMTVOut"             # [<bool>]
        #Option     "R4xxATOM"              # [<bool>]
        #Option     "ForceLowPowerMode"     # [<bool>]
        #Option     "DynamicPM"             # [<bool>]
        #Option     "NewPLL"                # [<bool>]
        #Option     "ZaphodHeads"           # <str>
   Identifier  "Card0"
   Driver      "radeon"
   BusID       "PCI:1:5:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "Rotate"                # <str>
        #Option     "fbdev"                 # <str>
        #Option     "debug"                 # [<bool>]
   Identifier  "Card1"
   Driver      "fbdev"
   BusID       "PCI:1:5:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
        #Option     "ModeSetClearScreen"    # [<bool>]
   Identifier  "Card2"
   Driver      "vesa"
   BusID       "PCI:1:5:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen2"
   Device     "Card2"
   Monitor    "Monitor2"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection
>
[свернуть]
Честно говоря - не пойму зачем он дублирует одинаковые секции :-\
Каким образом теперь заставить его грузить "дрова" radeon?

Сообщение объединено: 23 февраля 2012, 22:39:43

Поправил xorg.conf
Открыть содержимое (спойлер)
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
   Load  "dbe"
   Load  "dri2"
   Load  "extmod"
   Load  "dri"
   Load  "glx"
   Load  "record"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "kbd"
   Option      "XkbRules" "xorg"
   Option      "XkbModel" "pc105"
   Option      "XkbLayout" "us,ru"
   Option      "XkbVariant" ",winkeys"
   Option      "XkbOptions" "grp:ctrl_shift_toggle"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "Dac6Bit"               # [<bool>]
        #Option     "Dac8Bit"               # [<bool>]
        #Option     "BusType"               # [<str>]
        #Option     "CPPIOMode"             # [<bool>]
        #Option     "CPusecTimeout"         #
        #Option     "AGPMode"               #
        #Option     "AGPFastWrite"          # [<bool>]
        #Option     "AGPSize"               #
        #Option     "GARTSize"              #
        #Option     "RingSize"              #
        #Option     "BufferSize"            #
        #Option     "EnableDepthMoves"      # [<bool>]
        #Option     "EnablePageFlip"        # [<bool>]
        #Option     "NoBackBuffer"          # [<bool>]
        #Option     "DMAForXv"              # [<bool>]
        #Option     "FBTexPercent"          #
        #Option     "DepthBits"             #
        #Option     "PCIAPERSize"           #
        #Option     "AccelDFS"              # [<bool>]
        #Option     "IgnoreEDID"            # [<bool>]
        #Option     "CustomEDID"            # [<str>]
        #Option     "DisplayPriority"       # [<str>]
        #Option     "PanelSize"             # [<str>]
        #Option     "ForceMinDotClock"      # <freq>
        #Option     "ColorTiling"           # [<bool>]
        #Option     "VideoKey"              #
        #Option     "RageTheatreCrystal"    #
        #Option     "RageTheatreTunerPort"    #
        #Option     "RageTheatreCompositePort"    #
        #Option     "RageTheatreSVideoPort"    #
        #Option     "TunerType"             #
        #Option     "RageTheatreMicrocPath"    # <str>
        #Option     "RageTheatreMicrocType"    # <str>
        #Option     "ScalerWidth"           #
        #Option     "RenderAccel"           # [<bool>]
        #Option     "SubPixelOrder"         # [<str>]
        #Option     "ClockGating"           # [<bool>]
        #Option     "VGAAccess"             # [<bool>]
        #Option     "ReverseDDC"            # [<bool>]
        #Option     "LVDSProbePLL"          # [<bool>]
        #Option     "AccelMethod"           # <str>
        #Option     "DRI"                   # [<bool>]
        #Option     "ConnectorTable"        # <str>
        #Option     "DefaultConnectorTable"    # [<bool>]
        #Option     "DefaultTMDSPLL"        # [<bool>]
        #Option     "TVDACLoadDetect"       # [<bool>]
        #Option     "ForceTVOut"            # [<bool>]
        #Option     "TVStandard"            # <str>
        #Option     "IgnoreLidStatus"       # [<bool>]
        #Option     "DefaultTVDACAdj"       # [<bool>]
        #Option     "Int10"                 # [<bool>]
        #Option     "EXAVSync"              # [<bool>]
        #Option     "ATOMTVOut"             # [<bool>]
        #Option     "R4xxATOM"              # [<bool>]
        #Option     "ForceLowPowerMode"     # [<bool>]
        #Option     "DynamicPM"             # [<bool>]
        #Option     "NewPLL"                # [<bool>]
        #Option     "ZaphodHeads"           # <str>
   Identifier  "Card0"
   Driver      "radeon"
   BusID       "PCI:1:5:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection
>
[свернуть]
получил
Открыть содержимое (спойлер)
01:05.0 VGA compatible controller: ATI Technologies Inc RS880M [Mobility Radeon HD 4200 Series]
   Subsystem: Hewlett-Packard Company Device 1475
   Kernel driver in use: fglrx_pci
01:05.1 Audio device: ATI Technologies Inc RS880 HDMI Audio [Radeon HD 4200 Series]
   Subsystem: Hewlett-Packard Company Device 1475
   Kernel driver in use: snd_hda_intel
[свернуть]
glxinfo говорит:
Открыть содержимое (спойлер)
glxinfo
name of display: :0.0
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  136 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  12
  Current serial number in output stream:  12
[свернуть]
вобщем чего еще ему подать - незнаю :(

vladimir_ar

Странно. Вычистите все остатки fglrx (и из реп в том числе).
Загрузитесь в режиме восстановления.
Запустите
# sh amd-driver......run
Ответы на вопросы 1, yes, yes
После установки (если не было ошибок)
# aticonfig --initial
reboot

Все, как-бы. Десятки раз так ставил, начиная с ubuntu и заканчивая wheezy - всегда ставилась (причем у меня в компе две карты, одновременно работающие).
Debian Testing, kernel 3.16-2-amd64, OpenBox
AMD A8-3750 / 16Gb RAM / ATI HD6550D (onboard) / Sound ASUS Xonar - DS
_______________________________
Debian Testing, kernel 3.14-2-amd64, OpenBox
HP-655 AMD E1 / 8Gb RAM / ATI HD7310M

duletant

Цитата: vladimir_ar от 23 февраля 2012, 23:25:12# sh amd-driver......run
Таким методом пробовал установить в чистую (вновь установленную) систему, в конце выполнения скрипта выдает ошибку с разными кодами (коды уже не помню)
Цитата: vladimir_ar от 23 февраля 2012, 23:25:12Вычистите все остатки fglrx (и из реп в том числе).
Как это сделать? попробую, может в режиме восстановления что-нить выйдет..

vladimir_ar

Цитата: duletant от 23 февраля 2012, 23:35:38в конце выполнения скрипта выдает ошибку с разными кодами
Так может стоило посмотреть, что значат?
И какая версия драйвера?
Debian Testing, kernel 3.16-2-amd64, OpenBox
AMD A8-3750 / 16Gb RAM / ATI HD6550D (onboard) / Sound ASUS Xonar - DS
_______________________________
Debian Testing, kernel 3.14-2-amd64, OpenBox
HP-655 AMD E1 / 8Gb RAM / ATI HD7310M

duletant

Версии пробовал разные, результат один, а насчет кода - в логах просто указывается код ошибки, а где "расшифровать" - кто его знает.

Metrix

Цитата: duletant от 23 февраля 2012, 23:35:38Цитата: vladimir_ar от Сегодня в 01:25:12

    Вычистите все остатки fglrx (и из реп в том числе).

Как это сделать? попробую, может в режиме восстановления что-нить выйдет..
# cd /usr/share/ati/
# sh fglrx-uninstall.sh


Сообщение объединено: 24 февраля 2012, 00:41:10

duletant, попробуй по инструкции после очистки хвостов
Юзербар в отпуске

duletant

#21
Ставил по инструкции на "чистую" систему, поэтому
cd /usr/share/ati/
bash: cd: /usr/share/ati/: Нет такого файла или каталога
нет там таких!

Сообщение объединено: 24 февраля 2012, 00:52:49

По указанной инструкции все стало ровно, а вот# aticonfig --initial "рассказал, что нет таких".
Думаю в этом вся проблема. А вот теперь # aticonfig --initial почему-то решил сработать и переписал xorg.conf.
Проверю результат.

Сообщение объединено: 24 февраля 2012, 01:08:31

Теперь glxinfo "говорит" вот так:
glxinfo
No protocol specified
No protocol specified
Error: unable to open display :0.0

Metrix

Юзербар в отпуске

duletant

Странное поведение системы. Просто перегрузился и все заработало... появилась поддержка рендеринга, шестеренки, шестеренки в кубе)
только вот под KDE как-то так получается(
Открыть содержимое (спойлер)
free
             total       used       free     shared    buffers     cached
Mem:       1811832    1480812     331020          0      30476    1081912
-/+ buffers/cache:     368424    1443408
Swap:      2554268          0    2554268
[свернуть]
Спасибо за ссылку! "Дрова" работают с первой инструкции.
Спасибо всем кто откликнулся!

Malaheenee

Добавьте перед названием темы [РЕШЕНО].
Все мы где-то, когда-то и в чем-то были новичками.