View previous topic :: View next topic |
Author |
Message |
direx n00b
Joined: 01 May 2006 Posts: 13 Location: Chemnitz, Germany
|
Posted: Mon May 01, 2006 5:56 pm Post subject: |
|
|
infirit wrote: | direx, All R(V)3XX should work but the IGP ones need special treatment (shared memory for example). |
but for some reasons it says the IGP ones are supported by mesa cvs (that's what im'm using)...
http://dri.freedesktop.org/wiki/ATIRadeon#head-6a4e73023cc0fb0cfbf5bd0f19a45d660193263f _________________ Notebook: HP nx6125|AMD Turion64|2GB RAM|Radeon XPress 200M|Linux 2.6-git
PC: GA-EP45-DS4|Core2Quad Q9650|8GB RAM|Radeon HD 3870|Linux 2.6-git |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Mon May 01, 2006 6:16 pm Post subject: |
|
|
Sigh, It does not work atm, you found out yourself.
Dave Airlie wrote: | Based on X300 but isn't... it doesn't work yet due to having a different
memory controller.. I've no idea how long it will take for someone to fix
that or for me to get one long enough to play with it.. |
He wrote this in march _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
direx n00b
Joined: 01 May 2006 Posts: 13 Location: Chemnitz, Germany
|
Posted: Mon May 01, 2006 7:10 pm Post subject: |
|
|
ok - it does not work. where can i check the developement status? _________________ Notebook: HP nx6125|AMD Turion64|2GB RAM|Radeon XPress 200M|Linux 2.6-git
PC: GA-EP45-DS4|Core2Quad Q9650|8GB RAM|Radeon HD 3870|Linux 2.6-git |
|
Back to top |
|
|
Pompei2 n00b
Joined: 06 May 2006 Posts: 8
|
Posted: Sat May 06, 2006 5:07 pm Post subject: |
|
|
Hello, I followed this great howto and had a few problems, that i have solved with the information i read on these 14 pages
But now, everything works fine but now when I do glxinfo, I get
Code: | name of display: :0.0
R300 DRI driver expected DRM version 1.24.x but got version 1.22.0
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
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 |
lsmod says:
Code: | Module Size Used by
radeon 98144 -
drm 58524 -
uhci_hcd 27480 -
ehci_hcd 24496 -
ohci_hcd 16748 -
nvidia_agp 5668 -
agpgart 26444 -
|
And I got a ATI Radeon 9500 Pro, non modular (i think) x11-base/xorg-x11-6.9.0-r1 with a 2.6.16-gentoo-r6 kernel.
The warnings and errosr glxinfo says look very suspect to me ... but i'm not a pro with these DRM/DRI/radeon stuff and don't really know what to do now ... Help would be greatly appreciated !
Ah yes and I did an emerge --search drm wich tells me following (and another prog that, i think, has nothing to do: ddrmat)
Code: | * x11-base/x11-drm
Latest version available: 20050502
Latest version installed: 20050502
Size of downloaded files: 509 kB
Homepage: http://dri.sf.net
Description: DRM Kernel Modules for X11
License: X11
* x11-libs/libdrm
Latest version available: 2.0.1
Latest version installed: 2.0.1
Size of downloaded files: 1,124 kB
Homepage: http://dri.freedesktop.org/
Description: X.Org libdrm library
License: libdrm |
ohh and what are fbconfigs (said in the glxinfo warning) ?
Ah and right now i got the idea that it's maybe because i installed an "experimental" package of xorg but the "stable" libdrm and x11-drm ? |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Sat May 06, 2006 5:51 pm Post subject: |
|
|
This is the ebuild I use to build the radeon kernel modules from CVS:
Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit cvs linux-mod
HOMEPAGE="http://dri.freedesktop.org/wiki/"
DESCRIPTION="CVS Version of the radeon driver from the DRI Project"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND=">=virtual/linux-sources-2.6"
ECVS_SERVER="cvs.freedesktop.org:/cvs/dri"
ECVS_MODULE="drm"
S=${WORKDIR}
export DRM_MODULES="drm.o radeon.o"
MODULE_NAMES="drm(kernel/drivers/char/drm:kernel/drivers/char/drm) radeon(kernel/drivers/char/drm:kernel/drivers/char/drm)"
BUILD_TARGETS="clean modules"
MAKEOPTS="-j1"
src_unpack() {
cvs_src_unpack
cd ${WORKDIR}
mkdir kernel/drivers/char -p
cd kernel/drivers/char
ln -snf ${WORKDIR}/drm/linux-core drm
}
pkg_postinst() {
einfo
einfo Radeon 9500/9700/9800 cards are not currently stable.
einfo More details can be found at https://bugs.freedesktop.org/show_bug.cgi?id=6318
einfo
einfo To use direct rendering anyway, do this as root. Restart X afterwards.
einfo
einfo "echo 'R300_FORCE_R300="1"' >> /etc/env.d/00local && env-update"
einfo
} |
Hope this helps
*update*: Warning about R300 cards added, small cleanup _________________ post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Last edited by Master_Of_Disaster on Sat May 06, 2006 8:30 pm; edited 1 time in total |
|
Back to top |
|
|
Pompei2 n00b
Joined: 06 May 2006 Posts: 8
|
Posted: Sat May 06, 2006 6:09 pm Post subject: |
|
|
I think this *could* help, the problem is I got no idea about ebuilds ^^
I tried making a new dir: /usr/portage/x11-base/radeon-cvs-kernel-modules and put in a new file radeon-cvs-kernel-modules.ebuild and copy-paste your code. As i did emerge -pv x11-base/radeon-cvs-kernel-modules, it tells me:
Code: | These are the packages that I would merge, in order:
Calculating dependencies visible(): invalid cat/pkg-v: x11-base/radeon-cvs-kernel-modules
!!! All ebuilds that could satisfy "x11-base/radeon-cvs-kernel-modules" have been masked.
!!! One of the following masked packages is required to complete your request:
!!! Problem in x11-base/radeon-cvs-kernel-modules dependencies.
!!! invalid CPV: x11-base/radeon-cvs-kernel-modules exceptions |
|
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
|
Back to top |
|
|
Pompei2 n00b
Joined: 06 May 2006 Posts: 8
|
Posted: Sat May 06, 2006 8:01 pm Post subject: |
|
|
thank you Master_Of_Disaster, that helped me a bit. A bit means that glxinfo now don't say this version-error anymore, but still the other warning+error:
Code: | name of display: :0.0
Radeon 9500/9700/9800 cards are not currently stable.
More details can be found at https://bugs.freedesktop.org/show_bug.cgi?id=6318
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No |
The link in the 3rd line doesn't help me. And now i really have no more idea of what it is and what is a fbconfig |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Sat May 06, 2006 8:18 pm Post subject: |
|
|
You have to create a file that looks like this (don't forget to env-update):
Code: | hephaestos local # cat /etc/env.d/00local
R300_FORCE_R300="1" |
The r300 driver is known to die under certain circumstances, which are described in the mentioned bug. If you set this environment variable you can force the driver to use direct rendering, but be warned, it could eventually die horribly. _________________ post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today! |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Sat May 06, 2006 8:18 pm Post subject: |
|
|
Pompei2, look for EE in /var/log/Xorg.0.log. And post them here if you still have questions. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Pompei2 n00b
Joined: 06 May 2006 Posts: 8
|
Posted: Sat May 06, 2006 8:37 pm Post subject: |
|
|
strange thing: No EE's, only warnings ... but yea ! I did what Master_Of_Desaster told me and now it works !!!! thank you very much guys, very quick and very good answers !!! I'm so happy The first time around i got hardware accelerated 3D for ATI on linux ... the drivers from ATI self always crashed ...
Soooo, a lot of thanks to you guys
See you |
|
Back to top |
|
|
matrixhax0r n00b
Joined: 23 Jun 2004 Posts: 63
|
Posted: Wed May 10, 2006 1:14 am Post subject: |
|
|
Hi, I get
FATAL: Error inserting drm (/lib/modules/2.6.16-gentoo-r7/kernel/drivers/char/drm/drm.ko): Cannot allocate memory
when I try to modprobe drm.
Any ideas?
I don't think I'm running low on memory anyhow:
Code: | $ free
total used free shared buffers cached
Mem: 514820 501880 12940 0 172 299788
-/+ buffers/cache: 201920 312900
Swap: 312976 4 312972 |
_________________ We are Pentium of Borg. Division is futile. You will be approximated. |
|
Back to top |
|
|
ambrox8 n00b
Joined: 14 May 2006 Posts: 13
|
Posted: Sun May 14, 2006 7:55 am Post subject: drm fails |
|
|
Direct rendering doesn't work. I use xorg-x11-6.9.0-r1 and have compiled things like the first post says. To be able to compile Mesa, I also had to emerge glproto or compile failed with undefined functions.
The log says:
Code: |
...
(WW) RADEON(0): Enabling DRM support
*** Direct rendering support is highly experimental for Radeon 9500
*** and newer cards. The 3d mesa driver is not provided in this tree.
*** A very experimental (and incomplete) version is available from Mesa CVS.
*** Additional information can be found on http://r300.sourceforge.net
*** This message has been last modified on 2005-08-07.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf886a000
(II) RADEON(0): [drm] mapped SAREA 0xf886a000 to 0xb7960000
(II) RADEON(0): [drm] framebuffer handle = 0xc0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [pci] 8192 kB allocated with handle 0xf89b9000
(II) RADEON(0): [pci] ring handle = 0xf89b9000
(II) RADEON(0): [pci] Ring mapped at 0xaf726000
(II) RADEON(0): [pci] Ring contents 0x00000000
(II) RADEON(0): [pci] ring read ptr handle = 0xf8aba000
(II) RADEON(0): [pci] Ring read ptr mapped at 0xb7fd5000
(II) RADEON(0): [pci] Ring read ptr contents 0x00000000
(II) RADEON(0): [pci] vertex/indirect buffers handle = 0xf8abb000
(II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0xaf526000
(II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) RADEON(0): [pci] GART texture map handle = 0xf8cbb000
(II) RADEON(0): [pci] GART Texture map mapped at 0xaf046000
(II) RADEON(0): [drm] register handle = 0xa8100000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1600,8191)
(II) RADEON(0): Reserved area from (0,1200) to (1600,1202)
(II) RADEON(0): Largest offscreen area available: 1600 x 6989
(II) RADEON(0): Will use back buffer at offset 0x10ac000
(II) RADEON(0): Will use depth buffer at offset 0x1456000
(II) RADEON(0): Will use 32 kb for PCI GART table at offset 0x7ff8000
(II) RADEON(0): Will use 106496 kb for textures at offset 0x1800000
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
(**) RADEON(0): Option "XaaNoScanlineCPUToScreenColorExpandFill"
(**) RADEON(0): Option "XaaNoScanlineImageWriteRect"
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1202)
(II) RADEON(0): Largest offscreen area available: 1600 x 6983
(II) RADEON(0): No video input capabilities detected and no information is provided - disabling multimedia i2c
(II) Loading sub module "theatre_detect"
(II) LoadModule: "theatre_detect"
(II) Loading /usr/lib/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor="X.Org Foundation"
compiled for 4.3.99.902, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.8
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(II) RADEON(0): Running MergedFB in Clone mode, Radeon Pseudo-Xinerama disabled
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf886a000 at 0xb7960000
(II) RADEON(0): Render acceleration disabled
(WW) RADEON(0): Direct rendering disabled
...
|
But dmesg says:
Code: |
[drm:radeon_do_init_cp] *ERROR* Cannot initialise DRM on this card
This card requires a new X.org DDX for 3D
|
|
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Sun May 14, 2006 9:07 am Post subject: Re: drm fails |
|
|
ambrox8 wrote: |
But dmesg says:
Code: |
[drm:radeon_do_init_cp] *ERROR* Cannot initialise DRM on this card
This card requires a new X.org DDX for 3D
|
|
Are you using the in kernel radeon module or the one from cvs? The error looks like you need a newer version of the drm module. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
ambrox8 n00b
Joined: 14 May 2006 Posts: 13
|
Posted: Sun May 14, 2006 3:06 pm Post subject: Re: drm fails |
|
|
infirit wrote: | ambrox8 wrote: |
But dmesg says:
Code: |
[drm:radeon_do_init_cp] *ERROR* Cannot initialise DRM on this card
This card requires a new X.org DDX for 3D
|
|
Are you using the in kernel radeon module or the one from cvs? The error looks like you need a newer version of the drm module. |
I was using the correct module and mesa. I thought the driver was using some very recent features of Xorg, and looks like I was right! I installed xorg-x11-7.1_rc2 and recompiled and reinstalled modules and mesa, and looks like 3d works fine now! I get up to 2000 fps in glxgears!
I only have a problem with quake3 failing to start.
Code: |
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
...
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
|
|
|
Back to top |
|
|
ambrox8 n00b
Joined: 14 May 2006 Posts: 13
|
Posted: Sun May 14, 2006 8:55 pm Post subject: |
|
|
however the binary quake3 works fine... |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Sun May 14, 2006 9:06 pm Post subject: Re: drm fails |
|
|
ambrox8 wrote: | Code: |
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
...
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
|
|
Did you compile quake against the ati gl or the xorg (mesa) one? Try switching to xorg opengl and recompile. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Mon May 15, 2006 12:07 am Post subject: |
|
|
Hi,
i've followed all the stuff but i've a really strange problem:
Kernel 2.6.16-gentoo-r7 ~x86
startx =>
OK
dmesg=>
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9
[drm] Initialized radeon 1.24.0 20060225 on minor 0:
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R300 Microcode
[drm] writeback test succeeded in 1 usecs
glxinfo | grep render =>
direct rendering: No
OpenGL renderer string: Mesa DRI R300 20040924 AGP 4x x86/MMX+/3DNow!+/SSE2 TCL
Any clue ?
all compilations are okay so ... maybee the third line of dmesg output may effraid me ... |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
|
Back to top |
|
|
dapsaille Advocate
Joined: 02 Aug 2004 Posts: 2366 Location: Paris
|
Posted: Mon May 15, 2006 10:25 am Post subject: |
|
|
Master_Of_Disaster wrote: | LIBGL_DEBUG=verbose glxinfo |
Thanks
Code: |
flo@localhost ~ $ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri /r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri /r300_dri.so failed (/usr/lib/xorg/modules/dri /r300_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri /r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri /r300_dri.so failed (/usr/lib/xorg/modules/dri /r300_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri /r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri /r300_dri.so failed (/usr/lib/xorg/modules/dri /r300_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri /r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri /r300_dri.so failed (/usr/lib/xorg/modules/dri /r300_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to find driver: r300_dri.so
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R300 20040924 AGP 4x x86/MMX+/3DNow!+/SSE2 TCL
OpenGL version string: 1.2 (1.3 Mesa 6.5.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x30 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
|
Erff .. i really don't undestand .. maybee i need to put a specific USE flag before compilation or so ? ...
EDit=HAHAHAHA ... i've forgotten to do cp -a lib/r300_dri.so /usr/lib/xorg/modules/dri/ :p
kill X and try now :p |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Mon May 15, 2006 11:03 am Post subject: |
|
|
Code: | LIBGL_DEBUG=verbose glxinfo |
Code: | name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
R300 DRI driver expected DRM version 1.24.x but got version 1.22.0
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
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
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x30 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow |
I am using xorg-server-1.0.99.903 / xorg-x11-7.1_rc2 with kernel 2.6.16-gentoo-r7. |
|
Back to top |
|
|
ambrox8 n00b
Joined: 14 May 2006 Posts: 13
|
Posted: Mon May 15, 2006 4:27 pm Post subject: Re: drm fails |
|
|
infirit wrote: | ambrox8 wrote: | Code: |
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
...
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
|
|
Did you compile quake against the ati gl or the xorg (mesa) one? Try switching to xorg opengl and recompile. |
Yes, I compiled it when I was still using ati drivers, but now I have recompiled libsdl and quake3 (the cvs mesa lib and xorg-x11 include files), but nothing changes. |
|
Back to top |
|
|
ambrox8 n00b
Joined: 14 May 2006 Posts: 13
|
Posted: Wed May 17, 2006 7:03 pm Post subject: |
|
|
I have a problem, the driver is not using the resolutions I configure in the Screen section. I think it has some problems with "CRT2", but I only have one monitor (on the dvi out) connected to the card! The resolution is always 640x480!
log:
http://www.x-truder.net/~ambro/xlog.txt
EDIT: I can get higher resolutions by setting CRT2HSync and CRT2VRefresh driver options to a big range. But I still don't get 1920x1200 widescreen resolution, but get 1600x1200 instead.
Last edited by ambrox8 on Thu May 18, 2006 4:03 pm; edited 2 times in total |
|
Back to top |
|
|
matrixhax0r n00b
Joined: 23 Jun 2004 Posts: 63
|
|
Back to top |
|
|
ambrox8 n00b
Joined: 14 May 2006 Posts: 13
|
Posted: Thu May 18, 2006 3:58 pm Post subject: |
|
|
You must have the wrong drm module loaded. Make sure there is only one (kernel/drivers/char/drm/drm.ko,radeon.ko) in /lib/modules/<version>. |
|
Back to top |
|
|
|
|
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
|
|