| Summary: | xorg-x11 radeon driver only available in 64bit | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | ivo welch <ivo.welch> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | wolf31o2 |
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I'm not sure that this belongs with the external drivers maintainers, since this is an issue with X11 itself. Also, this is not limited to only the radeon drivers, but all drivers shipped with xorg-x11. Currently, we *require* either the Nvidia or ATI binary drivers for 3D applications/games that are 32-bit on AMD64. I tend to think that this is an upstream X.Org request rather than something that we should pursue ourselves. Seems to me like it's an issue of getting the ebuilds "cross-compiling" to x86 from amd64. That may well work by default for most of them under modular. well, we have a package called emul-linux-x86-xlibs. whoever rolls it may want to also roll in the radeon/nvidia GL drivers, perhaps? Absolutely not, unless they wanted to provide for every single X driver. A better solution *is* to have the individual X drivers take care of it. It isn't such a hard task, it's just something that will probably take some time to impliment. For now, I would say to feel free to build X in a 32-bit chroot (or switch to the binary ATI drivers). |
I spent hours trying to get the ATI drivers to work, but finally gave up. the radeon drivers that come with xorg-x11 seem to work just nicely on my RV250: 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01) and in addition, it remains compatible with the radeon frame buffer. # lsmod Module Size Used by radeon 106880 1 drm 78184 2 radeon glxgears reports about 1700 FPS. OK. Here is the problem: # ldd X-Plane-i586 linux-gate.so.1 => (0xffffe000) libGL.so.1 => not found libGLU.so.1 => /emul/linux/x86/usr/lib/libGLU.so.1 (0x5558d000) libXext.so.6 => /emul/linux/x86/usr/lib/libXext.so.6 (0x55605000) libX11.so.6 => /emul/linux/x86/usr/lib/libX11.so.6 (0x55613000) libopenal.so.0 => /emul/linux/x86/usr/lib/libopenal.so.0 (0x556dd000) libpthread.so.0 => /lib32/libpthread.so.0 (0x55770000) libdl.so.2 => /lib32/libdl.so.2 (0x557c2000) libm.so.6 => /lib32/libm.so.6 (0x557c6000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/libgcc_s.so.1 (0x557e9000) libc.so.6 => /lib32/libc.so.6 (0x557f2000) libGL.so.1 => not found libstdc++.so.5 => /emul/linux/x86/usr/lib/libstdc++.so.5 (0x5590c000) libasound.so.2 => /emul/linux/x86/usr/lib/libasound.so.2 (0x559bf000) libartsc.so.0 => /emul/linux/x86/usr/lib/libartsc.so.0 (0x55a75000) libgmodule-2.0.so.0 => /emul/linux/x86/usr/lib/libgmodule-2.0.so.0 (0x55a7b000) libgthread-2.0.so.0 => /emul/linux/x86/usr/lib/libgthread-2.0.so.0 (0x55a7f000) libglib-2.0.so.0 => /emul/linux/x86/usr/lib/libglib-2.0.so.0 (0x55a85000) libesd.so.0 => /emul/linux/x86/usr/lib/libesd.so.0 (0x55b03000) libaudiofile.so.0 => /emul/linux/x86/usr/lib/libaudiofile.so.0 (0x55b0d000) libSDL-1.2.so.0 => /emul/linux/x86/usr/lib/libSDL-1.2.so.0 (0x55b35000) libvorbis.so.0 => /emul/linux/x86/usr/lib/libvorbis.so.0 (0x55b93000) libvorbisfile.so.3 => /emul/linux/x86/usr/lib/libvorbisfile.so.3 (0x55bba000) libsmpeg-0.4.so.0 => /emul/linux/x86/usr/lib/libsmpeg-0.4.so.0 (0x55bc1000) /lib/ld-linux.so.2 (0x55555000) libogg.so.0 => /emul/linux/x86/usr/lib/libogg.so.0 (0x55c18000) # ls -l /usr/lib/libGL* lrwxrwxrwx 1 root users 36 Dec 11 20:37 /usr/lib/libGL.a -> /usr/lib/opengl/xorg-x11/lib/libGL.a -rw-r--r-- 1 root users 743 Dec 11 20:37 /usr/lib/libGL.la lrwxrwxrwx 1 root users 37 Dec 11 20:37 /usr/lib/libGL.so -> /usr/lib/opengl/xorg-x11/lib/libGL.so -rw-r--r-- 1 root users 904038 Nov 24 17:42 /usr/lib/libGLU.a -rw-r--r-- 1 root users 754 Nov 24 17:42 /usr/lib/libGLU.la lrwxrwxrwx 1 root users 13 Nov 24 17:42 /usr/lib/libGLU.so -> libGLU.so.1.3 lrwxrwxrwx 1 root users 13 Nov 24 17:42 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 -rwxr-xr-x 1 root users 622156 Nov 24 17:42 /usr/lib/libGLU.so.1.3 -rw-r--r-- 1 root users 45990 Nov 24 17:42 /usr/lib/libGLw.a lrwxrwxrwx 1 root users 13 Nov 24 17:42 /usr/lib/libGLw.so -> libGLw.so.1.0 lrwxrwxrwx 1 root users 13 Nov 24 17:42 /usr/lib/libGLw.so.1 -> libGLw.so.1.0 -rwxr-xr-x 1 root users 39635 Nov 24 17:42 /usr/lib/libGLw.so.1.0 I believe the libGL library is not found because it is not 32bit. (I had similar problems with the sound libraries.) the sound libraries were fixed by emerging the emul-linux-x86-s* packages. short of installing an entire chroot 32-bit system (which will probably get me to run into 20 other problems), may I ask whether it is possible to offer a compile for an openGL 32-bit version for radeons (or guidelines how I can create it)? Actually, I do not really need the 64-bit openGL libraries---the 32-bit ones would be fine. Can this be done? regards, /iaw Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14 x86_64) ================================================================= System uname: 2.6.14 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="POSIX" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 audiofile avi berkdb bitmap-fonts bzip2 bzlib cdr crypt cups curl dvd dvdr eds emboss encode esd exif expat f77 fam fbcon ffmpeg flac foomaticdb fortran g77 gdbm gif glut gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg kde lcms libwww lzw lzw-tiff mad mng motif mozilla mp3 mpeg ncurses nls ogg openal opengl pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY # glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes 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_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, 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_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 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_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig OpenGL vendor string: Tungsten Graphics, Inc. OpenGL renderer string: Mesa DRI R200 20040929 AGP 1x TCL OpenGL version string: 1.3 Mesa 6.2.1 OpenGL extensions: GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_histogram, 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_filter_anisotropic, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod 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 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x24 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x25 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x26 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x27 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x28 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x29 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x2a 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x2b 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x2c 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x2d 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x2e 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x2f 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x30 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x31 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x32 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow