public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Lange <john.lange@open-it.ca>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Getting direct rendering (DRI) to work with ATI 9550 video card
Date: Fri, 02 Sep 2005 16:12:13 -0500	[thread overview]
Message-ID: <1125695533.23015.49.camel@ws50.darkcore.net> (raw)
In-Reply-To: <4318BB80.9060206@planet.nl>

Thanks for the reply Holly.

Symlinks are as follows:

lrwxrwxrwx   1 root root      22 Apr  9 08:47 linux -> linux-2.6.11-gentoo-r3
drwxr-xr-x  19 root root    4096 Sep  2 08:54 linux-2.6.11-gentoo-r3


I've re-emerged the ati drivers several times but can't hurt to do it
again... Following is the output.

I previously had an nvidia card installed (and working great I might
add). Could there be any left over flags in a portage config file
someplace that might be screwing things up?

I'm a Linux veteran but new to Gentoo/Portage so I'm still a bit lost as
to where everything goes that effects compiling...

Here is the emerge output for the ati-drivers:

-------
# emerge ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/ati-drivers-8.12.10 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) ati-drivers-8.10.19.ebuild
>>> md5 files   ;-) ati-drivers-8.8.25-r3.ebuild
>>> md5 files   ;-) ati-drivers-8.12.10.ebuild
>>> md5 files   ;-) files/09ati
>>> md5 files   ;-) files/3.2.5-linux-2.6.0-test6-mm.patch
>>> md5 files   ;-) files/8.08-kernel-2.6.10.patch
>>> md5 files   ;-) files/8.8.25-via-amd64.patch
>>> md5 files   ;-) files/8.8.25-smp.patch
>>> md5 files   ;-) files/digest-ati-drivers-8.10.19
>>> md5 files   ;-) files/digest-ati-drivers-8.8.25-r3
>>> md5 files   ;-) files/fglrx-2.6-amd-adv-spec-fix.patch
>>> md5 files   ;-) files/fglrx-2.6-fix-deprecated.patch
>>> md5 files   ;-) files/fglrx-2.6-get-page.patch
>>> md5 files   ;-) files/fglrx-2.6-iminor.patch
>>> md5 files   ;-) files/fglrx-2.6-makefile.patch
>>> md5 files   ;-) files/fglrx-2.6-pagetable.patch
>>> md5 files   ;-) files/fglrx-2.6-vmalloc-vmaddr.patch
>>> md5 files   ;-) files/fglrx-2.6.10-pci_get_class.patch
>>> md5 files   ;-) files/digest-ati-drivers-8.12.10
>>> md5 src_uri ;-) fglrx_6_8_0-8.12.10-1.i386.rpm
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r3
 * Checking for MTRR support enabled...                                                                                          [ ok ]
 * Checking for AGP support enabled...                                                                                           [ ok ]
 * Checking for DRM support disabled...                                                                                          [ ok ]
 * X11 implementation is xorg-x11.
>>> Unpacking source...
>>> Unpacking fglrx_6_8_0-8.12.10-1.i386.rpm
 * Applying fglrx-2.6-pagetable.patch ...                                                                                        [ ok ]
 * Applying 8.8.25-via-amd64.patch ...                                                                                           [ ok ]
 * Applying 8.8.25-smp.patch ...                                                                                                 [ ok ]
>>> Source unpacked.
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.11-gentoo-r3'
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agp3.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/nvidia-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `agp_find_supported_device':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6542: warning: unused variable `cap_ptr'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_init':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7627: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_cleanup':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7637: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: At top level:
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6523: warning: `agp_check_supported_device' definedbut not used
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/i7505-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_putminor':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:513: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_register':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:533: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:564: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c: At top level:
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:2688: warning: initialization from incompatible pointer type
  LD [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.mod.o
  LD [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.11-gentoo-r3'
>>> Test phase [not enabled]: media-video/ati-drivers-8.12.10

>>> Install ati-drivers-8.12.10 into /var/tmp/portage/ati-drivers-8.12.10/image/ category media-video
man:
making executable: /usr/lib/libfglrx_gamma.so.1.0
>>> Completed installing ati-drivers-8.12.10 into /var/tmp/portage/ati-drivers-8.12.10/image/

>>> Merging media-video/ati-drivers-8.12.10 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.11-gentoo-r3/
--- /lib/modules/2.6.11-gentoo-r3/video/
>>> /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
--- /usr/
--- /usr/lib/
--- /usr/lib/opengl/
--- /usr/lib/opengl/ati/
>>> /usr/lib/opengl/ati/lib/
>>> /usr/lib/opengl/ati/lib/libGL.so.1.2
>>> /usr/lib/opengl/ati/lib/libGL.so.1 -> libGL.so.1.2
>>> /usr/lib/opengl/ati/lib/libGL.so -> libGL.so.1.2
>>> /usr/lib/opengl/ati/lib/libGL.la
>>> /usr/lib/opengl/ati/extensions -> ../xorg-x11/extensions
>>> /usr/lib/opengl/ati/include -> ../xorg-x11/include
--- /usr/lib/modules/
--- /usr/lib/modules/drivers/
>>> /usr/lib/modules/drivers/fglrx_drv.o
--- /usr/lib/modules/dri/
>>> /usr/lib/modules/dri/fglrx_dri.so
--- /usr/lib/modules/linux/
>>> /usr/lib/modules/linux/libfglrxdrm.a
>>> /usr/lib/libfglrx_gamma.a
>>> /usr/lib/libfglrx_gamma.so.1.0
--- /usr/include/
--- /usr/include/X11/
--- /usr/include/X11/extensions/
>>> /usr/include/X11/extensions/fglrx_gamma.h
--- /usr/include/GL/
>>> /usr/include/GL/glxATI.h
--- /etc/
--- /etc/env.d/
>>> /etc/env.d/09ati
--- /opt/
--- /opt/ati/
--- /opt/ati/bin/
>>> /opt/ati/bin/fglrx_xgamma
>>> /opt/ati/bin/fglrxconfig
>>> /opt/ati/bin/fglrxinfo
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/lib/opengl/ati/lib/libGL.so.1.2
--- !mtime obj /usr/lib/opengl/ati/lib/libGL.la
--- !mtime obj /usr/lib/modules/linux/libfglrxdrm.a
--- !mtime obj /usr/lib/modules/drivers/fglrx_drv.o
--- !mtime obj /usr/lib/modules/dri/fglrx_dri.so
--- !mtime obj /usr/lib/libfglrx_gamma.so.1.0
--- !mtime obj /usr/lib/libfglrx_gamma.a
--- !mtime obj /usr/include/X11/extensions/fglrx_gamma.h
--- !mtime obj /usr/include/GL/glxATI.h
--- !mtime obj /opt/ati/bin/fglrxinfo
--- !mtime obj /opt/ati/bin/fglrxconfig
--- !mtime obj /opt/ati/bin/fglrx_xgamma
--- cfgpro obj /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
--- cfgpro dir /lib/modules/2.6.11-gentoo-r3/video
--- cfgpro dir /lib/modules/2.6.11-gentoo-r3
--- !mtime obj /etc/env.d/09ati
--- cfgpro dir /etc/env.d
--- !empty dir /usr/lib/opengl/ati/lib
--- !empty dir /usr/lib/opengl/ati
--- !empty dir /usr/lib/opengl
--- !empty dir /usr/lib/modules/linux
--- !empty dir /usr/lib/modules/drivers
--- !empty dir /usr/lib/modules/dri
--- !empty dir /usr/lib/modules
--- !empty dir /usr/lib
--- !empty dir /usr/include/X11/extensions
--- !empty dir /usr/include/X11
--- !empty dir /usr/include/GL
--- !empty dir /usr/include
--- !empty dir /usr
--- !empty dir /opt/ati/bin
--- !empty dir /opt/ati
--- !empty dir /opt
--- !empty dir /lib/modules
--- !empty dir /lib
--- !empty dir /etc
--- !targe sym /usr/lib/opengl/ati/lib/libGL.so.1
--- !targe sym /usr/lib/opengl/ati/lib/libGL.so
--- !targe sym /usr/lib/opengl/ati/include
--- !targe sym /usr/lib/opengl/ati/extensions
>>> original instance of package unmerged safely.

 * To switch to ATI OpenGL, run "opengl-update ati"
 * To change your XF86Config you can use the bundled "fglrxconfig"

 * ***
 * If you are experiencing problems with memory allocation try to add
 * this line to in your X11 configuration file:
 *              Option "KernelModuleParm"  "agplock=0"
 * That should solve the hangups you could have with Neverwinter Nights
 * ***
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> media-video/ati-drivers-8.12.10 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
 * IMPORTANT: 5 config files in /etc need updating.
 * IMPORTANT: 1 config files in /usr/kde/3.3/share/config need updating.
 * Type emerge --help config to learn how to update config files.

---------



On Fri, 2005-09-02 at 22:52 +0200, Holly Bostick wrote:
> John Lange schreef:
> > but I'm clueless as to why libglx wouldn't be working.
> > 
> 
> > 
> > (II) LoadModule: "glx" (WW) Warning, couldn't open module glx (II) 
> > UnloadModule: "glx" (EE) Failed to load module "glx" (module does not
> >  exist, 0)
> 
> The module not existing would seem to be a good reason that it doesn't
> work :) .
> 
> I'm wondering if the drivers built correctly in the first place.
> 
> What version of the drivers, what kernel, is /usr/src/linux symlinked to
> the actual kernel that you're running, and could you re-emerge the
> ati-drivers package, watching *very* carefully for any messages that say
> that DRI could not be built? (If such a message appears, the emerge will
> complete 'normally', but the drivers won't work, as you might imagine.)
> 
> Holly
-- 
John Lange
OpenIT ltd. www.Open-IT.ca (204) 885 0872
VoIP, Web services, Linux Consulting, Server Co-Location

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-09-02 21:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-02 15:34 [gentoo-user] Getting direct rendering (DRI) to work with ATI 9550 video card John Lange
2005-09-02 15:55 ` Heinz Sporn
2005-09-02 16:09   ` John Lange
2005-09-02 18:50 ` Oscar
2005-09-02 20:24   ` John Lange
2005-09-02 20:52     ` Holly Bostick
2005-09-02 21:12       ` John Lange [this message]
2005-09-02 21:20         ` Holly Bostick
2005-09-02 22:27           ` John Lange
2005-09-03  0:01             ` Holly Bostick
2005-09-03  2:24               ` Sergio Polini
2005-09-03  2:38             ` Sergio Polini
2005-09-04 19:35               ` John Lange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1125695533.23015.49.camel@ws50.darkcore.net \
    --to=john.lange@open-it.ca \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox