ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] fglrx_dri.so
@ 2007-07-14 22:14 Alexey Rusakov
  2007-07-19 20:51 ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Rusakov @ 2007-07-14 22:14 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Доброго времени суток.

У меня продолжаются злоключения с OpenGL. Я перешёл на драйвер fglrx
(потому что с открытым, как я недавно писал, у меня при загрузке GNOME
валятся иксы), и вот моя история:

$ glxinfo | grep 'direct rendering'
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
$ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/X11/modules/dri/tls/fglrx_dri.so
libGL: OpenDriver: trying /usr/lib/X11/modules/dri/fglrx_dri.so
libGL error: dlopen /usr/lib/X11/modules/dri/fglrx_dri.so failed (/usr/lib/X11/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: fglrx_dri.so
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

Как интересно, думаю я.

$ ls /usr/lib/X11/modules/dri/
i810_dri.so     i965_dri.so    r128_dri.so  radeon_dri.so  tdfx_dri.so
i915_dri.so     mach64_dri.so  r200_dri.so  savage_dri.so  unichrome_dri.so
i915tex_dri.so  mga_dri.so     r300_dri.so  sis_dri.so

Гм.

$ rpm -ql fglrx_glx | grep dri
/usr/X11R6/lib/modules/dri/fglrx_dri.so

Ах вот оно что. Было бы неплохо симлинк в нужное место тогда
кинуть (https://bugzilla.altlinux.org/show_bug.cgi?id=12335). Создадим его
пока ручками.

# ln -s /usr/X11R6/lib/modules/dri/fglrx_dri.so /usr/lib/X11/modules/dri/

Снова пробуем.

$ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/X11/modules/dri/tls/fglrx_dri.so
libGL: OpenDriver: trying /usr/lib/X11/modules/dri/fglrx_dri.so
libGL error: dlopen /usr/lib/X11/modules/dri/fglrx_dri.so failed (/usr/lib/X11/modules/dri/fglrx_dri.so: undefined symbol: __glXFindDRIScreen)
libGL error: unable to load driver: fglrx_dri.so
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

Библиотека нашлась, но не нашлись нужные символы. Внимание, вопрос: это
только у меня так что-то разломано? Если да, подскажите, что именно.

-- 
  Alexey "Ktirf" Rusakov
  GNOME Project
  ALT Linux Team


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

* Re: [sisyphus] fglrx_dri.so
  2007-07-14 22:14 [sisyphus] fglrx_dri.so Alexey Rusakov
@ 2007-07-19 20:51 ` Konstantin A. Lepikhov
  2007-07-20  8:39   ` Alexey Rusakov
  2007-07-24  7:15   ` Sergey Lebedev
  0 siblings, 2 replies; 8+ messages in thread
From: Konstantin A. Lepikhov @ 2007-07-19 20:51 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi Alexey!

Sunday 15, at 02:14:48 AM you wrote:

> Доброго времени суток.
> 
> У меня продолжаются злоключения с OpenGL. Я перешёл на драйвер fglrx
> (потому что с открытым, как я недавно писал, у меня при загрузке GNOME
> валятся иксы), и вот моя история:
> 
> $ glxinfo | grep 'direct rendering'
> direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
> $ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
> libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> libGL: OpenDriver: trying /usr/lib/X11/modules/dri/tls/fglrx_dri.so
> libGL: OpenDriver: trying /usr/lib/X11/modules/dri/fglrx_dri.so
> libGL error: dlopen /usr/lib/X11/modules/dri/fglrx_dri.so failed (/usr/lib/X11/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
> libGL error: unable to load driver: fglrx_dri.so
> direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
> 
> Как интересно, думаю я.
[lakostis@lks ~]$ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
Can't open configuration file /etc/drirc: No such file or directory.
direct rendering: Yes

[lakostis@lks ~]$ rpm -qa|egrep "fglrx|libmesa"
libmesa-devel-7.0-alt1
kernel-modules-fglrx-ovz-smp-1.0.8.38.6-alt1.132626.14
fglrx_glx-8.38.6-alt1
kernel-modules-fglrx-std-smp-1.0.8.37.3-alt0.1.132626.6
libmesa-7.0-alt1
fglrx-tools-8.38.6-alt1

[lakostis@lks ~]$ l ../../etc/X11/lib/libGL.so.1
lrwxrwxrwx 1 root root 29   3 23:40 ../../etc/X11/lib/libGL.so.1 ->
/usr/lib/X11/fglrx/libGL.so.1

а у вас?

-- 
WBR et al.


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

* Re: [sisyphus] fglrx_dri.so
  2007-07-19 20:51 ` Konstantin A. Lepikhov
@ 2007-07-20  8:39   ` Alexey Rusakov
  2007-07-20 10:21     ` Alexey Rusakov
  2007-07-24  7:15   ` Sergey Lebedev
  1 sibling, 1 reply; 8+ messages in thread
From: Alexey Rusakov @ 2007-07-20  8:39 UTC (permalink / raw)
  To: sisyphus

On Fri, 20 Jul 2007 00:51:54 +0400
Konstantin A. Lepikhov wrote:

> Hi Alexey!
> 
> Sunday 15, at 02:14:48 AM you wrote:
> 
> > Доброго времени суток.
> > 
> > У меня продолжаются злоключения с OpenGL. Я перешёл на драйвер fglrx
> > (потому что с открытым, как я недавно писал, у меня при загрузке GNOME
> > валятся иксы), и вот моя история:
> > 
> > $ glxinfo | grep 'direct rendering'
> > direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
> > $ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
> > libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> > libGL: OpenDriver: trying /usr/lib/X11/modules/dri/tls/fglrx_dri.so
> > libGL: OpenDriver: trying /usr/lib/X11/modules/dri/fglrx_dri.so
> > libGL error: dlopen /usr/lib/X11/modules/dri/fglrx_dri.so failed (/usr/lib/X11/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
> > libGL error: unable to load driver: fglrx_dri.so
> > direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
> > 
> > Как интересно, думаю я.
> [lakostis@lks ~]$ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
> libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
> libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> drmOpenByBusid: busid is PCI:1:0:0
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 4, (OK)
> drmOpenByBusid: drmOpenMinor returns 4
> drmOpenByBusid: drmGetBusid reports PCI:1:0:0
> Can't open configuration file /etc/drirc: No such file or directory.
> direct rendering: Yes
> 
> [lakostis@lks ~]$ rpm -qa|egrep "fglrx|libmesa"
> libmesa-devel-7.0-alt1
> kernel-modules-fglrx-ovz-smp-1.0.8.38.6-alt1.132626.14
> fglrx_glx-8.38.6-alt1
> kernel-modules-fglrx-std-smp-1.0.8.37.3-alt0.1.132626.6
> libmesa-7.0-alt1
> fglrx-tools-8.38.6-alt1
> 
> [lakostis@lks ~]$ l ../../etc/X11/lib/libGL.so.1
> lrwxrwxrwx 1 root root 29   3 23:40 ../../etc/X11/lib/libGL.so.1 ->
> /usr/lib/X11/fglrx/libGL.so.1
> 
> а у вас?
$ rpm -qa | egrep "fglrx|libmesa"
kernel-modules-fglrx-wks-smp-1.0.8.38.6-alt1.132626.2
libmesa-7.0-alt3
kernel-modules-fglrx-std-smp-1.0.8.38.6-alt1.132626.6
fglrx_glx-8.38.6-alt1
fglrx-tools-8.38.6-alt1
$ ls -l /etc/X11/lib/libGL.so.1 
lrwxrwxrwx 1 root root 41 Jul 20 12:18 /etc/X11/lib/libGL.so.1 -> ../../../usr/lib/X11/mesa_gl/libGL.so.1.2
$ 

И кто занимается выставлением этого симлинка?


-- 
  Alexey "Ktirf" Rusakov
  GNOME Project
  ALT Linux Team


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

* Re: [sisyphus] fglrx_dri.so
  2007-07-20  8:39   ` Alexey Rusakov
@ 2007-07-20 10:21     ` Alexey Rusakov
  2007-07-20 11:58       ` Andrii Dobrovol`s`kii
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Rusakov @ 2007-07-20 10:21 UTC (permalink / raw)
  To: sisyphus

On Fri, 20 Jul 2007 12:39:17 +0400
Alexey Rusakov wrote:

> On Fri, 20 Jul 2007 00:51:54 +0400
> Konstantin A. Lepikhov wrote:
> 
> > Hi Alexey!
> > 
> > Sunday 15, at 02:14:48 AM you wrote:
> > 
> > > Доброго времени суток.
> > > 
> > > У меня продолжаются злоключения с OpenGL. Я перешёл на драйвер fglrx
> > > (потому что с открытым, как я недавно писал, у меня при загрузке GNOME
> > > валятся иксы), и вот моя история:
> > > 
> > > $ glxinfo | grep 'direct rendering'
> > > direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
> > > $ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
> > > libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> > > libGL: OpenDriver: trying /usr/lib/X11/modules/dri/tls/fglrx_dri.so
> > > libGL: OpenDriver: trying /usr/lib/X11/modules/dri/fglrx_dri.so
> > > libGL error: dlopen /usr/lib/X11/modules/dri/fglrx_dri.so failed (/usr/lib/X11/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
> > > libGL error: unable to load driver: fglrx_dri.so
> > > direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
> > > 
> > > Как интересно, думаю я.
> > [lakostis@lks ~]$ LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
> > libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> > libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
> > libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
> > drmOpenByBusid: busid is PCI:1:0:0
> > drmOpenDevice: minor is 0
> > drmOpenDevice: node name is /dev/dri/card0
> > drmOpenDevice: open result is 4, (OK)
> > drmOpenByBusid: drmOpenMinor returns 4
> > drmOpenByBusid: drmGetBusid reports PCI:1:0:0
> > Can't open configuration file /etc/drirc: No such file or directory.
> > direct rendering: Yes
> > 
> > [lakostis@lks ~]$ rpm -qa|egrep "fglrx|libmesa"
> > libmesa-devel-7.0-alt1
> > kernel-modules-fglrx-ovz-smp-1.0.8.38.6-alt1.132626.14
> > fglrx_glx-8.38.6-alt1
> > kernel-modules-fglrx-std-smp-1.0.8.37.3-alt0.1.132626.6
> > libmesa-7.0-alt1
> > fglrx-tools-8.38.6-alt1
> > 
> > [lakostis@lks ~]$ l ../../etc/X11/lib/libGL.so.1
> > lrwxrwxrwx 1 root root 29   3 23:40 ../../etc/X11/lib/libGL.so.1 ->
> > /usr/lib/X11/fglrx/libGL.so.1
> > 
> > а у вас?
> $ rpm -qa | egrep "fglrx|libmesa"
> kernel-modules-fglrx-wks-smp-1.0.8.38.6-alt1.132626.2
> libmesa-7.0-alt3
> kernel-modules-fglrx-std-smp-1.0.8.38.6-alt1.132626.6
> fglrx_glx-8.38.6-alt1
> fglrx-tools-8.38.6-alt1
> $ ls -l /etc/X11/lib/libGL.so.1 
> lrwxrwxrwx 1 root root 41 Jul 20 12:18 /etc/X11/lib/libGL.so.1 -> ../../../usr/lib/X11/mesa_gl/libGL.so.1.2
> $ 
> 
> И кто занимается выставлением этого симлинка?
Ну и таки да, после исправления симлинка OpenGL ожил, ура. Так и не понял,
откуда должны дёргаться скрипты в /usr/libexec/X11/drv*.d/ (надо же было
место такое придумать...)

-- 
  Alexey "Ktirf" Rusakov
  GNOME Project
  ALT Linux Team


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

* Re: [sisyphus] fglrx_dri.so
  2007-07-20 10:21     ` Alexey Rusakov
@ 2007-07-20 11:58       ` Andrii Dobrovol`s`kii
  2007-07-20 12:57         ` Sergey V Turchin
  0 siblings, 1 reply; 8+ messages in thread
From: Andrii Dobrovol`s`kii @ 2007-07-20 11:58 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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

Alexey Rusakov пишет:
> On Fri, 20 Jul 2007 12:39:17 +0400
> 
Извините, что встряну, а чем вызвано это:
/etc/X11/lib/libwfb.so -> ../../../usr/lib/X11/modules/libwfb-x11.so
libwfb-x11.so -> /dev/null
И есть ли у нас какие-то особенности в сборке libgtkglext, что без
dri программа с ним работает нормально, а с включением -- рисует
только черный квадрат и падает при любых попытках манипуляций с
изображением или этим окошком?
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************


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

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

* Re: [sisyphus] fglrx_dri.so
  2007-07-20 11:58       ` Andrii Dobrovol`s`kii
@ 2007-07-20 12:57         ` Sergey V Turchin
  2007-07-20 13:10           ` Andrii Dobrovol`s`kii
  0 siblings, 1 reply; 8+ messages in thread
From: Sergey V Turchin @ 2007-07-20 12:57 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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

On 20 июля 2007, Andrii Dobrovol`s`kii wrote:

[...]
> libwfb-x11.so
В nvidia есть

[...]

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [sisyphus] fglrx_dri.so
  2007-07-20 12:57         ` Sergey V Turchin
@ 2007-07-20 13:10           ` Andrii Dobrovol`s`kii
  0 siblings, 0 replies; 8+ messages in thread
From: Andrii Dobrovol`s`kii @ 2007-07-20 13:10 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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

Sergey V Turchin пишет:
> On 20 июля 2007, Andrii Dobrovol`s`kii wrote:
>> libwfb-x11.so
> В nvidia есть
> 
Понятно. Спасибо.
-- 
Rgrds,
Andriy


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

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

* Re: [sisyphus] fglrx_dri.so
  2007-07-19 20:51 ` Konstantin A. Lepikhov
  2007-07-20  8:39   ` Alexey Rusakov
@ 2007-07-24  7:15   ` Sergey Lebedev
  1 sibling, 0 replies; 8+ messages in thread
From: Sergey Lebedev @ 2007-07-24  7:15 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

В сообщении от Friday 20 July 2007 00:51:54 Konstantin A. Lepikhov написал(а):
> а у вас?

А вот что делать с этим? 
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed 
(/usr/lib/X11/modules/dri/fglrx_dri.so: undefined symbol: 
__driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering

-=(lsv localhost)=- [~] rpm -qa|egrep "fglrx|libmesa"
libmesa-7.0-alt3
libmesa-devel-7.0-alt3
kernel-modules-fglrx-std-smp-1.0.8.33.6-alt1.132626.3
kernel-modules-fglrx-std-smp-1.0.8.36.5-alt1.132626.6
kernel-modules-fglrx-ovz-smp-1.0.8.36.5-alt1.132626.14
fglrx_glx-8.38.6-alt1
kernel-modules-fglrx-std-pae-1.0.8.32.5-alt1.132626.2
kernel-modules-fglrx-std26-smp-1.0.8.28.8-alt1.132624.9
fglrx-tools-8.38.6-alt1
kernel-modules-fglrx-wks-smp-1.0.8.38.6-alt1.132626.2
kernel-modules-fglrx-std-smp-1.0.8.34.8-alt1.132626.5
-=(lsv localhost)=- [~] uname -r
2.6.18-wks-smp-alt2
-=(lsv localhost)=- [~] LIBGL_DEBUG=verbose glxinfo | grep 'direct rendering'
libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.38.6 fglrx (screen 0)
drmOpenByBusid: busid is PCI:1:5:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:5:0
Can't open configuration file /etc/drirc: No such file or directory.
Can't open configuration file /home/lsv/.drirc: No such file or directory.
direct rendering: Yes
-=(lsv localhost)=- [~] l ../../etc/X11/lib/libGL.so.1
lrwxrwxrwx 1 root root 37 Июл 24 
11:02 ../../etc/X11/lib/libGL.so.1 -> ../../../usr/lib/X11/fglrx/libGL.so.1
-=(lsv localhost)=- [~] l ../../../usr/lib/X11/fglrx/libGL.so.1
-rw-r--r-- 1 root root 628K Июн 23 00:08 ../../../usr/lib/X11/fglrx/libGL.so.1
-=(lsv localhost)=- [~] l /usr/lib/X11/fglrx/libGL.so.1
-rw-r--r-- 1 root root 628K Июн 23 00:08 /usr/lib/X11/fglrx/libGL.so.1
-=(lsv localhost)=- [~] rpm -qf /usr/lib/X11/fglrx/libGL.so.1
fglrx_glx-8.38.6-alt1


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

end of thread, other threads:[~2007-07-24  7:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-14 22:14 [sisyphus] fglrx_dri.so Alexey Rusakov
2007-07-19 20:51 ` Konstantin A. Lepikhov
2007-07-20  8:39   ` Alexey Rusakov
2007-07-20 10:21     ` Alexey Rusakov
2007-07-20 11:58       ` Andrii Dobrovol`s`kii
2007-07-20 12:57         ` Sergey V Turchin
2007-07-20 13:10           ` Andrii Dobrovol`s`kii
2007-07-24  7:15   ` Sergey Lebedev

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