Opengl на Integrated Graphics Controller
Модератор: Модераторы разделов
-
- Сообщения: 436
- ОС: Gentoo 2008.0
Opengl на Integrated Graphics Controller
Не подскажите как включить opengl на втроенном графическом адаптере, через lspci он виден как VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02).
GNU/Linux forever! [Gentoo 2008.0]
-
- Сообщения: 3339
- ОС: Slackware 12.2, ArchLinux 64
Re: Opengl на Integrated Graphics Controller
-
- Сообщения: 436
- ОС: Gentoo 2008.0
Re: Opengl на Integrated Graphics Controller
Скачал последние дрова с оф сайта (не ожидал что они там есть) при попытке установить:
Compiling new agpgart module...
ERROR: AGPGART module did not compile
Compiling DRM module...
ERROR: Kernel modules did not compile
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
dri.log
Compiling new agpgart module...
ERROR: AGPGART module did not compile
Compiling DRM module...
ERROR: Kernel modules did not compile
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
dri.log
Код: Выделить всё
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/kta/Desktop/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686'
CC [M] /home/kta/Desktop/dripkg/agpgart-2.0/backend.o
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:69: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:105: error: previous declaration of ‘agp_backend_acquire’ was here
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:77: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:105: error: previous declaration of ‘agp_backend_acquire’ was here
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:89: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:106: error: previous declaration of ‘agp_backend_release’ was here
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:93: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:106: error: previous declaration of ‘agp_backend_release’ was here
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’:
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:281: warning: implicit declaration of function ‘inter_module_register’
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:281: error: ‘drm_agp’ undeclared (first use in this function)
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:281: error: (Each undeclared identifier is reported only once
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:281: error: for each function it appears in.)
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’:
/home/kta/Desktop/dripkg/agpgart-2.0/backend.c:301: warning: implicit declaration of function ‘inter_module_unregister’
make[2]: *** [/home/kta/Desktop/dripkg/agpgart-2.0/backend.o] Ошибка 1
make[1]: *** [_module_/home/kta/Desktop/dripkg/agpgart-2.0] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686'
make: *** [default] Ошибка 2
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/home/kta/Desktop/dripkg/drm'
+ ln -s Makefile.linux Makefile
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-4-686'
rm: невозможно удалить `/home/kta/Desktop/dripkg/drm/.tmp_versions/CVS': Is a directory
make[2]: *** [crmodverdir] Ошибка 1
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686'
make[1]: *** [modules] Ошибка 2
make[1]: Leaving directory `/home/kta/Desktop/dripkg/drm'
make: *** [gdg.ko] Ошибка 2
GNU/Linux forever! [Gentoo 2008.0]
-
- Сообщения: 2250
Re: Opengl на Integrated Graphics Controller
А что - не работает?
Код: Выделить всё
Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection
-
- Сообщения: 126
- Статус: The One
- ОС: Debian Wheezy
Re: Opengl на Integrated Graphics Controller
"DRI драйвера не могут быть установлены без последних ядерных модулей" Это просто дословный перевод

Дальше. Проверяли, есть ли у Вас вообще следующая папка: /usr/src/linux-headers-2.6.18-4-686?
Судя по сообщениям в dri.log можно попробовать установить пакет с исходниками и заголовочными файлами ядра, если ядро стоит "умолчательное" и не пересобиралось. Возможно, есть смысл скомпилировать новое ядро, которое, скорее всего, содержит драйвер Вашей видеокарты. Это то, что можно посоветовать навскидку. Ждем дальнейших уточнений

Registered Linux user number 448029
А ты зарегистрировался? -> http://counter.li.org/ ;)
А ты зарегистрировался? -> http://counter.li.org/ ;)
-
- Сообщения: 436
- ОС: Gentoo 2008.0
Re: Opengl на Integrated Graphics Controller
Выставил драйвер i810 - DirectRendering включился. Хотел бы спросить: чем этот драйвер отличается от родного с интеловского сайта? В частности - будет ли прирост fps если поставить родной драйвер?
ps машина слабая - и ядро на ней будет собираться весь день, а другой свободной машины под рукой нет, по сему пересобирать очень не хочится.
ps машина слабая - и ядро на ней будет собираться весь день, а другой свободной машины под рукой нет, по сему пересобирать очень не хочится.
GNU/Linux forever! [Gentoo 2008.0]