View previous topic :: View next topic |
Author |
Message |
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 2:02 am Post subject: How to install radeon driver (3200HD) ? |
|
|
Hey people, I'm noob in gentoo. I want to install the radeon driver (3200hd GPU RV670 I think!). I'm confusing with all posts that I found here.There are a large collection of info but the most is old like *-9999.ebuild, drm-x11... My last trying has this. Anyone can help me to install the driver? Thanks.
Last edited by midnigther on Fri Mar 12, 2010 2:27 am; edited 1 time in total |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10655 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Mar 12, 2010 2:12 am Post subject: |
|
|
Have you see the Gentoo Linux ATI FAQ?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 2:36 am Post subject: |
|
|
Yup, I saw.
Xorg log here.
(EE) AIGLX error: dlopen of /usr/lib64/dri/r600_dri.so failed (/usr/lib64/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
What the problem? |
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 2:55 am Post subject: |
|
|
The error disappeared after adding the following section to xorg and add default hald dbusd:
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
The monitor remains black. Here is the log. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 12, 2010 3:19 am Post subject: |
|
|
Nah, there should be no need for AIGLX off.
Post the output of the following please: Code: | lspci
egrep '^[^#].*(AGP|DRM|RADEON)' /usr/src/linux/.config |
|
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 12, 2010 3:59 am Post subject: |
|
|
That looks ok, although personally I prefer them as modules.
Can we now see your emerge --info please |
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 4:18 am Post subject: |
|
|
I can set all as module? |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 12, 2010 4:52 am Post subject: |
|
|
midnigther wrote: | I can set all as module? |
Yes. I have Code: | ~ # egrep '^[^#].*(AGP|DRM|RADEON)' /usr/src/linux/.config
CONFIG_AGP=m
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
CONFIG_DRM_RADEON=m |
In /etc/make.conf Code: | VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev" |
A desktop profile like you, and rc services hald, dbus and consolekit started.
And a minimal xorg.conf because my X session defaults to a different resolution, otherwise I wouldn't even use one, and Section "dri" makes glxgears twice as fast - if that really means anything Code: | Section "ServerLayout"
Identifier "X"
Screen 0 "Screen0" 0 0
EndSection
Section "Device"
Identifier "Card0"
Driver "radeon"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "dri"
Mode 0666
EndSection |
And remember to always rebuild x11-drivers after xorg-server update Code: | emerge -1av $(qlist -IC x11-drivers) |
|
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 5:42 am Post subject: |
|
|
The screen remains black. I'm tired to configure Xorg but I don't give up.
I leave here the last result of Xorg, my xorg.conf and emerge --info.
If someone can help?
Thank everyone. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Fri Mar 12, 2010 6:38 am Post subject: |
|
|
try this:
install kernel-2.6.33, mesa-9999, libdrm-9999 and xf86-video-ati-9999 and try booting again.
use the relevant kernel setting as modules, don't enable kms. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 10:48 am Post subject: |
|
|
Where I find the ebuild *-9999? I saw this in a post but portage haven't the available ebuilds!
emerge -av mesa-9999
!!! 'mesa-9999' is not a valid package atom.
!!! Please check ecuild(5) for full details. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Mar 12, 2010 11:30 am Post subject: |
|
|
midnigther wrote: | The screen remains black. |
Screen is supposed to be black if nothing is running but X. Are you loading some WM or DE?
Tip: Using pastebin is recommended only for long-long logs. Everything else, like output of lspci, belongs here, for everyone's benefit. |
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 7:04 pm Post subject: |
|
|
No, I just have installed the X. I'm running startx command.
PS: Thank for the tip. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Fri Mar 12, 2010 8:34 pm Post subject: |
|
|
Jaglover wrote: | midnigther wrote: | The screen remains black. |
Screen is supposed to be black if nothing is running but X. Are you loading some WM or DE?
Tip: Using pastebin is recommended only for long-long logs. Everything else, like output of lspci, belongs here, for everyone's benefit. |
nice instinct _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
midnigther n00b
Joined: 05 Mar 2010 Posts: 36 Location: Portugal, VC
|
Posted: Fri Mar 12, 2010 9:43 pm Post subject: |
|
|
LOL, I remember when I installed arch linux it came with a simple WM. I do not remember the name! I thought that WM was part of the X11 package. FUUCCCC...
A big LOL.
Well, Thank you very much... |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10655 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Mar 12, 2010 10:56 pm Post subject: |
|
|
The X Server Configuration HOWTO used to instruct you to install x11-base/xorg-x11, which comes with a little windowing manager called TWM. Since almost nobody wants that, the instructions have been modified to just install x11-base/xorg-server, which doesn't come with any WM. Just proceed to install the WM of your choice. There are several guides:- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Mar 13, 2010 3:26 am Post subject: |
|
|
john_r_graham wrote: | ... x11-base/xorg-x11, which comes with a little windowing manager called TWM. |
Strangely, no longer. TWM needs to be emerged seperately. Same with xclock, even xterm
Looks like somebody goofed over there. |
|
Back to top |
|
|
RedSquirrel Guru
Joined: 22 Apr 2008 Posts: 336
|
Posted: Sat Mar 13, 2010 4:11 am Post subject: |
|
|
Mike Hunt wrote: | john_r_graham wrote: | ... x11-base/xorg-x11, which comes with a little windowing manager called TWM. |
Strangely, no longer. TWM needs to be emerged seperately. Same with xclock, even xterm
Looks like somebody goofed over there. |
It's the same xinit that is pulled in regardless of whether one is installing xorg-server or xorg-x11.
The minimal USE flag is set for xinit. From the xinit ebuild:
Code: | IUSE="+minimal pam" |
and here is the meaning of that USE flag (from the ebuild once more):
Code: | !minimal? (
x11-apps/xclock
x11-apps/xsm
x11-terms/xterm
x11-wm/twm
)
|
Hence, these things are excluded with the minimal USE flag set. I suppose one could argue that the xorg-x11 meta package should include twm, xclock, and xterm. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Mar 13, 2010 4:24 am Post subject: |
|
|
Aha, nice. Thanks RedSquirrel
Setting x11-apps/xinit -minimal in /etc/portage/package.use fixed it. My world file is that much smaller now. |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1331 Location: sweden
|
Posted: Sun Mar 14, 2010 10:04 am Post subject: |
|
|
hi midnigther i did a newinstall this week with bouth radeonhd and fglrx driver (not at same time)
heres a quik howto with radeonhd
"make.conf" VIDEO_CADS="radeon radeonhd"
INPUT_DEVICES="keyboard mouse evdev"
emerge xorg-server
if you like kde like me
emerge kdebase-startkde
rc-update add dbus default
rc-update add hald default
nano -w /etc/X11/xinit/xinitrc. "set a new first line with exec startkde"
reboot
Xorg -configure
cp /xorg.conf.new /etc/X11/xorg.conf
statx
it will take about 8 h but it will work.this will get you a working xorg 7.5 and a light kde |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1331 Location: sweden
|
Posted: Sun Mar 14, 2010 10:14 am Post subject: |
|
|
sorry it will take about 8 h but it will work.this will get you a working xorg 1.7.5 and a light kde |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Mar 25, 2010 1:09 am Post subject: |
|
|
... and remember to start dbus and hald after adding them to the default runlevel. You will also need consokekit for KDE4/KDM: Code: | eselect rc add consolekit default
rc |
And you can also add exec startkde to the user config $HOME/.xinitrc file instead of etc/X11/xinit/xinitrc
or you can set the XSESSION="kde" variable in /etc/rc.conf
Or you could use KDM in which case you will need to set DISPLAYMANAGER="kdm" variable in /etc/conf.d/xdm
then add xdm to the default runlevel and start it: Code: | eselect rc add xdm default
rc |
|
|
Back to top |
|
|
|