public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]
@ 2011-10-23 20:24 Vishnupradeep
  2011-10-24  8:10 ` [gentoo-user] Re: (unknown) Nikos Chantziaras
  0 siblings, 1 reply; 10+ messages in thread
From: Vishnupradeep @ 2011-10-23 20:24 UTC (permalink / raw
  To: gentoo-user

Mother Board : ASUS M2A-MX
Graphics Card: ATI 4350
Sound card: using on board audio

Help needed

On Sat, Oct 22, 2011 at 10:16 AM, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 10/20/2011 12:20 PM, Vishnupradeep wrote:
>>
>> I am new to gentoo.
>> Installed kde in gentoo. But i am unable to enable effects like. blur,
>> woobly etc.. why ?
>
> We need to know what graphics card you have and what sound card.  You might
> also want to tell us what your computer's mainboard is (exact brand and
> model).  We can help you from there to configure your kernel and install the
> correct graphics drivers.
>
>
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: (unknown)
  2011-10-23 20:24 [gentoo-user] Vishnupradeep
@ 2011-10-24  8:10 ` Nikos Chantziaras
  2011-10-24  8:18   ` Nikos Chantziaras
  2011-10-24  8:28   ` Vishnupradeep
  0 siblings, 2 replies; 10+ messages in thread
From: Nikos Chantziaras @ 2011-10-24  8:10 UTC (permalink / raw
  To: gentoo-user

On 10/23/2011 11:24 PM, Vishnupradeep wrote:
> Mother Board : ASUS M2A-MX
> Graphics Card: ATI 4350
> Sound card: using on board audio
>
> Help needed
>
> On Sat, Oct 22, 2011 at 10:16 AM, Nikos Chantziaras<realnc@arcor.de>  wrote:
>> On 10/20/2011 12:20 PM, Vishnupradeep wrote:
>>>
>>> I am new to gentoo.
>>> Installed kde in gentoo. But i am unable to enable effects like. blur,
>>> woobly etc.. why ?
>>
>> We need to know what graphics card you have and what sound card.  You might
>> also want to tell us what your computer's mainboard is (exact brand and
>> model).  We can help you from there to configure your kernel and install the
>> correct graphics drivers.

For your graphics card, install this firmware package:

   x11-drivers/radeon-ucode

Then, enable the following options in your kernel configuration (the 
usual "make menuconfig" deal):

   Device Drivers -> Graphics support ->
       <*> Direct Rendering Manager ->
           <*> ATI Radeon
           [*] Enable modesetting on radeon by default

In the "Support for frame buffer devices" section, make sure that all 
other drivers (including the VESA one) are disabled, or else its going 
to conflict with the Radeon modesetting driver.

In your /etc/make.conf, use this:

   VIDEO_CARDS="radeon r600"

Now for your sound card.  According to your mainboard's specs:

   http://www.asus.com/Motherboards/AMD_AM2/M2AMX/#specifications

It has an ALC662 audio chip.  That chip is made by Realtek.  So in your 
kernel config, enable:

   Device Drivers -> <*> Sound card support ->
   <*> Advanced Linux Sound Architecture ->
       [*] PCI sound devices -> <*> Intel HD Audio ->
           [*] Build Realtek HD-audio codec support

Now build your new kernel (make) and install it (make modules_install && 
make install).  Make sure Grub is set up to boot from it next time 
(don't reboot yet.)

Since above you changed your VIDEO_CARDS variable in make.conf, you can 
now do:

   emerge -auDN --with-bdeps=y world

and it will automatically install the correct X.Org driver (which should 
be "x11-drivers/xf86-video-ati" and will be installed automatically as a 
dependency).

After you've done the above, make sure that you do *not* have an 
/etc/X11/xorg.conf file.  If you have one, delete it (feel free to back 
it up first.)  Also make sure you don't have files in the 
/etc/X11/xorg.conf.d/ directory that try to configure your graphics card.

Now reboot and you should have working 3D acceleration with KMS and DRI2 
and sound.

If everything works OK, you can now do:

   emerge -a --depclean

in order to uninstall any old, unneeded drivers and deps.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: (unknown)
  2011-10-24  8:10 ` [gentoo-user] Re: (unknown) Nikos Chantziaras
@ 2011-10-24  8:18   ` Nikos Chantziaras
  2011-10-24  8:28   ` Vishnupradeep
  1 sibling, 0 replies; 10+ messages in thread
From: Nikos Chantziaras @ 2011-10-24  8:18 UTC (permalink / raw
  To: gentoo-user

On 10/24/2011 11:10 AM, Nikos Chantziaras wrote:
> On 10/23/2011 11:24 PM, Vishnupradeep wrote:
>> Mother Board : ASUS M2A-MX
>> Graphics Card: ATI 4350
>> Sound card: using on board audio
>>
>> Help needed
>
> For your graphics card, install this firmware package:
>
> x11-drivers/radeon-ucode
>
> Then, enable the following options in your kernel configuration (the
> usual "make menuconfig" deal):
>
> Device Drivers -> Graphics support ->
> <*> Direct Rendering Manager ->
> <*> ATI Radeon
> [*] Enable modesetting on radeon by default

I forgot to mention a vital step.  Also enable these in your kernel:

   Device Drivers -> Generic Driver Options ->
       [*] Include in-kernel firmware blobs in kernel binary
       (radeon/R700_rlc.bin) External firmware blobs to build into
         the kernel binary
       (/lib/firmware) Firmware blobs root directory




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: (unknown)
  2011-10-24  8:10 ` [gentoo-user] Re: (unknown) Nikos Chantziaras
  2011-10-24  8:18   ` Nikos Chantziaras
@ 2011-10-24  8:28   ` Vishnupradeep
  2011-10-24  8:36     ` Nikos Chantziaras
  1 sibling, 1 reply; 10+ messages in thread
From: Vishnupradeep @ 2011-10-24  8:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras <realnc@arcor.de> wrote:

> In your /etc/make.conf, use this:
>
>
>
I am using ATI 4350 card. so is that
VIDEO_CARDS="radeon r700"

ref:http://www.gentoo.org/doc/en/ati-faq.xml

[-- Attachment #2: Type: text/html, Size: 583 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: (unknown)
  2011-10-24  8:28   ` Vishnupradeep
@ 2011-10-24  8:36     ` Nikos Chantziaras
  2011-10-24 19:59       ` Mick
  0 siblings, 1 reply; 10+ messages in thread
From: Nikos Chantziaras @ 2011-10-24  8:36 UTC (permalink / raw
  To: gentoo-user

On 10/24/2011 11:28 AM, Vishnupradeep wrote:
>
>
> On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras <realnc@arcor.de
> <mailto:realnc@arcor.de>> wrote:
>
>     In your /etc/make.conf, use this:
>
> I am using ATI 4350 card. so is that
> VIDEO_CARDS="radeon r700"

No.  There is no driver called "r700".  The driver is called "r600" and 
it drives R600 chips and newer.

Another thing I forgot to mention is that you should make sure you're 
using Gallium3D in Mesa.  To see what you're using (after you've rebuilt 
everything), do:

   eselect mesa list

If "classic" is selected instead of "gallium", change it:

   eselect mesa set 64bit r600 gallium
   eselect mesa set 32bit r600 gallium




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: (unknown)
  2011-10-24  8:36     ` Nikos Chantziaras
@ 2011-10-24 19:59       ` Mick
  2011-10-24 20:35         ` Nikos Chantziaras
  0 siblings, 1 reply; 10+ messages in thread
From: Mick @ 2011-10-24 19:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 968 bytes --]

On Monday 24 Oct 2011 09:36:48 Nikos Chantziaras wrote:
> On 10/24/2011 11:28 AM, Vishnupradeep wrote:
> > On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras <realnc@arcor.de
> > 
> > <mailto:realnc@arcor.de>> wrote:
> >     In your /etc/make.conf, use this:
> > I am using ATI 4350 card. so is that
> > VIDEO_CARDS="radeon r700"
> 
> No.  There is no driver called "r700".  The driver is called "r600" and
> it drives R600 chips and newer.
> 
> Another thing I forgot to mention is that you should make sure you're
> using Gallium3D in Mesa.  To see what you're using (after you've rebuilt
> everything), do:
> 
>    eselect mesa list
> 
> If "classic" is selected instead of "gallium", change it:
> 
>    eselect mesa set 64bit r600 gallium
>    eselect mesa set 32bit r600 gallium

I'm getting confused ... I thought that the driver is radeon and r600 is the 
firmware blob.

Does this need adding to /etc/make.conf?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: (unknown)
  2011-10-24 19:59       ` Mick
@ 2011-10-24 20:35         ` Nikos Chantziaras
  2011-10-24 21:58           ` Mick
  0 siblings, 1 reply; 10+ messages in thread
From: Nikos Chantziaras @ 2011-10-24 20:35 UTC (permalink / raw
  To: gentoo-user

On 10/24/2011 10:59 PM, Mick wrote:
> On Monday 24 Oct 2011 09:36:48 Nikos Chantziaras wrote:
>> On 10/24/2011 11:28 AM, Vishnupradeep wrote:
>>> On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras<realnc@arcor.de
>>>
>>> <mailto:realnc@arcor.de>>  wrote:
>>>      In your /etc/make.conf, use this:
>>> I am using ATI 4350 card. so is that
>>> VIDEO_CARDS="radeon r700"
>>
>> No.  There is no driver called "r700".  The driver is called "r600" and
>> it drives R600 chips and newer.
>
> I'm getting confused ... I thought that the driver is radeon and r600 is the
> firmware blob.

"r600" is the driver.  Mesa  needs that.  "radeon" is more of a USE 
flag, needed by various ebuilds (for example "x11-base/xorg-drivers", 
"sys-power/pm-utils" and also "media-libs/mesa").  But it should be in 
VIDEO_CARDS, not in USE.


> Does this need adding to /etc/make.conf?

Yes.  Everyone who uses an AMD card should have "radeon" in VIDEO_CARDS, 
followed by either "r300" or "r600".  Of course only when we're taking 
about the X.Org drivers.  If you're going to use the Catalyst 
proprietary drivers, you should put "fglrx" in VIDEO_CARDS.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: (unknown)
  2011-10-24 20:35         ` Nikos Chantziaras
@ 2011-10-24 21:58           ` Mick
  2011-10-25  5:22             ` Nikos Chantziaras
  0 siblings, 1 reply; 10+ messages in thread
From: Mick @ 2011-10-24 21:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1839 bytes --]

On Monday 24 Oct 2011 21:35:44 Nikos Chantziaras wrote:
> On 10/24/2011 10:59 PM, Mick wrote:
> > On Monday 24 Oct 2011 09:36:48 Nikos Chantziaras wrote:
> >> On 10/24/2011 11:28 AM, Vishnupradeep wrote:
> >>> On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras<realnc@arcor.de
> >>> 
> >>> <mailto:realnc@arcor.de>>  wrote:
> >>>      In your /etc/make.conf, use this:
> >>> I am using ATI 4350 card. so is that
> >>> VIDEO_CARDS="radeon r700"
> >> 
> >> No.  There is no driver called "r700".  The driver is called "r600" and
> >> it drives R600 chips and newer.
> > 
> > I'm getting confused ... I thought that the driver is radeon and r600 is
> > the firmware blob.
> 
> "r600" is the driver.  Mesa  needs that.  "radeon" is more of a USE
> flag, needed by various ebuilds (for example "x11-base/xorg-drivers",
> "sys-power/pm-utils" and also "media-libs/mesa").  But it should be in
> VIDEO_CARDS, not in USE.

Thanks.  This is news to me.  It is not mentioned here:

  http://www.gentoo.org/doc/en/xorg-config.xml

and when I remerge media-libs/mesa-7.11 only radeon is shown under 
VIDEO_CARDS:

[ebuild   R    ] media-libs/mesa-7.11  USE="classic egl gallium llvm nptl 
shared-glapi -bindist -debug -gbm -gles -motif -openvg -pax_kernel -pic (-
selinux) -shared-dricore" VIDEO_CARDS="radeon -intel -mach64 -mga -nouveau -
r128 -savage -sis -tdfx -via -vmware" 6,406 kB


> > Does this need adding to /etc/make.conf?
> 
> Yes.  Everyone who uses an AMD card should have "radeon" in VIDEO_CARDS,
> followed by either "r300" or "r600".  Of course only when we're taking
> about the X.Org drivers.  If you're going to use the Catalyst
> proprietary drivers, you should put "fglrx" in VIDEO_CARDS.

OK, I've added it and I'm remerging mesa to see what difference it makes.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: (unknown)
  2011-10-24 21:58           ` Mick
@ 2011-10-25  5:22             ` Nikos Chantziaras
  2011-10-25  5:57               ` Vishnupradeep
  0 siblings, 1 reply; 10+ messages in thread
From: Nikos Chantziaras @ 2011-10-25  5:22 UTC (permalink / raw
  To: gentoo-user

On 10/25/2011 12:58 AM, Mick wrote:
>>> Does this need adding to /etc/make.conf?
>>
>> Yes.  Everyone who uses an AMD card should have "radeon" in VIDEO_CARDS,
>> followed by either "r300" or "r600".  Of course only when we're taking
>> about the X.Org drivers.  If you're going to use the Catalyst
>> proprietary drivers, you should put "fglrx" in VIDEO_CARDS.
>
> OK, I've added it and I'm remerging mesa to see what difference it makes.

If mesa doesn't get automatically rebuilt (changing VIDEO_CARDS counts 
as a USE flags change, so "emerge -uDN world" will pick it up), then 
that means you're using a version of mesa that doesn't recognize "r600".

I'm on mesa-9999 (one of the very few live ebuilds I use).  Now that I 
checked this, it's the only version to recognize "r300" and "r600" in 
VIDEO_CARDS.  However, that also means that future release versions of 
mesa will also recognize them (the live ebuilds are always a precursor 
of things to come.)  So adding "r300" or "r600" now doesn't hurt and 
will ensure you don't forget to do so later when mesa 7.12 (or 8.0?) 
comes out.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: (unknown)
  2011-10-25  5:22             ` Nikos Chantziaras
@ 2011-10-25  5:57               ` Vishnupradeep
  0 siblings, 0 replies; 10+ messages in thread
From: Vishnupradeep @ 2011-10-25  5:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

Thanks, Effects is working..

On Tue, Oct 25, 2011 at 10:52 AM, Nikos Chantziaras <realnc@arcor.de> wrote:

> On 10/25/2011 12:58 AM, Mick wrote:
>
>> Does this need adding to /etc/make.conf?
>>>>
>>>
>>> Yes.  Everyone who uses an AMD card should have "radeon" in VIDEO_CARDS,
>>> followed by either "r300" or "r600".  Of course only when we're taking
>>> about the X.Org drivers.  If you're going to use the Catalyst
>>> proprietary drivers, you should put "fglrx" in VIDEO_CARDS.
>>>
>>
>> OK, I've added it and I'm remerging mesa to see what difference it makes.
>>
>
> If mesa doesn't get automatically rebuilt (changing VIDEO_CARDS counts as a
> USE flags change, so "emerge -uDN world" will pick it up), then that means
> you're using a version of mesa that doesn't recognize "r600".
>
> I'm on mesa-9999 (one of the very few live ebuilds I use).  Now that I
> checked this, it's the only version to recognize "r300" and "r600" in
> VIDEO_CARDS.  However, that also means that future release versions of mesa
> will also recognize them (the live ebuilds are always a precursor of things
> to come.)  So adding "r300" or "r600" now doesn't hurt and will ensure you
> don't forget to do so later when mesa 7.12 (or 8.0?) comes out.
>
>
>

[-- Attachment #2: Type: text/html, Size: 2014 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-25  5:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-23 20:24 [gentoo-user] Vishnupradeep
2011-10-24  8:10 ` [gentoo-user] Re: (unknown) Nikos Chantziaras
2011-10-24  8:18   ` Nikos Chantziaras
2011-10-24  8:28   ` Vishnupradeep
2011-10-24  8:36     ` Nikos Chantziaras
2011-10-24 19:59       ` Mick
2011-10-24 20:35         ` Nikos Chantziaras
2011-10-24 21:58           ` Mick
2011-10-25  5:22             ` Nikos Chantziaras
2011-10-25  5:57               ` Vishnupradeep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox