Re: [gentoo-user] can't get accelerated opengl renderer ati radeon xpress 200M

2010-04-08 Thread Gregory Shearman
In linux.gentoo.user, you wrote:

GentooPenguin# /usr/sbin/lspci | grep Radeon

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
Xpress 200M]

 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: Open failed
 drmOpenByBusid: Searching for BusID pci::01:05.0
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: Open failed
 drmOpenByBusid: drmOpenMinor returns -19
 drmOpenDevice: node name is /dev/dri/card1
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: Open failed
 drmOpenByBusid: drmOpenMinor returns -19
 drmOpenDevice: node name is /dev/dri/card2
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: Open failed
 drmOpenByBusid: drmOpenMinor returns -19
 (etc, etc, etc, etc, etc, etc, etc)
 (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
 [dri] Disabling DRI.


 Well the directory /dev/dri/ is empty, so there you go.

Hmmm... Mine has an entry for card0:

GentooPenguin# ls -l /dev/dri

crw-rw 1 root video 226, 0 2010-04-08 17:42 card0

Are you sure your opengl libraries are being found in /usr/lib/opengl?

I used to run the ATI proprietary driver and switched to the open Radeon
driver and remember some fiddling was required in this directory,
possibly a symlink pointing in the wrong direction.

What does the command eselect opengl list show you?

Mine tells me that the xorg-x11 driver is being used.

 I have these package versions:

 xorg-server 1.7.6
 mesa 7.8
 libdrm 2.4.19
 xf86-video-ati 6.12.192
 xorg-drivers 1.7

I'm running:

xorg-server 1.6.5-r1
mesa7.5.2
libdrm  2.4.15
xf86-video-ati  6.12.5
xorg-drivers1.6


 I have drm set in my kernel too:

 t...@o_0 ~ $ zgrep DRM /proc/config.gz
 CONFIG_DRM=m
 CONFIG_DRM_KMS_HELPER=m
 CONFIG_DRM_TTM=m
 # CONFIG_DRM_TDFX is not set
 # CONFIG_DRM_R128 is not set
 CONFIG_DRM_RADEON=m
 CONFIG_DRM_RADEON_KMS=y
 # CONFIG_DRM_I810 is not set
 # CONFIG_DRM_I830 is not set
 # CONFIG_DRM_I915 is not set
 # CONFIG_DRM_MGA is not set
 # CONFIG_DRM_SIS is not set
 # CONFIG_DRM_VIA is not set
 # CONFIG_DRM_SAVAGE is not set
 # CONFIG_DRM_VMWGFX is not set
 # CONFIG_DRM_NOUVEAU is not set
 # CONFIG_DRM_I2C_CH7006 is not set

GentooPenguin$ zgrep DRM /proc/config.gz

CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set

 and this dmesg output appears to indicate that its working ok:

 [   53.428828] [drm] Initialized drm 1.1.0 20060810
 [   53.642115] [drm] radeon defaulting to kernel modesetting.
 [   53.642122] [drm] radeon kernel modesetting enabled.

 But glxgears only gets about 19 fps. Here is what glxinfo | grep OpenGL 
 reports:

I get:

1438 frames in 5.0 seconds = 287.483 FPS

Not really screaming along, but adequate for my needs.

 Section Module
   Load  record
   Load  extmod
   Load  dri
   Load  glx
   Load  GLcore
   Load  dri2
   Load  dbe
 EndSection

My xorg.conf shows:

Section Module
Load  extmod
Load  dri   
Load  dbe   
Load  record
Load  xtrap 
Load  glx   
EndSection

 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option ShadowFB# [bool]
 #Option DefaultRefresh  # [bool]
 #Option ModeSetClearScreen  # [bool]
   Identifier  Card0
   Driver  radeon
   VendorName  ATI Technologies Inc
   BoardName   RC410 [Radeon Xpress 200M]
   BusID   PCI:1:5:0
   Option  MergedFB  true
   Option  CRT2Position  LeftOf
   Option  ColorTiling   true
   Option  EnablePageFliptrue
   #Option AccelMethod   EXA
   #Option AccelDFS  true
 EndSection

My Device Section:

Section Device
Identifier  ATI Graphics Adapter 0
Driver  radeon
Option  AccelMethod   EXA
BusID   PCI:1:5:0
EndSection

 If anyone has any idea, please let me know. Would posting to the xorg
 or radeon mailing lists be good places for help as well?

I hope this helps.

-- 
Regards,

Gregory.
Gentoo Linux - Penguin Power



Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Fernando Antunes
On Thu, Apr 8, 2010 at 1:11 AM, Joseph syscon...@gmail.com wrote:

 I've activated Network adapter in VirtualBox (running Windows XP) but I it
 is not working. It works only in NAT mode not in Bridge mode.

I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
not sure, but did you configure bridge support in your Linux kernel ?


 The worst part is when I enable bridge mode on second adapter the keyboard
 lock up, so I need to reboot the box :-/

 I've copied the VM into my other box and VirtualBox Network part is working
 in both Bridge and NAT mode.
 So I can not seem to understand why it is working on one box but not the
 other.

 Does it have something to do with Promiscuous Mode?

 --
 Joseph




[gentoo-user] Re: VirtualBox bridge mode eth0

2010-04-08 Thread Nikos Chantziaras

On 04/08/2010 07:11 AM, Joseph wrote:

I've activated Network adapter in VirtualBox (running Windows XP) but I
it is not working. It works only in NAT mode not in Bridge mode.
The worst part is when I enable bridge mode on second adapter the
keyboard lock up, so I need to reboot the box :-/

I've copied the VM into my other box and VirtualBox Network part is
working in both Bridge and NAT mode.
So I can not seem to understand why it is working on one box but not the
other.

Does it have something to do with Promiscuous Mode?


Promiscuous Mode is needed for bridging to work.  This is why NAT mode 
is preferable, btw, unless you have a good reason to use bridging.





Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Joseph

On 04/08/10 07:40, Fernando Antunes wrote:

On Thu, Apr 8, 2010 at 1:11 AM, Joseph syscon...@gmail.com wrote:


I've activated Network adapter in VirtualBox (running Windows XP) but I it
is not working. It works only in NAT mode not in Bridge mode.


I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
not sure, but did you configure bridge support in your Linux kernel ?


Good suggestion, I just need to find it.
Which option is it?  


--
Joseph



Re: [gentoo-user] Re: VirtualBox bridge mode eth0

2010-04-08 Thread Joseph

On 04/08/10 13:40, Nikos Chantziaras wrote:

On 04/08/2010 07:11 AM, Joseph wrote:

I've activated Network adapter in VirtualBox (running Windows XP) but I
it is not working. It works only in NAT mode not in Bridge mode.
The worst part is when I enable bridge mode on second adapter the
keyboard lock up, so I need to reboot the box :-/

I've copied the VM into my other box and VirtualBox Network part is
working in both Bridge and NAT mode.
So I can not seem to understand why it is working on one box but not the
other.

Does it have something to do with Promiscuous Mode?


Promiscuous Mode is needed for bridging to work.  This is why NAT 
mode is preferable, btw, unless you have a good reason to use 
bridging.


How to check if network card is set/support promiscuose mode?
I know to set it is:
ifconfig eth0 promisc

I need to mount some directory via samba to backup some windows files and in NAT mode was not able to mount the Windows XP directory, it bridge mode 
samba has no problem mounting windows directory.


--
Joseph



Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Fernando Antunes
On Thu, Apr 8, 2010 at 10:24 AM, Joseph syscon...@gmail.com wrote:

 On 04/08/10 07:40, Fernando Antunes wrote:

 On Thu, Apr 8, 2010 at 1:11 AM, Joseph syscon...@gmail.com wrote:

  I've activated Network adapter in VirtualBox (running Windows XP) but I
 it
 is not working. It works only in NAT mode not in Bridge mode.

  I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP).
 I'm
 not sure, but did you configure bridge support in your Linux kernel ?


 Good suggestion, I just need to find it.
 Which option is it?




Probally you are using virtualbox greater than 2.1. Just do this :

Networking ---
Networking Options ---
* 802.1d Ethernet Bridging

and loaded this three modules. I believe the second one is mandatory to
bridge.
vboxnetadp
vboxnetflt
vboxdrv

More information here :

http://en.gentoo-wiki.com/wiki/Virtualbox#Bridged




 --
 Joseph




Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Joseph

On 04/08/10 13:33, Fernando Antunes wrote:

On Thu, Apr 8, 2010 at 10:24 AM, Joseph syscon...@gmail.com wrote:


On 04/08/10 07:40, Fernando Antunes wrote:


On Thu, Apr 8, 2010 at 1:11 AM, Joseph syscon...@gmail.com wrote:

 I've activated Network adapter in VirtualBox (running Windows XP) but I

it
is not working. It works only in NAT mode not in Bridge mode.

 I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP).

I'm
not sure, but did you configure bridge support in your Linux kernel ?



Good suggestion, I just need to find it.
Which option is it?





Probally you are using virtualbox greater than 2.1. Just do this :

Networking ---
   Networking Options ---
   * 802.1d Ethernet Bridging

and loaded this three modules. I believe the second one is mandatory to
bridge.
vboxnetadp
vboxnetflt
vboxdrv

More information here :

http://en.gentoo-wiki.com/wiki/Virtualbox#Bridged


I don't think I need this option:
* 802.1d Ethernet Bridging
as according to gentoo wiki: 
...Note: The following steps are not necessary for setting up Host Interface on VirtualBox = 2.1. 


I'm using VirtualBox-bin 3.1.6
and on my two other systems AMD quad core and Intel Quad-core Bridge networking works 
OK without: * 802.1d Ethernet Bridging

--
Joseph



Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Joseph

On 04/08/10 13:33, Fernando Antunes wrote:


Probally you are using virtualbox greater than 2.1. Just do this :

Networking ---
   Networking Options ---
   * 802.1d Ethernet Bridging

and loaded this three modules. I believe the second one is mandatory to
bridge.
vboxnetadp
vboxnetflt
vboxdrv

More information here :

http://en.gentoo-wiki.com/wiki/Virtualbox#Bridged


No, it is defiantly not the option, when I compile it in VirtualBox will not 
start and it freezes my box, mouse is not even responding.

--
Joseph



Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Kyle Bader
CONFIG_BRIDGE :)

On 4/8/10, Joseph syscon...@gmail.com wrote:
 On 04/08/10 07:40, Fernando Antunes wrote:
On Thu, Apr 8, 2010 at 1:11 AM, Joseph syscon...@gmail.com wrote:

 I've activated Network adapter in VirtualBox (running Windows XP) but I
 it
 is not working. It works only in NAT mode not in Bridge mode.

I'm running VirtualBox Binary in bridge mode (host Gentoo, guest XP). I'm
not sure, but did you configure bridge support in your Linux kernel ?

 Good suggestion, I just need to find it.
 Which option is it?

 --
 Joseph



-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] VirtualBox bridge mode eth0

2010-04-08 Thread Joseph

On 04/08/10 10:55, Kyle Bader wrote:

CONFIG_BRIDGE :)


grep -i config_bridge .config
# CONFIG_BRIDGE is not set

CONFIG_BRIDGE refers to iptable (netfilter) I think; beside on my other two 
boxes CONFIG_BRIDGE is not set and bridge in VirtualBox is working OK.
The only box that VM bridge network is not working is Intel ATOM 330 with with 
RTL8168c/8111c network card.
It seems to me this card support Promiscuous Mode
http://developer.novell.com/yes/70604.htm
I hope the one in the kernel does.

--
Joseph



[gentoo-user] Gfx for Linux Gaming

2010-04-08 Thread Mark Knecht
Hi,
   I know this question is vague but I'm not a gamer so excuse my
ignorance and thanks in advance.

   I'm building a machine that is somewhat over the top for power - i7
980x 6 core, hyperthreaded for 12 processing threads, lots of cache,
24GB DRAM, 1TB RAID0 and 500GB RAID1. The main job for this machine is
to run maybe 5 copies of Windows 7 ( 10 threads ) doing number
crunching and Gentoo-AMD64 as the host. (If I ever find Open Source to
do what I'm using Windows for but that's for another thread in the
future.)

   Anyway, the machine is coming together and I need to get a graphics
adaper. I don't plan on doing much gaming, at least right now, but if
I wanted to get __moderately__ high-end graphics performance under
Linux what would I buy? Generally I prefer Open Source drivers but I'm
not political about it and historically have had better results with
NVidia than ATI but I own both and both work.

   I don't want to go over the top price-wise as it's not the purpose
of this machine at all, but I might as well have a little fun once in
awhile if possible. Assume maybe $200 for the card unless there's
something to really be gained going up a bit more.

Cheers,
Mark



Re: [gentoo-user] Portage + checksums

2010-04-08 Thread Mick
On Wednesday 07 April 2010 16:06:03 Butterworth, John W. wrote:
 So to avoid spamming with 20+ Thank You emails I'll send out just one and
 thank you all collectively for the information provided (I hope this isn't
 rude - I'm not sure of proper protocol in this situation).
 
 I have a lot more insight now and some new ideas of where I need to look to
 learn more.  This is a great community and it reflects in the OS - I don't
 know why I waited so long to try Gentoo.(??)!

I was wrong, this was kicking around before 2004!  Feast your eyes on this and 
the steps taken by devs to achieve a workable security process:

http://www.gentoo.org/proj/en/glep/glep-0057.html

This is a brief summary of the compromise that took place in 2003:

http://www.compatdb.org/forums/topic/882-rsyncgentooorg-rotation-server-
compromised/
-- 
Regards,
Mick


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


Re: [gentoo-user] Gfx for Linux Gaming

2010-04-08 Thread Robert Bridge
nVidia at the moment is a bit of a risk, as there is a whole raft of
issues going on with nVidia hardware. If their drivers work, they will
likely give better performance and features than AMDs options, and so
long as the hardware holds up. Read up on nVidia bumps issue for more
information.

However... AMD have an open-source strategy and an official
open-source driver stack. Their open-source drivers are good, and
getting better, but are not feature complete yet, nor really
competitive for performance in 3D games. I'm not aware of any major
issues surrounding AMD graphics, except the general complaints that
the FOSS drivers aren't yet good enough.

YMMV,
RobbieAB



[gentoo-user] Match of the udev and the kernel

2010-04-08 Thread Song Zhiwei
Dear all,

I installed gentoo-sources-2.6.24-r8 for a legacy esdcan-usb331
driver. The current udev-149 does not match this kernel now. Who can
tell me which version of udev can work with linux kernel
2.6.24-gentoo-r8?

Regards,
Zhiwei



[gentoo-user] lzma conflicting man?

2010-04-08 Thread meino . cramer

Hi,

this morning an update wants to install coreutils with
coreutils-patches, which are compressed via the lzma-tool,
which is not found on my system.

app-arch/lzma is masked.

I unmasked it and now emerge -pv reports:
Calculating dependencies... done!
[ebuild  N] app-arch/lzma-4.65  USE=-doc 282 kB
[blocks B ] app-arch/lzma (app-arch/lzma is blocking sys-apps/man-1.6f-r3)


How can I get out of this ?

Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Gfx for Linux Gaming

2010-04-08 Thread Volker Armin Hemmann
5850 or 5870.

You have a hard time to get anything besides a 250 from Nvidia (and Charlie 
predicted and explained that ...). And a 250 is just a twice rebranded 
8800