[gentoo-user] libungif??

2011-02-19 Thread Tony Miller
It seems libungif has been deprecated, but I'd like to install a
program that requires it. Should there be any conflicts if I have
libungif and giflib installed on one system?



[gentoo-user] no text in certain flash app

2010-04-14 Thread Tony Miller
Hi, I've noticed that in linux(in all browsers), I cannot see the text
on this page.

http://musictheory.net/lessons/html/id10_en.html

There is supposed to be different text each time you hit the 'next'
slide, but I see none. Kinda sucks because this site is very useful.

I have www-plugins/adobe-flash version 10.0.45.2 installed.


-- 
-Tony



Re: [gentoo-user] no text in certain flash app

2010-04-14 Thread Tony Miller
On Wed, Apr 14, 2010 at 11:00:41PM -0500, Dale wrote:
 I see the music bars in almost all the slides.  I see the little 
 keyboard on the right in a couple of them.  I didn't ever see any text 
 except for the letters that correspond to the notes.  I'm assuming that 
 the text would be almost to the bottom of the page tho.  If that is 
 correct then I can confirm it is not there with Seamonkey 2, Firefox and 
 Konqueror.  Those are the browsers I have installed.

There is definitely supposed to be text on the bottom of the page.

Glad its not just me.

I'm probably just going to find a music theory program that isnt a
webpage.

-- 
-Tony



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

2010-04-12 Thread Tony Miller
On Sat, Apr 10, 2010 at 11:31 PM, Gregory Shearman zek...@gmail.com wrote:

 Why are libX11-xcb.so.1, libX11.so.6, libdrm.so.2 in the
 /opt/gfx-test/lib directory rather than in /usr/lib as they are on my
 machine?
Sorry about that, this /opt/gfx-test/ directory was something I
created to test a hand compiled X stack. It shouldn't be interfering
with running the portage installed X stack, but I should make sure to
be completely certain.


 Have you followed the Hardware Acceleration Guide's Kernel config
 directions?

 I've got the:

 Processor type and features ---
 * MTRR (Memory Type Range Register) support

 Device drivers ---
   Graphics support ---
      M /dev/agpgart (AGP Support) ---
      M  Direct Rendering Manager (XFree86 4.1.0 and higher DRI
      support) ---


 selected, as well as:

        M ATI Radeon


After you mentioned this I decided to check my kernel configuration again.

Device drivers ---
   Graphics support ---
   Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  ---
[*] Enable modesetting on radeon by default - NEW DRIVER

Here's part of the description for this option:

Choose this option if you want kernel modesetting enabled by default.

   This is a completely new driver. It's only part of the existing drm
   for compatibility reasons. It requires an entirely different graphics
   stack above it and works very differently from the old drm stack.
   i.e. don't enable this unless you know what you are doing it may
   cause issues or bugs compared to the previous userspace driver stack.

   When kernel modesetting is enabled the IOCTL of radeon/drm
   driver are considered as invalid and an error message is printed
   in the log and they return failure.

This made me reconsider whether I should set this option or not...

I gave it a try without the option set and I get direct rendering fine.

t...@o_0 ~ $ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI R300 (RS400 5A62) 20090101 x86/MMX/SSE2 NO-TCL

Now I have card0 in /dev/dri.

I get about 100 fps now, not extremely fast but certainly a lot better
than before!



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

2010-04-10 Thread Tony Miller
On Thu, Apr 8, 2010 at 1:18 AM, Gregory Shearman zek...@gmail.com wrote:
 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]

Yesssir!

o_0 tony # lspci | grep Radeon
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
Xpress 200M]

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

Maybe we could compare this information:

o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/lib/
total 352K
lrwxrwxrwx 1 root root   10 2010-04-08 02:46 libGL.so - libGL.so.1
lrwxrwxrwx 1 root root   12 2010-04-08 02:46 libGL.so.1 - libGL.so.1.2
-rwxr-xr-x 1 root root 345K 2010-04-08 02:45 libGL.so.1.2

o_0 opengl # ldd /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
linux-gate.so.1 =  (0xb7851000)
libXext.so.6 = /usr/lib/libXext.so.6 (0xb77ce000)
libXxf86vm.so.1 = /usr/lib/libXxf86vm.so.1 (0xb77c8000)
libXdamage.so.1 = /usr/lib/libXdamage.so.1 (0xb77c4000)
libXfixes.so.3 = /usr/lib/libXfixes.so.3 (0xb77be000)
libX11-xcb.so.1 = /opt/gfx-test/lib/libX11-xcb.so.1 (0xb77ba000)
libX11.so.6 = /opt/gfx-test/lib/libX11.so.6 (0xb769d000)
libxcb-glx.so.0 = /usr/lib/libxcb-glx.so.0 (0xb768a000)
libxcb.so.1 = /usr/lib/libxcb.so.1 (0xb766f000)
libdrm.so.2 = /opt/gfx-test/lib/libdrm.so.2 (0xb7664000)
libm.so.6 = /lib/libm.so.6 (0xb763e000)
libpthread.so.0 = /lib/libpthread.so.0 (0xb7624000)
libdl.so.2 = /lib/libdl.so.2 (0xb762)
libc.so.6 = /lib/libc.so.6 (0xb74d8000)
libXau.so.6 = /usr/lib/libXau.so.6 (0xb74d4000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb74ce000)
librt.so.1 = /lib/librt.so.1 (0xb74c4000)
/lib/ld-linux.so.2 (0xb7852000)


o_0 opengl # ls -lh /usr/lib/opengl/xorg-x11/extensions/
total 388K
-rwxr-xr-x 1 root root  14K 2010-04-05 18:13 libdri2.so
-rwxr-xr-x 1 root root  38K 2010-04-05 18:13 libdri.so
-rwxr-xr-x 1 root root 327K 2010-04-05 18:13 libglx.so

o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri2.so
linux-gate.so.1 =  (0xb7837000)
libdrm.so.2 = /opt/gfx-test/lib/libdrm.so.2 (0xb780c000)
libm.so.6 = /lib/libm.so.6 (0xb77e6000)
librt.so.1 = /lib/librt.so.1 (0xb77dd000)
libc.so.6 = /lib/libc.so.6 (0xb7695000)
/lib/ld-linux.so.2 (0xb7838000)
libpthread.so.0 = /lib/libpthread.so.0 (0xb767b000)

o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libdri.so
linux-gate.so.1 =  (0xb773b000)
libdrm.so.2 = /opt/gfx-test/lib/libdrm.so.2 (0xb770b000)
libm.so.6 = /lib/libm.so.6 (0xb76e5000)
librt.so.1 = /lib/librt.so.1 (0xb76dc000)
libc.so.6 = /lib/libc.so.6 (0xb7594000)
/lib/ld-linux.so.2 (0xb773c000)
libpthread.so.0 = /lib/libpthread.so.0 (0xb757a000)

o_0 opengl # ldd /usr/lib/opengl/xorg-x11/extensions/libglx.so
linux-gate.so.1 =  (0xb78a2000)
libm.so.6 = /lib/libm.so.6 (0xb780e000)
librt.so.1 = /lib/librt.so.1 (0xb7805000)
libc.so.6 = /lib/libc.so.6 (0xb76bd000)
/lib/ld-linux.so.2 (0xb78a3000)
libpthread.so.0 = /lib/libpthread.so.0 (0xb76a4000)

I also see a lot of lines like this in my Xorg.log, any particular one
I should look out for?

(II) Loading /usr/lib/xorg/modules/extensions/libglx.so


 What does the command eselect opengl list show you?

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

o_0 tony # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

 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.

That would be good enough for me as well.  :)

 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          EnablePageFlip        true
       #Option         AccelMethod   EXA
       #Option         AccelDFS              true
 EndSection

 My Device Section:

 Section 

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

2010-04-07 Thread Tony Miller
On Wed, Apr 07, 2010 at 09:25:21AM +0200, Marc Joliet wrote:
 Am Tue, 6 Apr 2010 13:12:39 -0700
 schrieb Tony Miller mcfiredr...@gmail.com:
 
 I also have an empty xorg.conf, maybe it's worth trying it out. Perhaps you
 just have a bad combination of options (even if you got them from the 
 official
 documentation)?
 

Tried an empty xorg.conf, still getting same error in Xorg.log and
Software Renderer for OpenGl Renderer.
  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 have one idea: which Kernel are you using? I have gentoo-sources-2.6.33
 installed. I read that the radeon devs recommend to use kernel versions 
 =2.6.33
 for KMS instead of 2.6.32.
 
I also have 2.6.33.
 Just goes to show how different ones experience with the same software can be.
 For me and my HD4650 (r6xx) it was smooth sailing: I followed Gentoos 3D
 acceleration guide and just needed to install the radeon-ucode package and
 everything just worked.

Yeah, wish I could afford a different card, this one is being pretty
difficult it seems.

-Tony



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

2010-04-06 Thread Tony Miller
I've been trying for awhile now to get the accelerated opengl renderer
working on my radeon xpress 200M card(which is supposedly an rv370 or
rs4000 according to this wiki page:
http://dri.freedesktop.org/wiki/ATIRadeon). I've been following this
guide alot: http://dri.freedesktop.org/wiki/ATIRadeon

I know it is important to change this string from glxinfo:

OpenGL renderer string: Software Rasterizer

to this:

OpenGL renderer string: Mesa DRI R200 (RV280 5C61) 20090101
x86/MMX+/3DNow!+/SSE TCL DRI2

But I'm not sure how.

This error in my xorg.log seems to be the key:


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.

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

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:
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8
OpenGL shading language version string: 1.20
OpenGL extensions:

And might as well post my xorg.conf as well:
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/lib/xorg/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/OTF
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/100dpi/
FontPath /usr/share/fonts/75dpi/
EndSection

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

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
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

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth24
SubSection Display
Depth 24
Modes 1280x1024 1280x800 1024x768 800x600 640x480
  

Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?

2010-03-17 Thread Tony Miller
Well it was working, then I wanted to add this to my /etc/conf.d/net:

essid_ra0=( my essid )

Now the same problem is happening again, any advice?

Nothing else in my /etc/conf.d/net except for this:

sleep_scan_ra0=5
config_ra0=( dhcp )


On Fri, Mar 12, 2010 at 12:59 PM, Tony Miller mcfiredr...@gmail.com wrote:

 That was just it! Thank you so much.


 On Thu, Mar 11, 2010 at 10:54 PM, Mick michaelkintz...@gmail.com wrote:

 On Friday 12 March 2010 06:12:55 Tony Miller wrote:
  I have added /etc/init.d/net.ra0 (my wireless interface is called ra0
  instead of wlan0) to the default runlevel. It starts the script at boot,
   but it acts like the device has not been brought up(i.e. with ifconfig
 ra0
   up). For instance the boot log will say:
 
  * Starting ra0
  *  Configuring wireless network for ra0
  Error for wireless request Set Mode (8B06) :
  SET failed on device ra0; Network is down
  Error for wireless request Set encode (8B2A) :
  SET failed on device ra0; Network is down
  Error for wireless request Set essid (8B1A) :
  SET failed on device ra0; Network is down
 
  And so on and so on for all the different settings, until it finally
 gives
  up.
 
  I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect
 to
  the network just fine! Of course I would like it to start at boot
 however.
 
  Any ideas? The init script is broken? The actual init script is very
  complicated, and even if it were easy to just add ifconfig ra0 up
  somewhere to it, I'm not sure if that's the best solution.

 Look at /etc/conf.d/wireless.example to see how you are meant to configure
 /etc/conf.d/net to manage your wireless card either using iwconfig, or
 using
 wpa_supplicant.  You probably need something like:

 sleep_scan_ra0=3 #where 3 is three seconds

 HTH.
 --
 Regards,
 Mick





Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?

2010-03-12 Thread Tony Miller
That was just it! Thank you so much.

On Thu, Mar 11, 2010 at 10:54 PM, Mick michaelkintz...@gmail.com wrote:

 On Friday 12 March 2010 06:12:55 Tony Miller wrote:
  I have added /etc/init.d/net.ra0 (my wireless interface is called ra0
  instead of wlan0) to the default runlevel. It starts the script at boot,
   but it acts like the device has not been brought up(i.e. with ifconfig
 ra0
   up). For instance the boot log will say:
 
  * Starting ra0
  *  Configuring wireless network for ra0
  Error for wireless request Set Mode (8B06) :
  SET failed on device ra0; Network is down
  Error for wireless request Set encode (8B2A) :
  SET failed on device ra0; Network is down
  Error for wireless request Set essid (8B1A) :
  SET failed on device ra0; Network is down
 
  And so on and so on for all the different settings, until it finally
 gives
  up.
 
  I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect
 to
  the network just fine! Of course I would like it to start at boot
 however.
 
  Any ideas? The init script is broken? The actual init script is very
  complicated, and even if it were easy to just add ifconfig ra0 up
  somewhere to it, I'm not sure if that's the best solution.

 Look at /etc/conf.d/wireless.example to see how you are meant to configure
 /etc/conf.d/net to manage your wireless card either using iwconfig, or
 using
 wpa_supplicant.  You probably need something like:

 sleep_scan_ra0=3 #where 3 is three seconds

 HTH.
 --
 Regards,
 Mick



Re: [gentoo-user] stop eth0 from starting at boot

2010-03-11 Thread Tony Miller
I modified the RC_PLUG_SERVICES like this:

RC_PLUG_SERVICES=net.ra0 !net.eth0

This appears to have worked perfectly! net.eth0 does not start at boot at
all. Thanks so much!

On Wed, Mar 10, 2010 at 1:18 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 09 Mar 2010 23:53:00 -0600, Dale wrote:

  This is a common problem.  I am on baselayout 1 so if you are on
  baselayout 2, this may not help.  In /etc/conf.d/rc file, add this line
  or edit the line you already have:
 
  RC_PLUG_SERVICES=net.wlan !net.eth*

 In baselayout-2 this is set in /etc/rc.conf. I use

 rc_hotplug=!net.*

 to let all interfaces be handled by Wicd.


 --
 Neil Bothwick

 All generalizations are false, including this one.



[gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?

2010-03-11 Thread Tony Miller
I have added /etc/init.d/net.ra0 (my wireless interface is called ra0
instead of wlan0) to the default runlevel. It starts the script at boot, but
it acts like the device has not been brought up(i.e. with ifconfig ra0 up).
For instance the boot log will say:

* Starting ra0
*  Configuring wireless network for ra0
Error for wireless request Set Mode (8B06) :
SET failed on device ra0; Network is down
Error for wireless request Set encode (8B2A) :
SET failed on device ra0; Network is down
Error for wireless request Set essid (8B1A) :
SET failed on device ra0; Network is down

And so on and so on for all the different settings, until it finally gives
up.

I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect to
the network just fine! Of course I would like it to start at boot however.

Any ideas? The init script is broken? The actual init script is very
complicated, and even if it were easy to just add ifconfig ra0 up
somewhere to it, I'm not sure if that's the best solution.

Thanks,
-Tony


[gentoo-user] stop eth0 from starting at boot

2010-03-09 Thread Tony Miller
/etc/init.d/net.eth0 is not in any runlevels:

o_0 tony # rc-update show
bootmisc | boot
 checkfs | boot
   checkroot | boot
   clock | boot
 consolefont | boot
hald |  default
hostname | boot
 keymaps | boot
   local |  default nonetwork
  localmount | boot
 modules | boot
  net.lo | boot
   net.wlan0 |  default
netmount |  default
  ntp-client |  default
   rmnologin | boot
sshd |  default
  udev-postmount |  default
 urandom | boot
  vixie-cron |  default
 xdm |  default

Yet it still insists on trying to start at boot! This isn't What I Want,
since this computer is a laptop and I generally use the wifi.

Could it be related to udev or hotplug?

Thanks,
-Tony