[gentoo-user] Re: latest gentoo-sources and nvidia ?

2014-03-30 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 03/30/2014 04:04 PM, Heiko Baums wrote:
> Am Sun, 30 Mar 2014 20:14:28 +0200 schrieb "Stefan G. Weichinger" 
> :
> 
>> Thanks a lot, very helpful. I followed your suggestions and run gnome now 
>> successfully with
>> both the latest (stable) kernel and nvidia-drivers.
>> 
>> USE-flag acpi ... I don't know if I still need that with systemd, I vaguely 
>> remember that it
>> is somehow obsolete then. It pulled in sys-power/acpid now which wasn't 
>> there before.
> 
> I'm totally not a fan of systemd, and I admittedly haven't looked into the 
> nvidia-drivers
> ebuild and patches, but I guess it applies the patch which is necessary to 
> get nvidia-drivers
> working with an acpi enabled kernel.
> 
> So this hasn't anything to do with the acpi daemon or systemd but the kernel 
> as far as I know.
> 
>> USE multilib: I don't know? Could someone point out what I could need that 
>> for?
> 
> This is needed if you want to run 32 bit software (e.g. 32 bit games) with an 
> amd64 (64 bit)
> system.
> 
> Heiko
> 
> 

USE=acpi does one thing, and one thing only: adds a dependency on 
sys-power/acpid.
USE=multilib installs the 32-bit libGL.so, etc. libraries on amd64 (so that 
`eselect opengl` can
set them for both amd64 and x86).
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTOMMPAAoJELHSF2kinlg41FcP/2rZKhjOKntcD1hqhN64ukzj
Ovg0cJSE2bpcQa9iHSNBobpOl7SXsn1tUNexUN8AbMZZCi5QamhjQnohFs0Ra/VY
WvKbf2kUI2SEnyEj8rOzo7hy+o8U0WYg+Di3Ya7fOaa6vx6bzDpNzz3sr+iyx4OI
MEhcqxOtDm5FTjl12xFlOIFlb0+ZLjtniDLJQthWjRv0gXbKOa9ZZEDQiu1jL+eV
h0Nu93dDhnRv6VKyO/9eYUfAOCVCBH4pskIfnJvoVCSiGb8J2X0DzkMZHZHrn9XV
dF7fMd9/nsQGCprMmH6WOA4dHrYbUvZZwrAplApUPsf88wh17qXHfzSgU1neAJHh
RPv2dxGNFkfsnGs3F/AEIaHJMNlTuBvvTEV4tnKubamKpoMUBcyt36EtiVcw00pk
069dJA0bBCGOGgjqwLne8ZsuTVMnF53IUwG/kizeuxfUXSVVvVB31JxHlKrk1C6d
eSpkLTYBh/hAsOXYRDxbol+rjkHRPD74mnEG4WhtHEmc13Sk6Sn1M0spb5UUqD1b
WL/I+JqHCBj6v+R3Q+M8YjN7NKm3i8mCIZNo8G/K0Da/UGpnSB07Vsuo2RqbqmkJ
uZb2ozHzaPDAgWHvRmgOleb92IK49cI6kwKCn+bstR+/9RkNtCMjGQNFACRfK+f0
L4GNQOIOxJX/1t3y4SRJ
=xaaH
-END PGP SIGNATURE-



[gentoo-user] Re: Firefox-bin-28.0-r1: Missing commonDialog icons? Anybody else seeing this?

2014-03-30 Thread Urs Schutz
On Sun, 30 Mar 2014 15:21:59 -0700
walt  wrote:

> On 03/30/2014 08:18 AM, Urs Schutz wrote:
> > Hello
> > 
> > When starting up firefox-bin this morning I got the
> > following dialog box popping up:
> > 
> > $ firefox-bin
> > "Configuration Error"
> > "Failed to read configuration file. Please contact your
> > system administrator."
> > 
> > After confirming with "OK" the firefox-bin process is
> > terminated. No browser today for me :-(
> 
> The problem is caused by a missing ')'
> in /opt/firefox/all-gentoo.js
> 
> Now that I'm looking at it, I see that I added the
> missing ')' but I omitted the terminating ';'
> 
> I forget: is the terminating ';' mandatory in
> javascript?  Well, FF seems to work correctly in any
> case :)

Works perfectly here. There is no need for a bug report, I
guess. Correct me if I'm wrong. Thanks a lot for looking
into it.

Urs



[gentoo-user] Re: Firefox-bin-28.0-r1: Missing commonDialog icons? Anybody else seeing this?

2014-03-30 Thread walt
On 03/30/2014 08:18 AM, Urs Schutz wrote:
> Hello
> 
> When starting up firefox-bin this morning I got the
> following dialog box popping up:
> 
> $ firefox-bin
> "Configuration Error"
> "Failed to read configuration file. Please contact your
> system administrator."
> 
> After confirming with "OK" the firefox-bin process is
> terminated. No browser today for me :-(

The problem is caused by a missing ')' in /opt/firefox/all-gentoo.js

Now that I'm looking at it, I see that I added the missing ')' but I
omitted the terminating ';'

I forget: is the terminating ';' mandatory in javascript?  Well, FF
seems to work correctly in any case :)







Re: [gentoo-user] latest gentoo-sources and nvidia ?

2014-03-30 Thread Heiko Baums
Am Sun, 30 Mar 2014 20:14:28 +0200
schrieb "Stefan G. Weichinger" :

> Thanks a lot, very helpful. I followed your suggestions and run gnome
> now successfully with both the latest (stable) kernel and
> nvidia-drivers.
> 
> USE-flag acpi ... I don't know if I still need that with systemd, I
> vaguely remember that it is somehow obsolete then. It pulled in
> sys-power/acpid now which wasn't there before.

I'm totally not a fan of systemd, and I admittedly haven't looked into
the nvidia-drivers ebuild and patches, but I guess it applies the patch
which is necessary to get nvidia-drivers working with an acpi enabled
kernel.

So this hasn't anything to do with the acpi daemon or systemd but the
kernel as far as I know.

> USE multilib: I don't know? Could someone point out what I could need
> that for?

This is needed if you want to run 32 bit software (e.g. 32 bit games)
with an amd64 (64 bit) system.

Heiko



Re: [gentoo-user] latest gentoo-sources and nvidia ?

2014-03-30 Thread Stefan G. Weichinger
Am 30.03.2014 14:40, schrieb Heiko Baums:

> The newest: gentoo-sources-3.13.7 and nvidia-drivers-334.21-r1.
> 
> I've installed nvidia-drivers with USE="X acpi multilib tools uvm
> -pax_kernel".
> 
> Had to add the USE flag uvm to get it working. And I reconfigured acpi
> in the kernel config. But I had some acpi features in my kernel I
> didn't need for my hardware anyway, which I removed. I don't know if
> this was necessary for nvidia-drivers to get working.
> 
> As framebuffer driver I've compiled the kernel with CONFIG_FB_VESA=y.
> 
> The USE flag multililb is, of course, only necessary if you need it.

Thanks a lot, very helpful. I followed your suggestions and run gnome
now successfully with both the latest (stable) kernel and nvidia-drivers.

USE-flag acpi ... I don't know if I still need that with systemd, I
vaguely remember that it is somehow obsolete then. It pulled in
sys-power/acpid now which wasn't there before.

And /usr/lib64/systemd/system/acpid.service is disabled, so I might test
removing it again.

USE multilib: I don't know? Could someone point out what I could need
that for?

Thanks anyway, Stefan



[gentoo-user] Firefox-bin-28.0-r1: Missing commonDialog icons? Anybody else seeing this?

2014-03-30 Thread Urs Schutz
Hello

When starting up firefox-bin this morning I got the
following dialog box popping up:

$ firefox-bin
"Configuration Error"
"Failed to read configuration file. Please contact your
system administrator."

After confirming with "OK" the firefox-bin process is
terminated. No browser today for me :-(

$ firefox-bin -version
Mozilla Firefox 28.0

What I tried to do, without success:

uninstalled and re-installed firefox-bin, cleaned the
program directory and my configuration in between

checked to run firefox-bin as root

Checked whether there is a file named mozilla.cfg, there is
none.

created empty /opt/firefox/defaults/pref/mozilla.cfg
added "//" to the first line of mozilla.cfg

Safe mode pops up the same dialog box:
$  firefox-bin -safe-mode

Started the profile browser:
$  firefox-bin -P
The profile browser lets me delete and create profiles. But
firefox still shows the dialog and quits.

checked bugs (had to install chrome, but didn't like
chrome): 
https://bugzilla.mozilla.org/show_bug.cgi?id=672671
https://bugzilla.mozilla.org/show_bug.cgi?id=833117

Checked with strace which files cannot be read:
Just when the dialog box pops up I see:
urs@Evo ~ $ strace -e trace=file -f firefox-bin
<>
access("/opt/firefox/browser/chrome", F_OK) = 0
access("commonDialog.png", R_OK) = -1 ENOENT (No such file
or directory)
access("/opt/firefox/browser/chrome/icons/default/commonDialog.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome", F_OK) = 0
access("/opt/firefox/browser/chrome/icons/default/commonDialog16.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome/icons/default/commonDialog16.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome", F_OK) = 0
access("/opt/firefox/browser/chrome/icons/default/commonDialog32.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome/icons/default/commonDialog32.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome", F_OK) = 0
access("/opt/firefox/browser/chrome/icons/default/commonDialog48.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome/icons/default/commonDialog48.png",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome", F_OK) = 0
access("/opt/firefox/browser/chrome/icons/default/commonDialog.xpm",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome/icons/default/commonDialog.xpm",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome", F_OK) = 0
access("/opt/firefox/browser/chrome/icons/default/commonDialog16.xpm",
R_OK) = -1 ENOENT (No such file or directory)
access("/opt/firefox/browser/chrome/icons/default/commonDialog16.xpm",
R_OK) = -1 ENOENT (No such file or directory)

This icons are really missing in my installation:
urs@Evo ~ $ ls /opt/firefox/browser/chrome/icons/default/
default16.png  default32.png  default48.png

I downgraded firefox-bin to the latest stable version 24.4.0
The icons from above are still not installed, but this
version is starting up and is usable. So for me there is a
workaround. I am still a little nervous about security
concerns with an old browser version.

Additional information here, some lines of the Gentoo
emerge log history: 
urs@Evo ~ $ genlop firefox-bin
Thu Mar  6 21:57:34 2014 >>> www-client/firefox-bin-27.0.1
Thu Mar 20 08:42:44 2014 >>> www-client/firefox-bin-28.0
Sat Mar 29 08:47:39 2014 >>> www-client/firefox-bin-28.0-r1

I am pretty sure that I had used firefox-bin-28.0 last week
without troubles. So, is this just firefox-bin-28.0-r1?
Anybody else seeing this?

Thanks
Urs



Re: [gentoo-user] Re: Portable Gentoo (Pen Drive Linux)

2014-03-30 Thread Peter Humphrey
On Sunday 30 Mar 2014 11:27:53 Martin Vaeth wrote:
> Peter Humphrey  wrote:
> >> Dropping the aliases into ~/.zshrc is the easy option, that way to get
> >> your aliases and a superior shell.
> > 
> > That's what I've done so far.
> 
> If you have a complex bash configuration file which you want to keep,
> source your .bashrc (or whatever you use) in compatibility mode
> (the anonymous function will keep that mode local only for sourcing):
> 
> () {
>   emulate -L sh
>   setopt kshglob noshglob braceexpand nonomatch
>   . ~/.bashrc
> }
> 
> Most setups should work without any issues in this compatibility
> mode, the most notable exception being [[ $var ]] which must be
> cast into the more compatible [[ -n $var ]].

Well, thank you Martin. I don't have anything complex; just some aliases 
different from what's already in /root/.zshrc. Now that I've found where to put 
mine I'm happy.

Apart, that is, from another problem I seem to have caused for myself. But 
this is now OT re the original thread, so if I want to say more I'll start 
another thread with it.

Thanks again.

-- 
Regards
Peter




Re: [gentoo-user] latest gentoo-sources and nvidia ?

2014-03-30 Thread Heiko Baums
Am Sun, 30 Mar 2014 13:07:22 +0200
schrieb "Stefan G. Weichinger" :

> Does anyone already successfully run gentoo-sources-3.13.7 with
> nvidia-drivers?

I do.

> If yes, which version does work?

The newest: gentoo-sources-3.13.7 and nvidia-drivers-334.21-r1.

I've installed nvidia-drivers with USE="X acpi multilib tools uvm
-pax_kernel".

Had to add the USE flag uvm to get it working. And I reconfigured acpi
in the kernel config. But I had some acpi features in my kernel I
didn't need for my hardware anyway, which I removed. I don't know if
this was necessary for nvidia-drivers to get working.

As framebuffer driver I've compiled the kernel with CONFIG_FB_VESA=y.

The USE flag multililb is, of course, only necessary if you need it.

Heiko



[gentoo-user] Re: Portable Gentoo (Pen Drive Linux)

2014-03-30 Thread Martin Vaeth
Peter Humphrey  wrote:
>
>> Dropping the aliases into ~/.zshrc is the easy option, that way to get
>> your aliases and a superior shell.
>
> That's what I've done so far.

If you have a complex bash configuration file which you want to keep,
source your .bashrc (or whatever you use) in compatibility mode
(the anonymous function will keep that mode local only for sourcing):

() {
emulate -L sh
setopt kshglob noshglob braceexpand nonomatch
. ~/.bashrc
}

Most setups should work without any issues in this compatibility
mode, the most notable exception being [[ $var ]] which must be
cast into the more compatible [[ -n $var ]].




[gentoo-user] latest gentoo-sources and nvidia ?

2014-03-30 Thread Stefan G. Weichinger

Does anyone already successfully run gentoo-sources-3.13.7 with
nvidia-drivers?

If yes, which version does work?

I am still at 3.13.6 plus nvidia-drivers-331.49

Thanks, Stefan