[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HOWTO: module-assistant on amd64
- From: Alexandru Fomin <yo3fxy at spymac dot com>
- Date: Sun, 20 Feb 2005 22:52:19 +0200
Hi,
Knut Auvor Grythe wrote:
[...]
* In the documentation on http://debian-amd64.alioth.debian.org/ the
path /var/chroot/sid-ia32 is used throughout the examples for the
chroot, however the driver uses /emul/ia32-linux to store the ia32
libraries. I just did a
mkdir -p /emul && ln -s /var/chroot/sid-ia32 /emul/ia32-linux
and the drivers were put where they should on my system. Perhaps the
packages should have a debconf setting for this path?
I had the impression that if you don't want to have a chrooted Debian
i386 installed around, all you need to do to have an almost working
32bit environment is to install the ia32-libs package, and this should
be the debian-amd64 supported way.
If you have the extra disk space to spare and you install a boostraped
i386 environment, I think you can also install the fglrx-driver
package, directly from Flavio's site, inside the chrooted environment.
(PS: I never used deboostrap or cdeboostrap and I do not own yet an
amd64 system so I could be totally wrong here; please forgive me)
[...]
# Create the magic symlink so the driver finds the libs =)
ln -s lib /usr/X11R6/lib64
can you please try a different approach and let us know if it's working?
- remove the symbolic link
- add the following script to /etc/X11/Xsession.d:
# cat 70fglrx-libgl_driver_path
if [ `uname -m` = 'x86_64' ]; then
LIBGL_DRIVER_PATH=${LIBGL_DRIVER_PATH:+${LIBGL_DRIVER_PATH}:}/usr/X11R6/lib/modules/dri:/emul/ia32-linux/usr/X11R6/lib/modules/dri
export LIBGL_DRIVER_PATH
fi
#
- restart X
- test both 64bit and 32bit applications and see if they work
Thx.
Alex