morfi |
|
Темы:
2
Сообщения:
8
Участник с: 22 января 2008
|
Товарищи арчеровцы, здрасте. Проблема в следующем: ставлю дрова ATI (проприетарные), прогоняю aticonfig или как его там… В xorg.conf поставлен и “glx” и “dri”. И mesa стоит, но 3d ускорение не работает! Где-то читал что важен порядок установки mesa/xorg/драйверов ati. Кто знает как правильно их поставить? Xorg.conf выложить сейчас не могу. В wiki по ati всё по английски… Помогите pls… |
ikos |
|
Темы:
8
Сообщения:
88
Участник с: 29 декабря 2007
|
Я с атишной карточкой не встречался. Но точно знаю, что для нормальной 3д графики mesa скорее всего не нужна - вместе с дравишками должны быть нормальные opengl-библиотеки (хотя меса у тебя все-равно наверное будет как зависимость…). Провер еще в xorg.conf: должен стоять fglrx |
quatsch |
|
Темы:
12
Сообщения:
123
Участник с: 11 февраля 2007
|
fglrx в rc.conf в список модулей добавил? |
morfi |
|
Темы:
2
Сообщения:
8
Участник с: 22 января 2008
|
Добавил. А вот с xorg.conf воде не так. Вот он. Section "ServerLayout" # The Identifier line must be present # Each Screen line specifies a Screen section name, and optionally # the relative position of other screens. The four names after # primary screen name are the screens to the top, bottom, left and right # of the primary screen. In this example, screen 2 is located to the # right of screen 1. # Each InputDevice line specifies an InputDevice section name and # optionally some options to specify the way the device is to be # used. Those options include "CorePointer", "CoreKeyboard" and # "SendCoreEvents". Identifier "Simple Layout" Screen 0 "aticonfig-Screen[0]" 0 0 InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection 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/share/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/share/fonts/Type1" # FontPath "/usr/lib/X11/fonts/local/" # FontPath "/usr/lib/X11/fonts/misc/" # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" # FontPath "/usr/lib/X11/fonts/Speedo/" # FontPath "/usr/lib/X11/fonts/Type1/" # FontPath "/usr/lib/X11/fonts/TrueType/" # FontPath "/usr/lib/X11/fonts/freefont/" # FontPath "/usr/lib/X11/fonts/75dpi/" # FontPath "/usr/lib/X11/fonts/100dpi/" # The module search path. The default path is shown here. # ModulePath "/usr/lib/modules" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/TTF" EndSection Section "Module" # This loads the DBE extension module. # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. # This loads the font modules # Load "type1" # This loads the GLX module Load "glx" # This loads the DRI module Load "dri" Load "drm" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "freetype" # Load "xtt" EndSection Section "InputDevice" # For most OSs the protocol can be omitted (it defaults to "Standard"). # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), # uncomment the following line. # Option "Protocol" "Xqueue" # Option "Xleds" "1 2 3" # Option "LeftAlt" "Meta" # Option "RightAlt" "ModeShift" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc105" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" # These are the default XKB settings for Xorg # Option "XkbRules" "xorg" # Option "XkbModel" "pc105" # Option "XkbLayout" "us" # Option "XkbVariant" "" # Option "XkbOptions" "" # Option "XkbDisable" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "en,ru" Option "XkbVariant" "en,ru" EndSection Section "InputDevice" # Identifier and driver # the following line. # Option "Protocol" "Xqueue" # Mouse-speed setting for PS/2 mouse. # Option "Resolution" "256" # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. # Option "BaudRate" "9600" # Option "SampleRate" "150" # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5, # horizontal wheel to buttons 6 & 7. Change if your mouse has more than # 3 buttons and you need to map the wheel to different button ids to avoid # conflicts. # Emulate3Timeout is the timeout in milliseconds (default is 50ms) # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # ChordMiddle is an option for some 3-button Logitech mice # Option "ChordMiddle" Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" # Auto detect Option "Device" "/dev/input/mice" # When using XQUEUE, comment out the above two lines, and uncomment Option "ZAxisMapping" "4 5 6 7" # Emulate3Buttons is an option for 2-button mice EndSection Section "Monitor" # HorizSync is in kHz unless units are specified. # HorizSync may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. # HorizSync 30-64 # multisync # HorizSync 31.5, 35.2 # multiple fixed sync frequencies # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies # VertRefresh is in Hz unless units are specified. # VertRefresh may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. Identifier "LG FLATRON L1953S" HorizSync 31.5 - 64.3 VertRefresh 50.0 - 70.0 EndSection Section "Monitor" Identifier "aticonfig-Monitor[0]" Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" EndSection Section "Device" # The chipset line is optional in most cases. It can be used to override # the driver's chipset detection, and should not normally be specified. # Chipset "generic" # The Driver line must be present. When using run-time loadable driver # modules, this line instructs the server to load the specified driver # module. Even when not using loadable driver modules, this line # indicates which driver should interpret the information in this section. # The BusID line is used to specify which of possibly multiple devices # this section is intended for. When this line isn't present, a device # section can only match up with the primary video device. For PCI # devices a line like the following could be used. This line should not # normally be included unless there is more than one video device # intalled. # BusID "PCI:0:10:0" # VideoRam 256 # Clocks 25.2 28.3 Identifier "Standard VGA" Driver "vga" VendorName "Unknown" BoardName "Unknown" EndSection Section "Device" #VideoRam 262144 # Insert Clocks lines here if appropriate Identifier "** ATI Radeon (generic) [radeon]" Driver "radeon" EndSection Section "Device" Identifier "aticonfig-Device[0]" Driver "fglrx" EndSection Section "Screen" Identifier "Screen 1" Device "** ATI Radeon (generic) [radeon]" Monitor "LG FLATRON L1953S" DefaultDepth 24 SubSection "Display" Viewport 0 0 Virtual 1600 1280 Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Virtual 1280 1024 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Virtual 1152 900 Depth 24 Modes "1280x1024" EndSubSection EndSection Section "Screen" Identifier "aticonfig-Screen[0]" Device "aticonfig-Device[0]" Monitor "aticonfig-Monitor[0]" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Fglrx есть но почему-то есть и generic. Убрать его можно без особых последствий? |
ikos |
|
Темы:
8
Сообщения:
88
Участник с: 29 декабря 2007
|
Попробуй это, может пойдет 3D……Section "ServerLayout" Identifier "Simple Layout" Screen 0 "Screen" 0 0 InputDevice "Mouse" "CorePointer" InputDevice "Keyboard" "CoreKeyboard" EndSection Section "Files" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/TTF" EndSection Section "Module" Load "type1" Load "glx" Load "dri" Load "drm" # А это что за модуль? Load "dbe" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "en,ru" Option "XkbVariant" "en,ru" EndSection Section "InputDevice" Identifier "Mouse" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "LG FLATRON L1953S" HorizSync 31.5 - 64.3 VertRefresh 50.0 - 70.0 EndSection Section "Monitor" Identifier "Monitor" Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" EndSection Section "Device" Identifier "Viduha" Driver "fglrx" #+Может еще есть какие-то опции специфичные для радеона EndSection Section "Screen" Identifier "Screen" Device "Viduha" Monitor "Monitor" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection |
morfi |
|
Темы:
2
Сообщения:
8
Участник с: 22 января 2008
|
В общем сейчас дело обстоит так: После некоторых манипуляций с конфигом иксы просто отказываличь запускаться. Поновой прогнал xorgconfig и aticonfig. Настроил. Всё завелось. Смотрю как запускается трёхмерный скринсервер… Одни тормоза… Зато glxinfo показывает “direct rendering: yes”. Ничего не понимаю. |
cucullus |
|
Темы:
256
Сообщения:
3435
Участник с: 06 июня 2007
|
glxgears?
такие дела.
|
morfi |
|
Темы:
2
Сообщения:
8
Участник с: 22 января 2008
|
cucullusХм. Спасибо. То что колёсики не крутились навело на мысль, что нехватает каких-то модулей кроме glx и dri… Нашёл человека у которого есть конфиг на ATI. Посмотрел, добавил модули. Завел. # glxgearsКолёсики крутятся. Скринсервер - тормозит. И тут я узрел лишнюю секцию Screen в Хконфиге. Закоментировал. Всё работает! Забыл про модули. Они такие если кому интересно : glx, dbe, dri, v4l, type1, freetype. Всем кто пытался помочь большое спасибо :) . |