Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenGL -- запутался [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
dish
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 266
Location: Moscow, Russia

PostPosted: Sun May 15, 2005 8:35 pm    Post subject: OpenGL -- запутался [solved] Reply with quote

Всем привет!
Решил наконец-таки настроить графику на своем буке.
Делал по этой доке
Модулем вкомпилил ДРМ и дрова для своей видюхи (Intel 852G/855GM)
Вроде заработало, но ОЧЕНЬ медленно. GLMatrix около 8 FPS, Cube тормозит безбожно
Знакомые сказали, что так тормозить не должно.
Под виндами этот же Cube у меня летал на том же OpenGL.
glxinfo | grep rendering говорит direct rendering: No
Подскажите, плз, куда копать?

Ядро 2.6.11-gentoo-r8, xorg-6.8.2-r1

Заранее спасибо!
_________________
Contrary to popular belief, UNIX is user-friendly. It just happens to be very selective about who it decides to make friends with. A. Haiut.


Last edited by dish on Mon May 16, 2005 6:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Mon May 16, 2005 2:25 am    Post subject: Re: OpenGL -- запутался Reply with quote

А что говорит:

1) lspci | grep -i agp
2) cat /var/log/Xorg.0.log | grep EE
3) lsmod
4) cat /usr/src/linux/.config | grep -i agp
5) cat /usr/src/linux/.config | grep -i drm
6) ls /lib/modules/`uname -r`/куда_drm_ставит_непомню

Может поможет что анализ этого

opengl-config x11

вроде еще надо говорить
Back to top
View user's profile Send private message
dish
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 266
Location: Moscow, Russia

PostPosted: Mon May 16, 2005 11:35 am    Post subject: Reply with quote

lspci | grep -i agp не говорит ничего

cat /var/log/Xorg.0.log | grep EE
Code:
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.


lsmod
Code:
Module                  Size  Used by
ipw2100               147268  0
firmware_class          7936  1 ipw2100
ieee80211              37924  1 ipw2100
ieee80211_crypt         4808  2 ipw2100,ieee80211
snd_pcm_oss            49056  0
snd_mixer_oss          17920  1 snd_pcm_oss
snd_seq_oss            34944  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                51728  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7436  2 snd_seq_oss,snd_seq
snd_intel8x0           29632  0
snd_ac97_codec         75640  1 snd_intel8x0
snd_pcm                85128  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              22276  2 snd_seq,snd_pcm
snd                    48228  9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          7940  2 snd_intel8x0,snd_pcm


cat /usr/src/linux/.config | grep -i agp
Code:
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set


cat /usr/src/linux/.config | grep -i drm
Code:

CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set


ls -la /lib/modules/2.6.11-gentoo-r8/kernel/drivers/char/drm/
Code:
drwxr-xr-x  2 root root  4096 Май 14 15:58 .
drwxr-xr-x  3 root root  4096 Май 14 15:58 ..
-rw-r--r--  1 root root 76020 Май 14 15:58 drm.ko
-rw-r--r--  1 root root 25381 Май 14 15:58 i810.ko
-rw-r--r--  1 root root 31167 Май 14 15:58 i830.ko


opengl-config x11 говорит, что таких команд не знает
пробовал говорить opengl-update xorg-x11
Говорит, все Ок.
_________________
Contrary to popular belief, UNIX is user-friendly. It just happens to be very selective about who it decides to make friends with. A. Haiut.
Back to top
View user's profile Send private message
ManJak
Guru
Guru


Joined: 18 Dec 2004
Posts: 561
Location: St. Petersburg, Russia

PostPosted: Mon May 16, 2005 1:08 pm    Post subject: Reply with quote

Здается мне, что недогружен модуль:
agpgart
и
i810(30) какой там

Лучше попробовать modeprobe, и посмотреть, что пишет

в конфигах написанно 1:1?
Code:

Code Listing 3.2: xorg.conf
 
...
Section "Module"
  Load "dri"
  Load "glx"
  ...
EndSection
...
Section "Device"
  Driver "radeon"
  ...
EndSection
...
Section "dri"
  Mode 0666
EndSection


Если да, то, как я понял видяха-то интеловская, а не радеон
Back to top
View user's profile Send private message
dish
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 266
Location: Moscow, Russia

PostPosted: Mon May 16, 2005 4:50 pm    Post subject: Reply with quote

Quote:
в конфигах написанно 1:1?

В конфиге, соответственно, прописано для моей видюхи
driver "i810"

agpgart вроде как в ядро вкомпилен???
_________________
Contrary to popular belief, UNIX is user-friendly. It just happens to be very selective about who it decides to make friends with. A. Haiut.
Back to top
View user's profile Send private message
dish
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 266
Location: Moscow, Russia

PostPosted: Mon May 16, 2005 5:02 pm    Post subject: Reply with quote

Собственно попытки руками загрузить модуль i810 и/или drm и рестарт иКсов приводят к смерти системы.
Видимо, в моем посте тут это и было причиной.
Там (в старом посте) у меня drm и дрова были вкомпилены в ядро, а теперь я их сделал модулями и при их загрузке и последующем (ре)старте иКсов система умирает насовсем.
_________________
Contrary to popular belief, UNIX is user-friendly. It just happens to be very selective about who it decides to make friends with. A. Haiut.
Back to top
View user's profile Send private message
dish
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 266
Location: Moscow, Russia

PostPosted: Mon May 16, 2005 6:07 pm    Post subject: Reply with quote

Вычитал где-то в инете, что надо в ядре указывать не i830, а i915.
Пересобрал ядро с новой опцией -- все заработало.

Всем спасибо!
_________________
Contrary to popular belief, UNIX is user-friendly. It just happens to be very selective about who it decides to make friends with. A. Haiut.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum