[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fglrx 8.18.6 (and former probably) not working with 2.6.14 on amd64
- From: "Thorsten Müller" <t dot mueller at agv-gp dot de>
- Date: Thu, 3 Nov 2005 21:36:38 +0100
Am Donnerstag, 3. November 2005 17:53 schrieb Flavio Stanchina:
Thorsten Müller wrote:
[fglrx module error]
I really think kernel modules shouldn't be allowed to build when
there are undefined symbols during compilation. I'm not sure if this
is a "feature" of the kernel build system or fglrx's makefiles...
I'll have a look if I find some time.
Regarding this specific problem, apparently these two functions were
already no-ops in 2.6.13, so we just need to stop calling them on
kernels that don't have them. The attached patch should do the trick,
please test.
I tried your patch. The module built an loaded fine. fgl_glxgears gives
about 515 fps, glxgears about 2500 fps, as with kernel 2.6.13.4.
But now can no longer play Neverwinter Nights. It needs the 32bit mode
and 32 bit fglrx drivers (I wrote something about it to the list a
while ago) and cannot use 3d acceleration any more. I get the following
error:
#v+
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
#v-
It is not a permission problem:
#v+
tm at dungeonmaster:~ $ ll /dev/dri/
total 0
crw-rw-rw- 1 root root 226, 0 Nov 3 21:08 card0
#v+
With LIBGL_DEBUG=verbose, I get:
#v+
tm at dungeonmaster:~ $ LIBGL_DEBUG=verbose nwn
libGL: XF86DRIGetClientDriverName: 8.18.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib32/modls/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.18.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 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports (null)
drmOpenDevice: minor is 1
drmOpenDevice: node name is /dev/dri/card1
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 2
drmOpenDevice: node name is /dev/dri/card2
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 3
drmOpenDevice: node name is /dev/dri/card3
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 4
drmOpenDevice: node name is /dev/dri/card4
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 5
drmOpenDevice: node name is /dev/dri/card5
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 6
drmOpenDevice: node name is /dev/dri/card6
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 7
drmOpenDevice: node name is /dev/dri/card7
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 8
drmOpenDevice: node name is /dev/dri/card8
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 9
drmOpenDevice: node name is /dev/dri/card9
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 10
drmOpenDevice: node name is /dev/dri/card10
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 11
drmOpenDevice: node name is /dev/dri/card11
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 12
drmOpenDevice: node name is /dev/dri/card12
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 13
drmOpenDevice: node name is /dev/dri/card13
drmOpenByBusid: drmOpenMinor returns -1003
drmOpenDevice: minor is 14
drmOpenDevice: node name is /dev/dri/card14
drmOpenByBusid: drmOpenMinor returns -1003
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
#v-
This is what I get on my working configuration (2.6.13.4 with 8.18.6):
#v+
tm at dungeonmaster:~ $ LIBGL_DEBUG=verbose nwn
libGL: XF86DRIGetClientDriverName: 8.18.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib32/modls/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 8.18.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 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
Can't open configuration file /etc/fglrxrc: No such file or directory.
Can't open configuration file /etc/drirc: No such file or directory.
Can't open configuration file /home/tm/.drirc: No such file or
directory.
#v-
?-[
Any ideas?
Greetings
Thorsten Müller