Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Тормозной Xorg (или тормозной я?)
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
point212
n00b
n00b


Joined: 07 Jun 2005
Posts: 18
Location: Volgodonsk

PostPosted: Sun Jun 12, 2005 10:21 am    Post subject: Тормозной Xorg (или тормозной я?) Reply with quote

Поставил Xorg 6.8.0
Запустил. (конфиг ниже).

Поставил игрушку SuperTux. Что-то вроде Марио. Графика - даже на 386 под ДОСом подобные игры лётали. Да и на Спектруме :)
А здесь, просто кошмар. 3-4 fps.

Почему?
Может я неправильно иксы настроил?

И еще: есть такая штука, xcompmgr, transset. В общем тени красивые рисует, прозрачность делает в Xorg. Тормозят тоже зверски.
----------------------------------------------
Тут данные:
AMD Athlon (Thunderbird) 1000 / 512Mb RAM DIMM / M/b KT133/ GeForce2MX400 65Mb

Конфиг иксов (не весь):

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection


Section "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 82.0
VertRefresh 50.0 - 100.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nv"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Sun Jun 12, 2005 10:59 am    Post subject: Reply with quote

Code:
Section "Device"
Identifier "Card0"
Driver "nv"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection

Дрова от nvidia стоят? Если нет, то ставь, если стоят то смени:
Code:
Driver "nv"

на:
Code:
Driver "nvidia"

_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
point212
n00b
n00b


Joined: 07 Jun 2005
Posts: 18
Location: Volgodonsk

PostPosted: Sun Jun 12, 2005 11:40 am    Post subject: Reply with quote

serg_sk wrote:
Code:
Section "Device"
Identifier "Card0"
Driver "nv"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection

Дрова от nvidia стоят? Если нет, то ставь, если стоят то смени:
Code:
Driver "nv"

на:
Code:
Driver "nvidia"

Заменил. Вроде как скорость прорисовки в X выросла.
Но игры вообще перестали запускаться :(


Вот что выдает supertux:
bash-2.05b# /usr/games/bin/supertux
Datadir: /usr/share/games/supertux
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

Warning: I could not set up fullscreen video for 640x480 mode.
The Simple DirectMedia error that occured was:
Couldn't find matching GLX visual

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

А вот, TORCS:
bash-2.05b# ./torcs
GLUT: Fatal Error in torcs-bin: OpenGL GLX extension not supported by display: :0.0

А вот FlightGEAR:
bash-2.05b# ./fgfs
GLUT: Fatal Error in fgfs: OpenGL GLX extension not supported by display: :0.0


Не могу понять, что ему не нравиться. Ведь glx загружается ?
:(
Back to top
View user's profile Send private message
SFx.M0D8
n00b
n00b


Joined: 20 Apr 2005
Posts: 11

PostPosted: Sun Jun 12, 2005 12:21 pm    Post subject: Reply with quote

emerge nvidia-glx
opengl-update nvidia
так делал?
Back to top
View user's profile Send private message
point212
n00b
n00b


Joined: 07 Jun 2005
Posts: 18
Location: Volgodonsk

PostPosted: Sun Jun 12, 2005 6:46 pm    Post subject: Reply with quote

SFx.M0D8 wrote:
emerge nvidia-glx
opengl-update nvidia
так делал?


Да. Сделал. А что, не надо было? :)
Back to top
View user's profile Send private message
SFx.M0D8
n00b
n00b


Joined: 20 Apr 2005
Posts: 11

PostPosted: Mon Jun 13, 2005 4:58 am    Post subject: Reply with quote

Code:
Section "Device"
    Identifier  "NV AGP"
    Driver      "nvidia"
    VendorName "nvidia"
    Option "IgnoreDisplayDevices" "TV"
    BusID "PCI:1:0:0"
    VideoRam    131072
EndSection

Section "Device"
    Identifier "NV AGP TwinView"
    VendorName "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "TwinView"
    Option "SecondMonitorHorizSync"   "31-82"
    Option "SecondMonitorVertRefresh" "55-120"
    Option "TwinViewOrientation"      "RightOf"
    Option "MetaModes"                "1280x1024,1280x1024; 1024x768,1024x768"
    Option "ConnectedMonitor"         "crt,crt"
EndSection


попробуй еще так.
Back to top
View user's profile Send private message
doonkel
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 202

PostPosted: Mon Jun 13, 2005 7:24 am    Post subject: Reply with quote

Закомментируй загрузку dri
в Section "Module"
Back to top
View user's profile Send private message
point212
n00b
n00b


Joined: 07 Jun 2005
Posts: 18
Location: Volgodonsk

PostPosted: Mon Jun 13, 2005 9:19 pm    Post subject: Reply with quote

doonkel wrote:
Закомментируй загрузку dri
в Section "Module"


Не помогло.
Back to top
View user's profile Send private message
ManJak
Guru
Guru


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

PostPosted: Tue Jun 14, 2005 5:11 am    Post subject: Reply with quote

А с "фирменными" дровами работало?
Back to top
View user's profile Send private message
doonkel
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 202

PostPosted: Tue Jun 14, 2005 6:37 am    Post subject: Reply with quote

Я бы попрбовал так (что бы локализовать проблему)
1. Закомментировал в Xorg.conf все, что относится к composite, рестартовал X-ы и посмотрел $glxgears
2.#USE="nptl" emerge glibc
$glxgears
Сравнил результаты.
3.Для полноты картины представил вывод lspci, emerge-info,xorg.conf
4.После получения приемлемых значений glxgears, разбирался с игрушками.
Back to top
View user's profile Send private message
Wanderer_MG
n00b
n00b


Joined: 25 Oct 2004
Posts: 3

PostPosted: Fri Jun 17, 2005 12:54 pm    Post subject: Re: Тормозной Xorg (или тормозной я?) Reply with quote

point212 wrote:

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection


Удали или закоментируй эти строки. С ними будут тени и прозрачность в X.org, но не будет поддержки OpenGL, без них, соответственно, наоборот. Дрова при этом, конечно, от nVidia должны быть.
Back to top
View user's profile Send private message
v12aml
n00b
n00b


Joined: 04 Feb 2005
Posts: 23

PostPosted: Fri Jun 17, 2005 12:56 pm    Post subject: Reply with quote

Будет с ними oGL, но только на новых дровах
_________________
GNU/Wonderland -- GNU/óÔÒÁÎÁ ÞÕÄÅÓ, ÓÔÒÁÎÁ, × ËÏÔÏÒÏÊ ×Ù ÞÁÓÔÏ ÂÙ×ÁÅÔÅ, ÎÏ, × ËÏÔÏÒÕÀ, ÞÔÏ ÐÒÉÍÅÞÁÔÅÌØÎÏ, ÎÅ ÎÁÄÏ ÏÆÏÒÍÌÑÔØ ×ÉÚÕ.
Back to top
View user's profile Send private message
dish
Apprentice
Apprentice


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

PostPosted: Fri Jun 17, 2005 7:26 pm    Post subject: Reply with quote

Насчет dri я не совсем понял:

а в xorg.conf есть следующие строки?

Code:
Section "dri"
    Mode 0666
EndSection


З.Ы. Раскомментируй загрузку dri в секции Modules :)
_________________
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
doonkel
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 202

PostPosted: Sat Jun 18, 2005 6:31 am    Post subject: Reply with quote

dish писал(а)
Какие то Вы странные советы даете. Наверное, Вы никогда с Nvidia не работали.
Back to top
View user's profile Send private message
dish
Apprentice
Apprentice


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

PostPosted: Sat Jun 18, 2005 6:37 am    Post subject: Reply with quote

Работал, только не очень много и достаточно давно. С тех пор ничего на тех машинах не обновлял :)

Простите, если налажал :oops:
_________________
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
point212
n00b
n00b


Joined: 07 Jun 2005
Posts: 18
Location: Volgodonsk

PostPosted: Sat Jun 18, 2005 8:14 pm    Post subject: Reply with quote

dish wrote:
Работал, только не очень много и достаточно давно. С тех пор ничего на тех машинах не обновлял :)

Простите, если налажал :oops:


Ребята. Во всем геморе виноват я сам.

"Голова рукам покоя не дает". Почитал статью про включение прозрачности в Xorg. Включил. Лучше не стало (при включенной тормоза жуткие).

Для ускорения советуют поменять два параметра. Точнее добавить в описание видеоустройства:
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

Добавил. Тоже быстрее на стало. Ну я и отключил прозрачность. Точнее думал, что отключил. Закомментировал вышеприведенный строки. :)

Т.е. прозрачность осталась, а AllowGLXWithComposite = false :)

Вот и не шли у меня OGL-игрушки.


Раскомментировал. Всё летает :) Я рад.
Спасибо всем за беспокойство!
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