[gentoo-user] Re: (unknown)

2011-10-24 Thread Nikos Chantziaras

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 Chantziarasrea...@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.




[gentoo-user] Re: (unknown)

2011-10-24 Thread Nikos Chantziaras

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




Re: [gentoo-user] Re: (unknown)

2011-10-24 Thread Vishnupradeep
On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras rea...@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


[gentoo-user] Re: (unknown)

2011-10-24 Thread Nikos Chantziaras

On 10/24/2011 11:28 AM, Vishnupradeep wrote:



On Mon, Oct 24, 2011 at 1:40 PM, Nikos Chantziaras rea...@arcor.de
mailto:rea...@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




Re: [gentoo-user] Re: (unknown)

2011-10-24 Thread Mick
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 rea...@arcor.de
  
  mailto:rea...@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


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: (unknown)

2011-10-24 Thread Nikos Chantziaras

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 Chantziarasrea...@arcor.de

mailto:rea...@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.





Re: [gentoo-user] Re: (unknown)

2011-10-24 Thread Mick
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 Chantziarasrea...@arcor.de
  
  mailto:rea...@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


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: (unknown)

2011-10-24 Thread Nikos Chantziaras

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- (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.





Re: [gentoo-user] Re: (unknown)

2011-10-24 Thread Vishnupradeep
Thanks, Effects is working..

On Tue, Oct 25, 2011 at 10:52 AM, Nikos Chantziaras rea...@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- (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.





Re: [gentoo-user] Re: unknown media type error when updating

2010-03-28 Thread Xi Shen
On Sun, Mar 28, 2010 at 12:27 PM, Nikos Chantziaras rea...@arcor.de wrote:
 I guess they're not really expected to be unknown, but they're harmless as
 long as you don't get disappearing icons.  If you do, then this is for you:

 http://bugs.gentoo.org/show_bug.cgi?id=288312

 This came up quite a while back on the mailing list, and IIRC, the
 solution was that there is no solution :P


great, i have not seen any broken icons yet. guess i can ignore them.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] Re: unknown media type error when updating

2010-03-27 Thread Nikos Chantziaras

On 03/27/2010 02:14 PM, Xi Shen wrote:

hi,

i noticed the following error messages when i was updating my system.

* Updating shared mime info database ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'


how to fix this?


You can't.  It's perfectly normal.  It's not even an error.




Re: [gentoo-user] Re: unknown media type error when updating

2010-03-27 Thread Xi Shen
so...there are expected to be unknown? haha...that is interesting.

anyway, thanks. :)


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] Re: unknown media type error when updating

2010-03-27 Thread Nikos Chantziaras

On 03/28/2010 06:36 AM, Xi Shen wrote:

so...there are expected to be unknown? haha...that is interesting.

anyway, thanks. :)


I guess they're not really expected to be unknown, but they're harmless 
as long as you don't get disappearing icons.  If you do, then this is 
for you:


http://bugs.gentoo.org/show_bug.cgi?id=288312

This came up quite a while back on the mailing list, and IIRC, the 
solution was that there is no solution :P