Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Raffaele BELARDI
On 06/02/2013 05:08 PM, Grant wrote:
 I'm getting this in /var/log/Xorg.0.log on a very old desktop:
 
 (EE) AIGLX error: dlopen of /usr/lib/dri/i810_dri.so failed
 (/usr/lib/dri/i810_dri.so: cannot open shared object file: No such
 file or directory)
 (EE) AIGLX: reverting to software rendering
 
 The system is remote to me but I'm pretty sure X is working.  I think
 it's supposed to be a mesa file but I've tried reinstalling mesa:
 
 [ebuild   R] media-libs/mesa-9.1.2-r1  USE=classic egl gallium
 llvm nptl pax_kernel pic shared-glapi -bindist -debug -gbm -gles1
 -gles2 -openvg -osmesa (-r600-llvm-compiler) (-selinux) -vdpau
 (-wayland) -xa -xorg -xvmc PYTHON_SINGLE_TARGET=python2_7
 -python2_6 PYTHON_TARGETS=python2_7 -python2_6 VIDEO_CARDS=intel
 -i915 -i965 -nouveau -r100 -r200 -r300 -r600 -radeon (-radeonsi)
 -vmware
 

I had a similar problem but X did not start in my case. The only way to
solve it was by adding
Option  DRI false
to Xorg.conf. The GPU is i810 here.

My understanding is that since i810_dri was removed from mesa a lot of
versions ago you need to disable DRI in xorg-server, otherwise the
error. Also to get some acceleration you need an older version of
xorg-server I think because intel supports only XAA and that was
removed from xorg starting from 1.13 (I'm using xorg-server 1.12.4-r1).

# grep xorg /etc/portage/package.mask
=x11-base/xorg-server-1.13.1

xorg-server-1.13 and above here work, but window dragging is slw.

raf


Re: [gentoo-user] Poor sound quality

2013-06-03 Thread Neil Bothwick
On Sun, 2 Jun 2013 21:34:21 -0700, Chris Stankevitz wrote:

 My sound started sounding like crap ~6 months ago.  Imagine someone
 has control of my volume knob and is quickly (~5Hz) turning the volume
 knob up and down.  That is a rough idea of what it sounds like.
 
 This happens whether I am listening a beautiful song or whether I'm
 listening to 'white noise'.  Happens with my laptop speakers or with
 headphones.
 
 Can anyone hazard a guess as to what is wrong?  FYI I'm using a Dell
 M6600 with the same amd64 gentoo install for ~2 years.

Eliminate hardware failure as a cause by trying it from a live CD.


-- 
Neil Bothwick

This man is depriving a village somewhere of an idiot


signature.asc
Description: PGP signature


Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Adam Carter
Usually this sort of error is fixed with a rebuild of xf86-video-intel


Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Adam Carter

 Usually this sort of error is fixed with a rebuild of xf86-video-intel


Scratch that - memory fail.


[gentoo-user] usbip

2013-06-03 Thread William Kenworthy
I am playing with usbip to export an afatech dvb usb stick to a VM.  It
appears to work up until it tries to load the firmware (from the vm) and
fails.  Google i'snt helping except very old messages saying there are
problems with resetting and firmware loading.

Can someone confirm that it is possible to load firmware onto a usb
device using usbip?  The device does work locally on its host.


From dmesg in the VM.

 [23985.513903] usbcore: registered new interface driver dvb_usb_af9015
 [24016.332475] vhci_hcd vhci_hcd: rhport(0) sockfd(3) devid(262151) speed(3)
 [24016.332774] vhci_hcd: changed 1
 [24016.610146] usb 1-1: new high-speed USB device number 23 using vhci_hcd
 [24016.850160] usb 1-1: new high-speed USB device number 24 using vhci_hcd
 [24017.090149] usb 1-1: new high-speed USB device number 25 using vhci_hcd
 [24017.090153] usb 1-1: SetAddress Request (25) to port 0
 [24017.118944] usb 1-1: New USB device found, idVendor=15a4, idProduct=9016
 [24017.118948] usb 1-1: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=3
 [24017.118949] usb 1-1: Product: DVB-T 2
 [24017.118951] usb 1-1: Manufacturer: Afatech
 [24017.118952] usb 1-1: SerialNumber: 01010101061
 [24017.121842] usb 1-1: dvb_usb_v2: found a 'Afatech AF9015 reference design' 
 in warm state
 [24017.123844] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 - 
 7
 [24017.124097] usb 1-1: dvb_usb_af9015: command failed=2
 [24017.124375] input: Afatech DVB-T 2 as 
 /devices/platform/vhci_hcd/usb1/1-1/1-1:1.1/input/input10
 [24017.124461] hid-generic 0003:15A4:9016.0008: input,hidraw0: USB HID v1.01 
 Keyboard [Afatech DVB-T 2] on usb-vhci_hcd-1/input1
 [24017.125164] usb 1-1: dvb_usb_af9015: command failed=2
 [24017.126392] usb 1-1: dvb_usb_af9015: command failed=2
 [24017.127185] usb 1-1: dvb_usb_af9015: command failed=2
 [24017.127188] usb 1-1: dvb_usb_af9015: eeprom read failed=-5
 [24017.127190] usb 1-1: dvb_usb_v2: 'Afatech AF9015 reference design' error 
 while loading driver (-5)
 [24017.127203] usb 1-1: dvb_usb_v2: 'Afatech AF9015 reference design' 
 successfully deinitialized and disconnected
 myth 





Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Grant
 I'm getting this in /var/log/Xorg.0.log on a very old desktop:

 (EE) AIGLX error: dlopen of /usr/lib/dri/i810_dri.so failed
 (/usr/lib/dri/i810_dri.so: cannot open shared object file: No such
 file or directory)
 (EE) AIGLX: reverting to software rendering

 The system is remote to me but I'm pretty sure X is working.  I think
 it's supposed to be a mesa file but I've tried reinstalling mesa:

 [ebuild   R] media-libs/mesa-9.1.2-r1  USE=classic egl gallium
 llvm nptl pax_kernel pic shared-glapi -bindist -debug -gbm -gles1
 -gles2 -openvg -osmesa (-r600-llvm-compiler) (-selinux) -vdpau
 (-wayland) -xa -xorg -xvmc PYTHON_SINGLE_TARGET=python2_7
 -python2_6 PYTHON_TARGETS=python2_7 -python2_6 VIDEO_CARDS=intel
 -i915 -i965 -nouveau -r100 -r200 -r300 -r600 -radeon (-radeonsi)
 -vmware


 I had a similar problem but X did not start in my case. The only way to
 solve it was by adding
 Option  DRI false
 to Xorg.conf. The GPU is i810 here.

 My understanding is that since i810_dri was removed from mesa a lot of
 versions ago you need to disable DRI in xorg-server, otherwise the
 error. Also to get some acceleration you need an older version of
 xorg-server I think because intel supports only XAA and that was
 removed from xorg starting from 1.13 (I'm using xorg-server 1.12.4-r1).

Thank you, that removed the error.  I'm still getting the following
but I think that's expected?

(EE) intel: Failed to load module xaa (module does not exist, 0)

- Grant



Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Raffaele BELARDI
On 06/03/2013 06:18 PM, Grant wrote:
 I'm getting this in /var/log/Xorg.0.log on a very old desktop:

 (EE) AIGLX error: dlopen of /usr/lib/dri/i810_dri.so failed
 (/usr/lib/dri/i810_dri.so: cannot open shared object file: No such
 file or directory)
 (EE) AIGLX: reverting to software rendering

 The system is remote to me but I'm pretty sure X is working.  I think


 I had a similar problem but X did not start in my case. The only way to
 solve it was by adding
 Option  DRI false
 to Xorg.conf. The GPU is i810 here.

 My understanding is that since i810_dri was removed from mesa a lot of
 versions ago you need to disable DRI in xorg-server, otherwise the
 error. Also to get some acceleration you need an older version of
 xorg-server I think because intel supports only XAA and that was
 removed from xorg starting from 1.13 (I'm using xorg-server 1.12.4-r1).
 
 Thank you, that removed the error.  I'm still getting the following
 but I think that's expected?
 
 (EE) intel: Failed to load module xaa (module does not exist, 0)
 

What version of xorg-server?

raf


Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Grant
 I'm getting this in /var/log/Xorg.0.log on a very old desktop:

 (EE) AIGLX error: dlopen of /usr/lib/dri/i810_dri.so failed
 (/usr/lib/dri/i810_dri.so: cannot open shared object file: No such
 file or directory)
 (EE) AIGLX: reverting to software rendering

 The system is remote to me but I'm pretty sure X is working.  I think
 it's supposed to be a mesa file but I've tried reinstalling mesa:

 [ebuild   R] media-libs/mesa-9.1.2-r1  USE=classic egl gallium
 llvm nptl pax_kernel pic shared-glapi -bindist -debug -gbm -gles1
 -gles2 -openvg -osmesa (-r600-llvm-compiler) (-selinux) -vdpau
 (-wayland) -xa -xorg -xvmc PYTHON_SINGLE_TARGET=python2_7
 -python2_6 PYTHON_TARGETS=python2_7 -python2_6 VIDEO_CARDS=intel
 -i915 -i965 -nouveau -r100 -r200 -r300 -r600 -radeon (-radeonsi)
 -vmware

   First question... do you really have an i810/i815 video chip?  What
 does lspci -v show for video?  If you do have an i810/i815, this may
 be a kernel config issue.  Do you have CONFIG_DRM_I810 enabled?  Via

I get this from lspci -v:

00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133
(CGC) Chipset Graphics Controller (rev 03) (prog-if 00 [VGA
controller])

I actually do have CONFIG_DRM_I810 enabled.

- Grant



[gentoo-user] Re: Poor sound quality

2013-06-03 Thread James
Neil Bothwick neil at digimed.co.uk writes:



  My sound started sounding like crap ~6 months ago.  

 Eliminate hardware failure as a cause by trying it from a live CD.

Agreed. Try first to use other components.

Also, if your wiring is a mess, try to separate wires that
carry power, from those that primarily carry signals.

GROUNDING is often a source of problems. It could be
a pseudo charging/discharging  from a failing component,
like a  small ampliflier. It could be the build up
of capacitance (evicenced by volume variations) followed
by a discharge of the built up capacitance. Hard to say.

So swap out components as practical, move wires around,
check for intermittant brokend cables and check groundings.

Sometimes the plug in transformer used to power external speackers
does not have a ground wire (avoiding loop currents). Moving
those modules to a different circuit in your home/office
might help.

Good luck, Good Hunting!

hth,
James









Re: [gentoo-user] Poor sound quality

2013-06-03 Thread Walter Dnes
On Sun, Jun 02, 2013 at 09:34:21PM -0700, Chris Stankevitz wrote
 Hello,
 
 My sound started sounding like crap ~6 months ago.  Imagine someone
 has control of my volume knob and is quickly (~5Hz) turning the volume
 knob up and down.  That is a rough idea of what it sounds like.
 
 This happens whether I am listening a beautiful song or whether I'm
 listening to 'white noise'.  Happens with my laptop speakers or with
 headphones.
 
 Can anyone hazard a guess as to what is wrong?  FYI I'm using a Dell
 M6600 with the same amd64 gentoo install for ~2 years.

  At the risk of starting a flamewar, did you recently install a sound
server (e.g. pulseaudio/phonon/whatever)?  Can you temporarily disable
it and see how the sound comes out?

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] vmware technology preview 2013

2013-06-03 Thread covici
Is there any way I can use this under gentoo -- I got an Email with an
invitation to download this, but I wonder how I can install given
gentoo's structore?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 12:52 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Eliminate hardware failure as a cause by trying it from a live CD.


Neil,

Thank you.  I tried with a xubuntu 12.04 64bit live cd.  There was no
problem.  I conclude that there is no problem with my hardware.  I
also conclude that there is a problem with my gentoo setup.

So...

Can anyone help me figure out why my Gentoo crapped up my sound ~6 months ago?

Thank you,

Chris



Re: [gentoo-user] Re: Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 10:28 AM, James wirel...@tampabay.rr.com wrote:
 Good luck, Good Hunting!


James,

Thank you for your tips.  I tried to reproduce the problem on the same
hardware using a different OS (xubuntu 12.04).  The problem did not
occur on the different OS.  Therefore I rule out hardware problems.
Do you have any gentoo-specific suggestions as to the source that I
can try?

Thank you,

Chris



Re: [gentoo-user] Re: Poor sound quality

2013-06-03 Thread Volker Armin Hemmann
Am 03.06.2013 22:51, schrieb Chris Stankevitz:
 On Mon, Jun 3, 2013 at 10:28 AM, James wirel...@tampabay.rr.com wrote:
 Good luck, Good Hunting!

 James,

 Thank you for your tips.  I tried to reproduce the problem on the same
 hardware using a different OS (xubuntu 12.04).  The problem did not
 occur on the different OS.  Therefore I rule out hardware problems.
 Do you have any gentoo-specific suggestions as to the source that I
 can try?

 Thank you,

 Chris



less /var/log/emerge.log

have fun.



Re: [gentoo-user] Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 1:07 PM, Walter Dnes waltd...@waltdnes.org wrote:
   At the risk of starting a flamewar, did you recently install a sound
 server (e.g. pulseaudio/phonon/whatever)?  Can you temporarily disable
 it and see how the sound comes out?

Walter,

Thank you for your tip.  This is the sort of thinking that will
ultimately lead to a solution.

I installed audio a couple years ago when setting up Gentoo on this
machine for the first. time.  I followed the handbook.  Since that day
I never again looked at my sound card setup.  I do not know what is a
sound server and I certainly never installed one (unless part of the
install handbook has me install one).

Assuming for a moment that I did install a sound server and that I
want to disable it in order to perform your test, 1) How do I
determine which sound servers, if any, are installed?  2) How do I
disable them?

FYI it appears I have phonon installed but not pulseaudio:

*  media-sound/pulseaudio
  Latest version available: 2.1-r1
  Latest version installed: [ Not Installed ]

*  media-libs/phonon
  Latest version available: 4.6.0-r1
  Latest version installed: 4.6.0-r1

Thank you,

Chris



[gentoo-user] Re: Poor sound quality

2013-06-03 Thread Nikos Chantziaras

On 03/06/13 07:34, Chris Stankevitz wrote:

Hello,

My sound started sounding like crap ~6 months ago.  Imagine someone
has control of my volume knob and is quickly (~5Hz) turning the volume
knob up and down.  That is a rough idea of what it sounds like.


Are you using a self-configured kernel?  What sound chip is in your 
laptop?  What driver are you using?  If it's an Intel codec, have you 
tried enabling all different variants of that codec in the kernel?





[gentoo-user] Systray app notifying of updated packages?

2013-06-03 Thread Sebastian Pipping
Hi there!


Does anyone know an app sitting in the systray sending/popping
notifications when installed packages can be updated?

Thanks!



Sebastian



Re: [gentoo-user] Systray app notifying of updated packages?

2013-06-03 Thread Walter Dnes
On Tue, Jun 04, 2013 at 12:02:27AM +0200, Sebastian Pipping wrote

 Does anyone know an app sitting in the systray sending/popping
 notifications when installed packages can be updated?

  I'm not aware of any.  That could be done under Gentoo, via scripting,
if someone is willing to put in the work.  You would need a background
process running emerge --sync *AS ROOT* on a daily basis, possibly a
cron job.  Then it would have to be followed by

emerge -pv --deep --update --changed-use @world  updates.txt

Then parse the contents of updates.txt for a list of what's ready to
update.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Re: Poor sound quality

2013-06-03 Thread Chris Stankevitz
On Mon, Jun 3, 2013 at 2:21 PM, Nikos Chantziaras rea...@gmail.com wrote:
 Are you using a self-configured kernel?  What sound chip is in your laptop?
 What driver are you using?  If it's an Intel codec, have you tried enabling
 all different variants of that codec in the kernel?

Nikos,

Thank you for your help.

1. I am using a self-configured kernel (I have been doing this since I
installed Gentoo two years ago)

2. My sound card is an Intel Corporation 6 Series/C200 Series Chipset
Family High Definition Audio Controller (rev 04)

3. I am using the driver CONFIG_SND_HDA_INTEL

4. I have not tried enabling all intel codec in the kernel, but I will.

===

While gathering the answers to your questions, I discovered something
interesting:

5. /etc/init.d/alsasound was not running

6. Eventhough /etc/init.d/alsasound was not running, I am getting
audio (just crappy audio)

7. Eventhough /etc/init.d/alsasound is listed as an rc-update boot
service, it still wasn't running

8. While /etc/init.d/alsasound was not running, alsamixer still works

9. If I execute /etc/init.d/alsasound start, alsasound will start.
Sound quality improves but still has low quality.

Can anyone explain 6, 7, or 8?

Thank you,

Chris



Re: [gentoo-user] /usr/lib/dri/i810_dri.so: No such file or directory

2013-06-03 Thread Grant
 I'm getting this in /var/log/Xorg.0.log on a very old desktop:

 (EE) AIGLX error: dlopen of /usr/lib/dri/i810_dri.so failed
 (/usr/lib/dri/i810_dri.so: cannot open shared object file: No such
 file or directory)
 (EE) AIGLX: reverting to software rendering

 The system is remote to me but I'm pretty sure X is working.  I think


 I had a similar problem but X did not start in my case. The only way to
 solve it was by adding
 Option  DRI false
 to Xorg.conf. The GPU is i810 here.

 My understanding is that since i810_dri was removed from mesa a lot of
 versions ago you need to disable DRI in xorg-server, otherwise the
 error. Also to get some acceleration you need an older version of
 xorg-server I think because intel supports only XAA and that was
 removed from xorg starting from 1.13 (I'm using xorg-server 1.12.4-r1).

 Thank you, that removed the error.  I'm still getting the following
 but I think that's expected?

 (EE) intel: Failed to load module xaa (module does not exist, 0)


 What version of xorg-server?

It's xorg-server-1.13.4 so the error makes sense considering your
previous explanation, correct?

- Grant



[gentoo-user] Re: Poor sound quality

2013-06-03 Thread Nikos Chantziaras

On 04/06/13 01:47, Chris Stankevitz wrote:

On Mon, Jun 3, 2013 at 2:21 PM, Nikos Chantziaras rea...@gmail.com wrote:

Are you using a self-configured kernel?  What sound chip is in your laptop?
What driver are you using?  If it's an Intel codec, have you tried enabling
all different variants of that codec in the kernel?


[...]
3. I am using the driver CONFIG_SND_HDA_INTEL


OK, that one is the generic driver.  You most probably need to also 
enable the specific codec driver for your chip (not all Intel HD chips 
are the same.)


The way I figured out which one to enable was to boot Ubuntu from a CD 
and then examine the output of lsmod.  There I found which codec 
driver it uses.  I then enabled that driver in my kernel.