ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.
@ 2006-03-04 20:18 Fiodor Sorex
  2006-03-04 20:43 ` Konstantin A. Lepikhov
  2006-03-04 20:46 ` Sergey Vlasov
  0 siblings, 2 replies; 6+ messages in thread
From: Fiodor Sorex @ 2006-03-04 20:18 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]

Добрый день!

Уже где-то с полгода периодически вылавливаю поддержку 3D на текущем 
Сизифе. Так чтобы всегда она была не получается.

Появляется только если (пере)обновить иксы, или какую-то часть, 
причастную к 3D например libdrm. После перезагрузки все слетает. Где 
смотреть?

Подробнее:

Вот сейчас сделал:

# apt-get install --reinstall 
kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5

И получил:

$ glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2

Ура! Все игры запускаются как положено.

НО! Стоит только перезагрузить компьютер, и получаем:

$ glxinfo 
name of display: :0.0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2



Как бы закрепить эффект указанный выше? :)

Имеем:

kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5
libdrm-2.0-alt3
libmesa-6.4.2-alt1
xorg-x11-extensions-dri-1.0.1-alt12
xorg-x11-dri-ati-6.4.2-alt1
xorg-x11-mesagl-7.0.0-alt9

ядро 2.6.14-std26-up-alt5

xorg.conf в аттаче

карта ATI Technologies Inc RV280 [Radeon 9200 SE]

В логах ничего значимого.

Может что-то ещё посмотреть где-то?

-- 
Федор Сорекс, http://www.linuxrsp.ru
http://moscow.lug.ru

[-- Attachment #2: xorg.conf --]
[-- Type: text/plain, Size: 7117 bytes --]


# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

Section "Files"

    RgbPath	"/usr/share/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath   "unix/:-1"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
#    Driver      "kbd"
    Driver 	"kbd"
    Option "AutoRepeat"  "250 30"

    Option "XkbModel" "pc105"
    Option "XkbVariant" ",winkeys" ###,,,
    Option "XkbLayout" "us,ru"
    ###"us,ru"
    Option "XkbOptions"  "grp:ctrl_shift_toggle"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
#    Option "Device"      "/dev/mouse"
    Option "Device"      "/dev/input/mice"
    Option "Emulate3Buttons" "no"
    Option "Buttons"	"5"
    Option "ZAxisMapping" "4 5"
    
    Option "Resolution" "200"
    
# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


Section "Module"

# This loads the DBE extension module.

    Load	"dbe"

# This loads the Video for Linux module.
#    Load        "v4l"


    Load  	"glx"
#    Load	"drm"
    Load 	"GLcore"
    Load	"dri"
    Load 	"extmod"
#    Load 	"fglrx"
#    Load  	"glx"


# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

    SubSection	"extmod"
	#Option	"omit xfree86-dga"
    EndSubSection

# This loads the Type1 and FreeType font modules

    Load	"type1"
    Load	"freetype"
EndSection


Section "DRI"
    Mode	0666
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "monitor1"
#    VendorName "Unknown"
#    ModelName  "Unknown"
    VendorName "SONY"
    ModelName  "CPD-E230"

    DisplaySize 328 245

# 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-85


# 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.
    VertRefresh 48-170


# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
#ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

# 768x576 @ 79 Hz, 50 kHz hsync
#ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
# 768x576 @ 100 Hz, 61.6 kHz hsync
#ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616

# from asp 7.3
#1024x768 @ 100.0 Hz, 80.2 kHz hsync
	Modeline	"1024x768"	115.5  1024 1056 1248 1440  768  771  781  802 -HSync -VSync
#800x600 @ 100.0 Hz, 64.0 kHz hsync
	Modeline	"800x600"	69.65  800  864  928 1088   600  604  610  640 -HSync -VSync
#640x480 @ 100.0 Hz, 53.0 kHz hsync
	Modeline	"640x480"	45.8   640  672  768  864   480  488  494  530 -HSync -VSync


EndSection



# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "ATI Radeon"
    
#    Identifier  "Radeon 9200SE"
#	Option "no_accel" "no"
#	Option "no_dri" "no"
#	Driver "fglrx"

    VendorName  "Unknown"
    BoardName   "Unknown"
#    Driver	"ati"
    Driver      "ati"
#--    Driver 	"ati"
#    VideoRam    65536
    # Clock lines


    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    #    Option      "sw_cursor"

    Option      "AGPMode"  "4"
    Option      "DPMS"  "on"
EndSection



# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier "screen1"
    Device      "ATI Radeon"
    Monitor     "monitor1"
    DefaultColorDepth 24
    Option "Accel"
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    Screen     "screen1"

    InputDevice "Mouse1" "CorePointer"

    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.
  2006-03-04 20:18 [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно Fiodor Sorex
@ 2006-03-04 20:43 ` Konstantin A. Lepikhov
  2006-03-06 20:14   ` Fiodor Sorex
  2006-03-04 20:46 ` Sergey Vlasov
  1 sibling, 1 reply; 6+ messages in thread
From: Konstantin A. Lepikhov @ 2006-03-04 20:43 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

Hi Fiodor!

Saturday 04, at 11:18:21 PM you wrote:

>     Load  	"glx"
> #    Load	"drm"
>     Load 	"GLcore"
>     Load	"dri"
По-логике, правильный вариант такой:
       Load        "glx"
       Load        "dri"
- все остальное загрузится само.

Также проверьте, что у вас выдает команда LIBGL_DEBUG=verbose glxinfo
(кажется, эта команда скоро станет синонимом RTFM :) 

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis@jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis@pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 1495 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.
  2006-03-04 20:18 [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно Fiodor Sorex
  2006-03-04 20:43 ` Konstantin A. Lepikhov
@ 2006-03-04 20:46 ` Sergey Vlasov
  2006-03-06 20:12   ` Fiodor Sorex
  1 sibling, 1 reply; 6+ messages in thread
From: Sergey Vlasov @ 2006-03-04 20:46 UTC (permalink / raw)
  To: sorex, ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 2062 bytes --]

On Sat, Mar 04, 2006 at 11:18:21PM +0300, Fiodor Sorex wrote:
> Уже где-то с полгода периодически вылавливаю поддержку 3D на текущем 
> Сизифе. Так чтобы всегда она была не получается.
> 
> Появляется только если (пере)обновить иксы, или какую-то часть, 
> причастную к 3D например libdrm. После перезагрузки все слетает. Где 
> смотреть?
> 
> Подробнее:
> 
> Вот сейчас сделал:
> 
> # apt-get install --reinstall 
> kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5

Это само по себе не может дать такой эффект.  Возможно, дело в том,
что после этого был выполнен перезапуск X или что-то подобное.

> И получил:
> 
> $ glxinfo 
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: Yes
> server glx vendor string: SGI
> server glx version string: 1.2
> 
> Ура! Все игры запускаются как положено.
> 
> НО! Стоит только перезагрузить компьютер, и получаем:
> 
> $ glxinfo 
> name of display: :0.0
> libGL error: open DRM failed (Operation not permitted)

Что при этом говорит ls -la /dev/dri/ ?

> Section "Module"
> 
> # This loads the DBE extension module.
> 
>     Load	"dbe"
> 
> # This loads the Video for Linux module.
> #    Load        "v4l"
> 
> 
>     Load  	"glx"
> #    Load	"drm"
>     Load 	"GLcore"

GLcore вроде бы явно грузить не нужно.

>     Load	"dri"
>     Load 	"extmod"
> #    Load 	"fglrx"
> #    Load  	"glx"
> 
> 
> # This loads the miscellaneous extensions module, and disables
> # initialisation of the XFree86-DGA extension within that module.
> 
>     SubSection	"extmod"
> 	#Option	"omit xfree86-dga"
>     EndSubSection

Это то же самое, что Load "extmod" выше.

> 
> # This loads the Type1 and FreeType font modules
> 
>     Load	"type1"
>     Load	"freetype"
> EndSection
> 
> 
> Section "DRI"
>     Mode	0666
> EndSection

А вот эта секция сейчас, похоже, молча игнорируется - по крайней мере,
у меня при таком же 0666 фактически для /dev/dri/card0 ставятся права
0600, vsu:xgrp.  Вероятно, нужно копать в сторону pam_console.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.
  2006-03-04 20:46 ` Sergey Vlasov
@ 2006-03-06 20:12   ` Fiodor Sorex
  2006-03-09 20:02     ` Fiodor Sorex
  0 siblings, 1 reply; 6+ messages in thread
From: Fiodor Sorex @ 2006-03-06 20:12 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

4 марта 2006 23:46, Sergey Vlasov пишет:
> On Sat, Mar 04, 2006 at 11:18:21PM +0300, Fiodor Sorex wrote:
> > Уже где-то с полгода периодически вылавливаю поддержку 3D на
> > текущем Сизифе. Так чтобы всегда она была не получается.
> >
> > Появляется только если (пере)обновить иксы, или какую-то часть,
> > причастную к 3D например libdrm. После перезагрузки все слетает.
> > Где смотреть?
> >
> > Подробнее:
> >
> > Вот сейчас сделал:
> >
> > # apt-get install --reinstall
> > kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5
>
> Это само по себе не может дать такой эффект.  Возможно, дело в том,
> что после этого был выполнен перезапуск X или что-то подобное.

Обычно да, но в тот раз просто запускал/вюключил иксы с другой консоли.


>
> > И получил:
> >
> > $ glxinfo
> > name of display: :0.0
> > display: :0  screen: 0
> > direct rendering: Yes
> > server glx vendor string: SGI
> > server glx version string: 1.2
> >
> > Ура! Все игры запускаются как положено.
> >
> > НО! Стоит только перезагрузить компьютер, и получаем:
> >
> > $ glxinfo
> > name of display: :0.0
> > libGL error: open DRM failed (Operation not permitted)
>
> Что при этом говорит ls -la /dev/dri/ ?

Ага! Вот что:

$  ls -la /dev/dri/
итого 0
drwxr-xr-x  2 root root     60 Мар  6 21:40 .
drwxr-xr-x 22 root root   7940 Мар  6 21:40 ..
crw-rw----  1 root xgrp 226, 0 Мар  6 21:40 card0



> >     Load 	"GLcore"
>
> GLcore вроде бы явно грузить не нужно.
>
> Это то же самое, что Load "extmod" выше.

убрал


> > Section "DRI"
> >     Mode	0666
> > EndSection
>
> А вот эта секция сейчас, похоже, молча игнорируется - по крайней
> мере, у меня при таком же 0666 фактически для /dev/dri/card0 ставятся
> права 0600, vsu:xgrp.  Вероятно, нужно копать в сторону pam_console.

Похоже именно оно. Ибо 0660 root:xgrp

А что (где конкретно) смотреть в pam_console?


-- 
Федор Сорекс, http://www.linuxrsp.ru
http://moscow.lug.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.
  2006-03-04 20:43 ` Konstantin A. Lepikhov
@ 2006-03-06 20:14   ` Fiodor Sorex
  0 siblings, 0 replies; 6+ messages in thread
From: Fiodor Sorex @ 2006-03-06 20:14 UTC (permalink / raw)
  To: sisyphus

4 марта 2006 23:43, Konstantin A. Lepikhov пишет:
> Hi Fiodor!
>
> Saturday 04, at 11:18:21 PM you wrote:
> >     Load  	"glx"
> > #    Load	"drm"
> >     Load 	"GLcore"
> >     Load	"dri"
>
> По-логике, правильный вариант такой:
>        Load        "glx"
>        Load        "dri"
> - все остальное загрузится само.

Так и оставил.

>
> Также проверьте, что у вас выдает команда LIBGL_DEBUG=verbose glxinfo
> (кажется, эта команда скоро станет синонимом RTFM :)

Даже не знал про такое :)

$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/lib/X11/modules/dri/r200_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Permission denied)
drmOpenDevice: open result is -1, (Permission denied)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -13
drmOpenDevice: node name is /dev/dri/card1
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: node name is /dev/dri/card2
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: node name is /dev/dri/card3
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: node name is /dev/dri/card4
drmOpenByBusid: drmOpenMinor returns -1003
....и т.д. до 14...
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2

Ну теперь вижу почему:

$  ls -la /dev/dri/
итого 0
drwxr-xr-x  2 root root     60 Мар  6 22:58 .
drwxr-xr-x 22 root root   7940 Мар  6 22:58 ..
crw-rw----  1 root xgrp 226, 0 Мар  6 22:58 card0


-- 
Федор Сорекс, http://www.linuxrsp.ru
http://moscow.lug.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно.
  2006-03-06 20:12   ` Fiodor Sorex
@ 2006-03-09 20:02     ` Fiodor Sorex
  0 siblings, 0 replies; 6+ messages in thread
From: Fiodor Sorex @ 2006-03-09 20:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

6 марта 2006 23:12, Fiodor Sorex пишет:
> 4 марта 2006 23:46, Sergey Vlasov пишет:
> > On Sat, Mar 04, 2006 at 11:18:21PM +0300, Fiodor Sorex wrote:
> > > Уже где-то с полгода периодически вылавливаю поддержку 3D на
> > > текущем Сизифе. Так чтобы всегда она была не получается.
> > >
> > > Появляется только если (пере)обновить иксы, или какую-то часть,
> > > причастную к 3D например libdrm. После перезагрузки все слетает.
> > > Где смотреть?
> > >
> > > Подробнее:
> > >
> > > Вот сейчас сделал:
> > >
> > > # apt-get install --reinstall
> > > kernel-modules-drm-std26-up#2006.02.23-alt1.132622.5
...
> > > $ glxinfo
> > > name of display: :0.0
> > > libGL error: open DRM failed (Operation not permitted)
> >
> > Что при этом говорит ls -la /dev/dri/ ?
>
> Ага! Вот что:
>
> $  ls -la /dev/dri/
> итого 0
> drwxr-xr-x  2 root root     60 Мар  6 21:40 .
> drwxr-xr-x 22 root root   7940 Мар  6 21:40 ..
> crw-rw----  1 root xgrp 226, 0 Мар  6 21:40 card0
...
> > > Section "DRI"
> > >     Mode	0666
> > > EndSection
> >
> > А вот эта секция сейчас, похоже, молча игнорируется - по крайней
> > мере, у меня при таком же 0666 фактически для /dev/dri/card0
> > ставятся права 0600, vsu:xgrp.  Вероятно, нужно копать в сторону
> > pam_console.
>
> Похоже именно оно. Ибо 0660 root:xgrp
>
> А что (где конкретно) смотреть в pam_console?

Так где же все таки посмотреть?

/etc/security/console.apps/xserver

пусто

в
$ cat /etc/pam.d/xserver 
#%PAM-1.0
auth     sufficient     pam_rootok.so
auth     required       pam_console.so
account  required       pam_permit.so


Вообще, система апгрейдилась с 2002 года, так что где-то мог остаться 
некий рудимент :)

-- 
Федор Сорекс, http://www.linuxrsp.ru
http://moscow.lug.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-09 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-04 20:18 [sisyphus] Ловля 3D на Xorg 7.0 и Radeon 9200 :) Иногда удачно Fiodor Sorex
2006-03-04 20:43 ` Konstantin A. Lepikhov
2006-03-06 20:14   ` Fiodor Sorex
2006-03-04 20:46 ` Sergey Vlasov
2006-03-06 20:12   ` Fiodor Sorex
2006-03-09 20:02     ` Fiodor Sorex

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git