open All Channels
seplocked Linux
blankseplocked Gentoo/Funtoo AMD users supported here V2
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2011.07.04 14:39:00 - [1]
 

Edited by: Ravow on 04/07/2011 15:00:48
*draft*

Procedure to install open source amd/ati drivers:

1 ) Kernel :
First, you need a recent kernel. You need the 2.6.39 or newer. 3.0.0-rc5 is good too if you have Funtoo with the latest portage.

2) X11 Overlay :
* Install Layman
# echo "app-portage/layman subversion" >> /etc/portage/package.use
# emerge -av layman
# echo source /var/lib/layman/make.conf >> /etc/make.conf

* Update Layman and list layman
# layman -L

* Install X11 overlay
# layman -a X11

Now you have the good X11 overlay!

3) Unmask packages and set keywords...
# echo "media-libs/mesa" >> /etc/portage/package.unmask
# echo "x11-libs/libdrm" >> /etc/portage/package.unmask
# echo "x11-drivers/xf86-video-ati" >> /etc/portage/package.unmask
# echo "media-libs/mesa ** **" >> /etc/portage/package.keywords
# echo "x11-libs/libdrm ** **" >> /etc/portage/package.keywords
# echo "x11-drivers/xf86-video-ati ** **" >> /etc/portage/package.keywords

4) libtxc_dxtn installation /!\ Stupid patent, may be illegal in your country. If you, you can't play EVE legally in your country using theses drivers. /!\
# emerge -va libtxc_dxtn

4) libdrm installation :
Add the USE libkms in your make.conf
Add the VIDEO_CARDS="radeon" in your make.conf
# emerge -va libdrm (Your supposed to install the -9999 version)

********************************************
************** 64 BITS USERS ***************
********************************************
# cd /var/lib/layman/x11/x11-libs/libdrm
# ebuild libdrm-9999.ebuild unpack
# cd /var/tmp/portage/x11-libs/libdrm-9999/work/libdrm-9999
# export CFLAGS="-m32"
# export CXXFLAGS="-m32"
# sh autogen.sh --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib32 --libdir=/usr/lib32 --disable-dependency-tracking --enable-shared --disable-static --disable-dependency-tracking --enable-udev --disable-intel --disable-nouveau-experimental-api --enable-radeon --disable-vmwgfx-experimental-api --enable-libkms
# make
# unset CFLAGS
# unset CXXFLAGS
cp .libs/libdrm.so.2.4.0 /usr/lib32/
cp ./libkms/.libs/libkms.so.1.0.0 /usr/lib32/
cp ./radeon/.libs/libdrm_radeon.so.1.0.0 /usr/lib32/
********************************************
*********** END OF 64 BITS USERS ***********
********************************************

5) MESA!
ADD USE d3d gallium in your make.conf
ADD VIDEO_CARDS r600 in your make.conf

# emerge -va mesa (Your supposed to install the -9999 version)
# emerge -va mesa-progs

********************************************
************** 64 BITS USERS ***************
********************************************
/!\ Stupid patent, If illegal in your country, remove --enable-texture-float in the configure parameter. /!\

# cd /var/lib/layman/x11/media-libs/mesa
# ebuild mesa-9999.ebuild unpack
# cd /var/tmp/portage/media-libs/mesa-9999/work/Mesa-9999
# ./autogen.sh --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib32 --libdir=/usr/lib32 --disable-option-checking --with-driver=dri --disable-glut --without-demos --enable-xcb --disable-debug --disable-glw --disable-motif --enable-glx-tls --enable-asm --with-dri-drivers=,swrast,r600 --enable-gallium --with-state-trackers=glx,dri,egl,vega,d3d1x --disable-gallium-llvm --disable-gles1 --disable-gles2 --disable-gles-overlay --disable-gallium-svga --disable-gallium-nouveau --disable-gallium-i915 --disable-gallium-i965 --disable-gallium-radeon --disable-gallium-r600 --disable-gallium-r300 --disable-gallium-i915 --disable-gallium-i965 --disable-gallium-radeon --enable-gallium-r600 --enable-texture-float --enable-32-bit
# make

[GO TO NEXT POST]

*draft*

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2011.07.04 14:42:00 - [2]
 

Edited by: Ravow on 04/07/2011 14:49:05
Edited by: Ravow on 04/07/2011 14:48:13
******* STILL FOR 64BITS USERS *******

cp lib32/libGL.so.1.2 /usr/lib32
cp lib32/libGL.so.1.2 /usr/lib32/opengl/xorg-x11/lib/
cp lib32/libGLU.so.1.3.071100 /usr/lib32/
cp lib32/libEGL.so.1.0 /usr/lib32/
cp lib32/libOpenVG.so.1.0.0 /usr/lib32/
cp lib32/egl/* /usr/lib32/egl/
cp lib32/r600_dri.so /usr/lib32/mesa/r600_dri.so
cp lib32/gallium/r600_dri.so /usr/lib32/mesa/r600g_dri.so
cp lib32/gallium/swrastg_dri.so /usr/lib32/mesa/
cp lib32/swrast_dri.so /usr/lib32/mesa/
rm /usr/lib32/dri/r600g_dri.so
rm /usr/lib32/dri/r600_dri.so
ln -s /usr/lib32/mesa/r600g_dri.so /usr/lib32/dri/r600g_dri.so
ln -s /usr/lib32/mesa/r600g_dri.so /usr/lib32/dri/r600_dri.so

********************************************
*********** END OF 64 BITS USERS ***********
********************************************

6) DDX drivers :

# emerge -va xf86-video-ati

7) Firmware :
# emerge -va radeon-ucode

Now the drivers is supposed to work. You need to type some command to be sure that the good OpenGL is used.

# eselect opengl set xorg-x11
# eselect mesa set r600 gallium

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2011.07.04 14:44:00 - [3]
 

[RESERVED]

Scraelos
RosAviaCosmos
Goonswarm Federation
Posted - 2011.07.08 08:05:00 - [4]
 

Hello!
Which radeon card I need to succeed playing EVE Online with opensource drivers?

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2011.07.09 16:26:00 - [5]
 

Radeon HD 4xxx and 5000 must work. I personally own a 4870HD.

Scraelos
RosAviaCosmos
Goonswarm Federation
Posted - 2011.07.14 14:52:00 - [6]
 

Thanks a lot! Succeded playing EVE on 5770HD with open source drivers using these instructions.


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only