Решено: fglrx и Gentoo и xorg 7.1

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Pentium02
Сообщения: 136
ОС: Debian lenny

Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

Скачал последние атишные дрова, пытаюсь поставить, не может установить модуль fglrx к ядру, вот лог
/usr/share/ati/fglrx-install.log

Код: Выделить всё

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.19-gentoo-r5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
                 from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:357:
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:126:1: warning: "DRM_DEBUG_CODE" redefined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:177:1: warning: this is the location of the previous definition
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:475: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:598: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_request_irq':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2676: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Destroy':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5008: error: void value not ignored as it ought to be
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
sergeyvp
Сообщения: 807
ОС: ubuntu

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение sergeyvp »

Pentium02 писал(а):
03.04.2007 23:46
Скачал последние атишные дрова, пытаюсь поставить, не может установить модуль fglrx к ядру,

Тут смотрел?
http://www.gentoo.org/doc/ru/ati-faq.xml
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

Так модуль поставился, теперь другая проблема, пытаюсь старотовать иксы а он мне мягкое место показывает

P.S. Если что то у меня x1600 AGP

Ибо за оверквотинг мне вставили, кинул лог в аттачь
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
sergeyvp
Сообщения: 807
ОС: ubuntu

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение sergeyvp »

Может поможет
Падения иксов.

Покажи xorg.conf
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

Вот конфиг иксов. Сейчас гляну на ссылочку
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение serzh-z »

Pentium02
Фреймбуфер включен? Какой используется VESA-модуль?
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

ээ а как глянуть то? яж в первй раз иксы собираю из исходников, раньше мандриву юзал
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

serzh-z писал(а):
05.04.2007 12:21
Pentium02
Фреймбуфер включен? Какой используется VESA-модуль?

Вы про это? - VIDEO_CARDS="fglrx"
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение serzh-z »

(Pentium02 @ Apr 5 2007, в 17:12) писал(а):ээ а как глянуть то?
Это не в иксах, а в ядре. Если грузится заставка gensplash/splashutils, значит точно используется фреймбуфер.

В ядре дофига "родных" (на самом деле дико глючных и не имеющих отношения к производителю видеокарты) модулей фреймбуфера, в случае с NVIDIA точно известно, что использование и nvidiafb и radeonfb приводит к тому, что иксам (уже иксовому драйверу NVIDIA) сносит крышу. Возможно, что и в случае с Radeon имет место быть подобная ситуация - radeonfb и frglx конфликтуют.
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

serzh-z писал(а):
05.04.2007 22:04
(Pentium02 @ Apr 5 2007, в 17:12) писал(а):
ээ а как глянуть то?
Если грузится заставка gensplash/splashutils, значит точно используется фреймбуфер.

Нет, заставка не грузится
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
S7a1k3r
Сообщения: 159
Статус: Белгородский LUG
ОС: Arch Linux

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение S7a1k3r »

В ядре дофига "родных" (на самом деле дико глючных и не имеющих отношения к производителю видеокарты) модулей фреймбуфера, в случае с NVIDIA точно известно, что использование и nvidiafb и radeonfb приводит к тому, что иксам (уже иксовому драйверу NVIDIA) сносит крышу. Возможно, что и в случае с Radeon имет место быть подобная ситуация - radeonfb и frglx конфликтуют.

Как гордый обладатель радеона :D ,могу заявить: Radeonfb и fglrx не конфликтуют (до версии 8.33 точно, 8.34 не ставил).


вот рабочий конфиг для радеона - может поможет

Код:

Section "ServerLayout" Identifier "Xorg Configured" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "PS/2 Mouse" "CorePointer" # Serial Mouse not detected # USB Mouse not detected EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "true" EndSection Section "Files" RgbPath "/usr/share/X11/rgb" ModulePath "/usr/lib/xorg/modules" # Additional fonts: Locale, Gimp, TTF... # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi" # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi" # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig! FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/Type1" FontPath "/usr/local/share/fonts" FontPath "/usr/share/fonts/local" EndSection Section "Module" Load "ddc" # ddc probing of monitor Load "dbe" Load "dri" Load "extmod" Load "glx" Load "bitmap" # bitmap-fonts Load "type1" Load "freetype" Load "record" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:alt_shift_toggle" # Option "XkbVariant" ",winkeys" EndSection Section "InputDevice" Identifier "PS/2 Mouse" Driver "mouse" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "Monitor" Identifier "Monitor0" Option "DPMS" "true" HorizSync 30.0 - 111.0 VertRefresh 50.0 - 160.0 DisplaySize 283 212 EndSection # Auto-generated by Archie mkxcfg Section "Device" Identifier "Card0" Driver "fglrx" VendorName "All" BoardName "All" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultColorDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "DRI" Mode 0666 EndSection
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

2 S7a1k3r Заюзал ваш конфиг, ничего не выходит всё тожесамое
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
S7a1k3r
Сообщения: 159
Статус: Белгородский LUG
ОС: Arch Linux

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение S7a1k3r »

Pentium02 писал(а):
05.04.2007 22:37
2 S7a1k3r Заюзал ваш конфиг, ничего не выходит всё тожесамое

А что в логах? Прикрепите лог иксов.

Добавлено

Код: Выделить всё

(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled

Немного насторожили эта записи.

Дрова у вас правильно проemerge'лись?
Скорее всего нет. Сначала были поставлены OpenSource драйвера для radeon,
а сверху вы на это ёще fglrx положили. :) Отсюда и проблемы.
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

Пересобрал систему, скажите плиз как тогда правильно поставить дрова под мою видюху (напомню на всякий случай Sapphire ATI Radeon x1600 512Mb) ну и иксы
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
S7a1k3r
Сообщения: 159
Статус: Белгородский LUG
ОС: Arch Linux

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение S7a1k3r »

Pentium02 писал(а):
07.04.2007 17:36
Пересобрал систему, скажите плиз как тогда правильно поставить дрова под мою видюху (напомню на всякий случай Sapphire ATI Radeon x1600 512Mb) ну и иксы


попробуйте следующее

Код: Выделить всё

emerge ati-drivers
emerge xorg-x11

Иксы нужны без opensource radeon'ов


затем, как проэмержится,
попробуйте заюзать мой конфиг.

Или воспользуйтесь утилитой ati-config.
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

Сделал как вы сказали, эффект прикреплён
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение serzh-z »

А без fglrx иксы запускаются?

Предлагаю, упростить конфигурацию иксов - в частности отключить загрузку всех дополнительных модулей, таких как dbe, glx и прочих, и посмотреть на результат. Посмотреть в конфиге ядра значение параметра CONFIG_VM86.
Спасибо сказали:
Pentium02
Сообщения: 136
ОС: Debian lenny

Re: Решено: fglrx и Gentoo и xorg 7.1

Сообщение Pentium02 »

Всё, пересобрал ядро

Код: Выделить всё

Loadable Module Support --->
 [*] Enable loadable module support
 [*]   Module unloading

Processor type and features  --->
 [*] MTRR (Memory Type Range Register) support

Device Drivers --->
 Character Devices --->
  <M> /dev/agpgart (AGP Support)
  <M>   Your_AGP_Chipset_Here
  < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

 Graphics support --->
  < >  Support for framebuffer devices

Kernel Hacking --->
  [ ] Kernel debugging


И всё заработало, всем спасибо!
Hear this voice from deep inside
It's a call of your heart
Close your eyes and yo will find
Passage out of the dark
Спасибо сказали: