Re: [gentoo-user] What happened to Qt 5?

2014-05-27 Thread Alan McKinnon
On 27/05/2014 07:32, Nikos Chantziaras wrote:
 Wasn't it supposed to hit portage a long time ago? Any news? There's
 zero information on the http://www.gentoo.org/proj/en/desktop/qt site.
 
 
 
 



Last I heard it was still in the kde overlay and when it moves to
portage new categories qt-* will be created; probably to avoid
clobbering qt4 and confusing kde ebuilds.

I read that on a blog somewhere recently, probably planet. And as usual,
I can't find it now when I look for it

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Neil Bothwick
On Fri, 23 May 2014 00:34:25 +0200, Stefan G. Weichinger wrote:

  I'm working on this btrfs malarkey and have a question about best 
  practice. It is recommended to leave the root volume empty and
  create a subvolume for the root filesystem which is set with btrfs
  subvolume set-default, which I have done.  
 
 Alternative: mount the subvol via option subvolid etc in fstab  if
 you plan to mount different snapshots, for example.

I went with set-default for the root subvolume, if I need the root volume
I can mount it with subvolid=0.

  What is the recommended way to create subvolumes that are mounted
  further down the filesystem? Let's say I was usr and var on their
  own subvolumes. Do I create them in the btrfs root, which means
  they have to be mounted from /etc/fstab - or do I create hem below
  the subvolume called root?  
 
 I saw more examples mounting every dir via a
 separate line in fstab (which also adds the choice to mount them with
 different options, think compression etc).

That makes sense, and will be useful should we ever get encryption.

 My understanding is:
 
 * create and use subvols for entities you want to be able to snapshot
 and rollback individually.
 
 * create and use subvols for entities you want to apply special
 options to: compression, (no)COW, quota ...
 
 I would mount each subvol via extra line and create them in parallel ...

That's what i ended up doing, thanks. I did have an issue with systemd
failing to mount them because the correct symlinks hadn't been created
when I run cryptsetup in the initramfs, because it doesn't use udev, but
that was fairly easy to fix.

  That raises another question. Assuming I've done it wrong (well, my
  wife always does) is there an equivalent to the zfs rename command
  to move or rename a subvolume?  
 
 As far as I understand you are allowed to mount the root volume (or
 academic: any subvol in a higher level) and use plain mv to rename
 the subvols as if you renamed sub-dirs.

rust me to overlook the easy way of doing things, I was looking for an
equivalent to zfs rename and never considered mv. So far, btrfs looks
good on my laptop - time to think about putting it on my desktop.


-- 
Neil Bothwick

Ifyoucanreadthis,youspendtoomuchtimefiguringouttaglines.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: howto get systemd to use localtime (I think)

2014-05-27 Thread Neil Bothwick
On Tue, 27 May 2014 01:37:17 -0400, cov...@ccs.covici.com wrote:

 OK, thanks, I have no /etc/adjtime at all,  and I have two files,
 /etc/localtime  (not a link) and /etc/timezone.  Should I delete the
 later and change the former to a link?

No. Gentoo copies the correct file from /usr/share/zoneinfo rather than
making a symlink, so that it still works if /usr is a separate filesystem
that has not yet been mounted - the clock is set before local filesystems
are mounted. It uses the contents of /etc/timezone to determine which
file to copy.

Check that /etc/timezone is correct. If not, change it and either copy
the correct file manaually or re-emerge sys-libs/timezone-data.


-- 
Neil Bothwick

Accept that some days you're the pigeon, and some days you're the statue.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: howto get systemd to use localtime (I think)

2014-05-27 Thread covici
wraeth wra...@wraeth.id.au wrote:

 
 
 On 27/05/14 15:37, cov...@ccs.covici.com wrote:
  Jonathan Callen jcal...@gentoo.org wrote: OK, thanks, I have no
  /etc/adjtime at all,  and I have two files, /etc/localtime  (not a link)
  and /etc/timezone.  Should I delete the later and change the former to a
  link?
 
 What's the output of `timedatectl`?
The output is
  Local time: Tue 2014-05-27 04:46:28 EDT
  Universal time: Tue 2014-05-27 08:46:28 UTC
RTC time: n/a
   Time zone: n/a (EDT, -0400)
 NTP enabled: no
NTP synchronized: yes
 RTC in local TZ: no
  DST active: yes
 Last DST change: DST began at
  Sun 2014-03-09 01:59:59 EST
  Sun 2014-03-09 03:00:00 EDT
 Next DST change: DST ends (the clock jumps one hour backwards) at
  Sun 2014-11-02 01:59:59 EDT
  Sun 2014-11-02 01:00:00 EST

-- 
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] Re: howto get systemd to use localtime (I think)

2014-05-27 Thread covici
Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 27 May 2014 01:37:17 -0400, cov...@ccs.covici.com wrote:
 
  OK, thanks, I have no /etc/adjtime at all,  and I have two files,
  /etc/localtime  (not a link) and /etc/timezone.  Should I delete the
  later and change the former to a link?
 
 No. Gentoo copies the correct file from /usr/share/zoneinfo rather than
 making a symlink, so that it still works if /usr is a separate filesystem
 that has not yet been mounted - the clock is set before local filesystems
 are mounted. It uses the contents of /etc/timezone to determine which
 file to copy.
 
 Check that /etc/timezone is correct. If not, change it and either copy
 the correct file manaually or re-emerge sys-libs/timezone-data.

/etc/timezone is correct.  I wonder when systemd using dracut sets the
time, maybe its confused.  I don't see it using hwclock like openrc used
to, but I found an hwclock unit somewhere, should I try to use that?


-- 
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] Organising btrfs subvolumes

2014-05-27 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 27.05.2014 09:59, schrieb Neil Bothwick:

 Alternative: mount the subvol via option subvolid etc in fstab
  if you plan to mount different snapshots, for example.
 
 I went with set-default for the root subvolume, if I need the root
 volume I can mount it with subvolid=0.

Yes, just a question of preference.

I prefer to specify a subvolid ... this won't lead to side-effects if
I ever might set-default to something else.

But it's easier to use the defaul subvolid if you refer to that subvol
via grub2 or dracut etc ...

Something I still learn about ...

 As far as I understand you are allowed to mount the root volume
 (or academic: any subvol in a higher level) and use plain mv to
 rename the subvols as if you renamed sub-dirs.
 
 rust me to overlook the easy way of doing things, I was looking for
 an equivalent to zfs rename and never considered mv.

It feels somehow wrong to only mv them, right? ;-)

 So far, btrfs looks good on my laptop - time to think about putting
 it on my desktop.

Yeah, good luck with that. I am quite happy with btrfs so far ... no
problems or disadvantages so far.

And the hourly snapshots of / and /home on my desktop are really nice
to have ;-)

Stefan

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJThG+2AAoJEClcuD1V0PzmqXsP/jkK/dYlatk90CbXwc/H71Y3
VPuT8y0P8zrsrMdwziG8BzvL5ivL6xTEMmxXmi5frWHgC9751UmqZVlCI6I2+dYQ
ffjZYLqf3Q6FXKIcZ09Sbuxg+FsuEqw2LLrWXmSgWDrf5YQ0GAOjZupL4ii8dtUt
heBGUXWHMdR6JQOgqAl5+g+f1HlDEnVDf49L5AbKE5wkeCirNPZzx4I54k8SNykG
N7TLUe+AGzCsDAOL8BWpLrAyCyuWkMc01sfZN0sp36wzt4IsMxQYQFxq1ndmtEWf
LneGfQzAalXY26YnKvpAczyeTLcwdWw5TK0Yd8ftvnJz8Q++h4KQOAzqyaVBlMKi
oYis1WugSeKOG5JebOd5vNYQ/Po4NaGmidLkvTARFf7lSyLdND+dOQRkCBuzN2Q0
i/G+C5OFVSI8Mp+7qmHfWIOaKdi36Zi8luKV937gJD2+y/oS0tJiOWICSo4bqAIh
5/yaSWg3rUfxQ0aYzQG8U055CpcvhfZntqt0HKn4/NOuw42T4/r/nFplIhB1/Qgz
qIGmkvCupUNRrpSfY+CjbNKMeO4LDpNpruU2qThwYBPMWQ/m3Iq1zEAkR4vYNetA
3oFdqEZmJsOI/e/uTBfpSTGsk9bP9y9rEIEjzmjTXEN8OjwfpMoB/Dn9C0J9uK25
MdA7u6Xx0JfbJ1qOXNQl
=b71z
-END PGP SIGNATURE-



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Mick
On Tuesday 27 May 2014 11:57:58 Stefan G. Weichinger wrote:
 Am 27.05.2014 09:59, schrieb Neil Bothwick:
  Alternative: mount the subvol via option subvolid etc in fstab
   if you plan to mount different snapshots, for example.
  
  I went with set-default for the root subvolume, if I need the root
  volume I can mount it with subvolid=0.
 
 Yes, just a question of preference.
 
 I prefer to specify a subvolid ... this won't lead to side-effects if
 I ever might set-default to something else.
 
 But it's easier to use the defaul subvolid if you refer to that subvol
 via grub2 or dracut etc ...
 
 Something I still learn about ...
 
  As far as I understand you are allowed to mount the root volume
  (or academic: any subvol in a higher level) and use plain mv to
  rename the subvols as if you renamed sub-dirs.
  
  rust me to overlook the easy way of doing things, I was looking for
  an equivalent to zfs rename and never considered mv.
 
 It feels somehow wrong to only mv them, right? ;-)
 
  So far, btrfs looks good on my laptop - time to think about putting
  it on my desktop.
 
 Yeah, good luck with that. I am quite happy with btrfs so far ... no
 problems or disadvantages so far.
 
 And the hourly snapshots of / and /home on my desktop are really nice
 to have ;-)
 
 Stefan

I recall that zfs needed a lot of RAM = 8M, is it the same with BTRFS?

Also how big is each snapshot of / and why are these necessary on an hourly 
basiszfs ?

-- 
Regards,
Mick


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


Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Rich Freeman
On Tue, May 27, 2014 at 7:25 AM, Mick michaelkintz...@gmail.com wrote:

 Also how big is each snapshot of / and why are these necessary on an hourly
 basiszfs ?

Btrfs is COW, so snapshots only consume space as files change.  If you
have a read-only filesystem and snapshot it hourly the only space
consumed by a snapshot will be a few metadata records.

Snapshotting hourly would mostly be a convenience - in theory it
should get you time-machine-like functionality just like hourly
backups would, but with far less overhead and space use.

In practice I stopped doing this, as btrfs can misbehave when you
start getting a lot of snapshots accumulated (we're talking
thousands).  It probably doesn't help that I have VM images
snapshotted (though these images have fairly low write volumes - the
most active one does most of its writing to an nfs volume so only OS
updates, logs, etc change the VM).  When snapper would go to cleanup
snapshots I'd get panics.  I ended up having to write a script that
deleted one snapshot every 30min over the course of days to clean up
from that.  Now I only manually snapshot periodically and I haven't
had a problem with it.

I suspect that as with many things btrfs-related that it will be
worked out in time, though snapshots will always cause fragmentation
as long as the filesystem does partial diffs.

Rich



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 27.05.2014 13:25, schrieb Mick:

 I recall that zfs needed a lot of RAM = 8M, is it the same with
 BTRFS?

I assume you mean 8GB ?

As far as I know and researched: no, btrfs is less memory hungry and
was designed to even work fine on small devices like phones or so.

It depends if you use features like deduplication which is very
ressource-intensive ...

 Also how big is each snapshot of / and why are these necessary on
 an hourly basiszfs ?


Snapshots don't have any size initially.

With filesystems like btrfs and zfs a snapshot is more of a pointer to
a specific status of the whole fs-tree in time and in consequence also
happens instantly. The size of the snapshot ... oh, Rich already
replied as well :-)

Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJThHlUAAoJEClcuD1V0PzmApcP/RCBeASWCqKOxDhtyJ7Pj+c3
LgDObKZ23svRCU2qiwF04e1enJTUF+FcaL/KyB4690x1EATo+0ciYOajzgIRng16
24bGB/ZCRhE4uZ99aVLymAslhBXUyILcZ+AqaJCM2XL72Ttp7gqB/PW0bJWOgQ0Y
wC4FWtzDJN6vm2VfC3gDMhdUaoysWuCEQqhppJe5RpSbOP3kk9PzXiFLPpJkKs2V
xglvGDy5SCu79APTqUrDRZtHCQBpLTkMDBQr9ytdtVLPDDx6WyG0BZ351tp2fzMp
CMUy4T1z417l+TgDMZ2iYBh1+Ctnqkr+SfLdlkkF+0AJfpFUpNjztDHyhV8Muzan
AQdEDW1ccXc/cSR62gbf8+Y+Aj2QTBPImXtHNHQHPRiszVgJM7E5ufnxrUm+1qT9
aWM+SSLbDjtvmRBSOExNawonprMT44Vhqc4j0UfLhbLsLZfVbUghfczqOr5pDD6l
32dIkXRtT/zkR/tDpWX5n6ZotIlnAuVh7xIe8zID3KTLXdcuM2sP3UDFUGd4FqPU
5ovfAIhi133BHpdz7FHmTbR9if7iGeF+mWFfCt/cWYQY9vw3yLmUaJg3pxP0gKvC
C3SXt8V30ubWKglrCXd0a3eqm0fbonFaACdB3eyeQgi5S4FBYHIATW8XDGP+/VSG
t81Av1TKapRTzHgQF35U
=lMUl
-END PGP SIGNATURE-



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Neil Bothwick
On Tue, 27 May 2014 12:57:58 +0200, Stefan G. Weichinger wrote:

  Trust me to overlook the easy way of doing things, I was looking for
  an equivalent to zfs rename and never considered mv.  
 
 It feels somehow wrong to only mv them, right? ;-)

It's just too easy, there must be a catch :)

  So far, btrfs looks good on my laptop - time to think about putting
  it on my desktop.  
 
 Yeah, good luck with that. I am quite happy with btrfs so far ... no
 problems or disadvantages so far.
 
 And the hourly snapshots of / and /home on my desktop are really nice
 to have ;-)

I have zfs-snapshot making snapshots at 15 minute, hourly, daily, monthly
and weekly intervals - and it cleans up after itself. There isn't
anything quite like that for btrfs, so I'm knocking up a python script to
take care of it. I want automated snapshots before I risk it on my
desktop.


-- 
Neil Bothwick

Do you steal taglines too?


signature.asc
Description: PGP signature


Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Neil Bothwick
On Tue, 27 May 2014 12:25:48 +0100, Mick wrote:

 I recall that zfs needed a lot of RAM = 8M, is it the same with BTRFS?

If you means 8GB, it doesn't. I am/was using it on several systems with
4GB. you can control the amount of memory used for its caches.


-- 
Neil Bothwick

If you consult enough experts, you can confirm any opinion.


signature.asc
Description: PGP signature


Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Neil Bothwick
On Tue, 27 May 2014 07:38:01 -0400, Rich Freeman wrote:

 Snapshotting hourly would mostly be a convenience - in theory it
 should get you time-machine-like functionality just like hourly
 backups would, but with far less overhead and space use.
 
 In practice I stopped doing this, as btrfs can misbehave when you
 start getting a lot of snapshots accumulated (we're talking
 thousands). 

I've read that too. I'm looking at doing a kind of round robin thing
where a script makes a snapshot and then deletes the oldest one.


-- 
Neil Bothwick

... I'm simply not a nice girl, she whispered tartly.


signature.asc
Description: PGP signature


Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 27.05.2014 13:49, schrieb Neil Bothwick:

 I have zfs-snapshot making snapshots at 15 minute, hourly, daily,
 monthly and weekly intervals - and it cleans up after itself. There
 isn't anything quite like that for btrfs, so I'm knocking up a
 python script to take care of it. I want automated snapshots before
 I risk it on my desktop.

Oh, I have something like that.

Copied here:

http://marc.merlins.org/perso/btrfs/post_2014-03-21_Btrfs-Tips_-How-To-Setup-Netapp-Style-Snapshots.html

I wrapped some helper stuff around it to make it work with 2
btrfs-pools and systemd (and a timer there to even avoid running cron).

Stefan

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJThHx8AAoJEClcuD1V0Pzmnj4QAKcZIghxoDgVVbI7a1rIltxl
fAPdRvY5g5We0v/VJ7RL9vJe1tJ9F2UnzDBC/rEPw8XSPR1zJxhrFyCrdmumMYY+
qac4XSRCSS92subHwnYfjWxigqLk7DT86ATTEIo841YmQTdrfRyzmxwVHwvoONOB
APasAal8Re7PFd01UAGpCurAzA20lMs1CFlqK/sBcWwM9RGsRzPwUZsfLiKcmdmX
Ta4YUO/RtOv/RWntyHYJZ0FgcxmNo+HLCE6821mOxg+CyDp9Vag/6HWlXbZW1MRM
/CVHQ8kim+azcEuX0NU7WDIfotPrXtb8PGZt+2QJtJm12CJQficQrUOZpmgoi3yM
7n1ux1VkM7avnXkoJ90/T5eWznq8d/NqTaESUHLnOPueE7JciR5gc3kNEgcriD7Y
qHM9ZDG4vzRScUcLowZydsK32FHZdFRHUpNkwE2Admffz7+Sv3TfZqog2rs0WVoM
zVBoKr3DY1LQo7NvHQJT2sfMKzBJq0kFoBY7yvwnJkzf2htlnhT2jOFg+XzTC0Hr
IEHzEu/yzfmwKp490U3+jAfCxEnaGNIW1YZ+lA+kzS+6+9DWR+XYuaV/EV/wvE9s
J2oPqzwzpcaBLxLY+Mq8cz/sXOASf6ICYYy1w+GfH82e/DYzfn/j+FTIxmjK6KVe
t6/tx2rwGeNL1AhKaSmY
=QHMO
-END PGP SIGNATURE-



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Rich Freeman
On Tue, May 27, 2014 at 7:49 AM, Neil Bothwick n...@digimed.co.uk wrote:
 I have zfs-snapshot making snapshots at 15 minute, hourly, daily, monthly
 and weekly intervals - and it cleans up after itself. There isn't
 anything quite like that for btrfs, so I'm knocking up a python script to
 take care of it. I want automated snapshots before I risk it on my
 desktop.

There is snapper, which is even in the tree now.  It isn't 100%
flexible but supports any number of hourly, daily, monthly, and yearly
snapshots, with retention policies for each.

My problem was that the snapshots were created hourly, but cleaned up
daily, which meant 24 deleted in parallel at a time.

In general I've tended to notice that btrfs tends to suffer from
hurry-up-and-wait issues.  It will happily accept a ton of writes
(even from an ioniced process) which I imagine go into the log, and
then the whole filesystem will come to a halt at the next checkpoint
(every 30s by default).  It makes ionice just about useless, since the
filesystem accepts more data than it can handle, and then blocks even
realtime-priority processes while it is catching up.

I suspect that it was having a related issue with snapshot removals.
24 huge snapshot removal commands complete in almost zero time, and
then in 30s the debt comes due.

In order to be a bit more ionice-friendly the filesystem needs to
figure out what it can sustain and throttle writes to a reasonable
rate.  I'm fine with having some allowance for bursting, but having
all disk access block for 10-20 seconds isn't acceptable.

Oh, and chromium just loves its disk cache - it will happily wait for
20 seconds to read a cache entry that it could have downloaded online
in less than a second.

Rich



[gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Time Lucky
Hey,guys.

Anyone can tell me how to switch Gallium 0.4  to intel driver?
I dont know why it happened but now my computer is very slow when I use
gnome 3.10.

$ /usr/libexec/gnome-session-check-accelerated-helper -v
libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
(/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file
or directory)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
gnome-session-is-accelerated: llvmpipe detected.

Thank you.


Re: [gentoo-user] Re: howto get systemd to use localtime (I think)

2014-05-27 Thread Mike Gilbert
On Tue, May 27, 2014 at 5:07 AM,  cov...@ccs.covici.com wrote:
 Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 27 May 2014 01:37:17 -0400, cov...@ccs.covici.com wrote:

  OK, thanks, I have no /etc/adjtime at all,  and I have two files,
  /etc/localtime  (not a link) and /etc/timezone.  Should I delete the
  later and change the former to a link?

 No. Gentoo copies the correct file from /usr/share/zoneinfo rather than
 making a symlink, so that it still works if /usr is a separate filesystem
 that has not yet been mounted - the clock is set before local filesystems
 are mounted. It uses the contents of /etc/timezone to determine which
 file to copy.

 Check that /etc/timezone is correct. If not, change it and either copy
 the correct file manaually or re-emerge sys-libs/timezone-data.

 /etc/timezone is correct.  I wonder when systemd using dracut sets the
 time, maybe its confused.  I don't see it using hwclock like openrc used
 to, but I found an hwclock unit somewhere, should I try to use that?



I believe systemd-timedated should take care of it.

Going back to the /etc/adjtime file that jcallen referred to: You can
create the file and set it to LOCAL by running timedatectl
set-local-rtc 1.



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Stefan G. Weichinger
Am 27.05.2014 14:12, schrieb Rich Freeman:

 There is snapper, which is even in the tree now.  It isn't 100%
 flexible but supports any number of hourly, daily, monthly, and yearly
 snapshots, with retention policies for each.

no systemd-unitfiles yet, correct? I merged it and took a quick look, as
far as I understand it needs a service running ...

I will check back later this evening and see how to get that working here.

Stefan




Re: [gentoo-user] Intel(R) C600 SAS Controller

2014-05-27 Thread Stefan G. Weichinger
Am 26.05.2014 21:57, schrieb Stefan G. Weichinger:
 Am 26.05.2014 19:47, schrieb Stefan G. Weichinger:
 
 But I somehow think the performance is sub-optimal.
 
 virt-backup is slow as well (using dd and gzip or pigz in my own patched
 version). Yes, that LVM stuff again ...
 
 I run 6 SAS disks and built hardware raids.
 
 Should I look into the cache settings there?
 
 
 way too slow ...

I think I have some IO-topic going on ... very likely some mismatch of
block sizes ...

the hw-raid, then LVM, then the snapshot on top of that ... and a
filesystem with properties as target ... oh my.

Chosing noop as IO-scheduler helps a bit but maybe I have to roll back
and rebuild one of the HW-RAID-Arrays with a different blocksize.

Stefan




Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Alan McKinnon
On 27/05/2014 14:52, Time Lucky wrote:
 Hey,guys.
 
 Anyone can tell me how to switch Gallium 0.4  to intel driver?
 I dont know why it happened but now my computer is very slow when I use
 gnome 3.10.
 
 $ /usr/libexec/gnome-session-check-accelerated-helper -v 
 libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
 (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such
 file or directory)
 libGL error: unable to load driver: i965_dri.so
 libGL error: driver pointer missing
 libGL error: failed to load driver: i965
 gnome-session-is-accelerated: llvmpipe detected.
 
 Thank you.
 


What do you have in VIDEO_CARDS?
What use flags are set for xf86-video-intel?

As I understand it, the packages use those 2 magic settings and build
the right thing for you. If that all looks OK, what do you get from

equery files x11-drivers/xf86-video-intel

?

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Time Lucky
intel vesa fbdev comes from 
http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220;
i915 comes from gentoo forums.
So VIDEO_CARDS=intel i915 vesa fbdev

# equery u x11-drivers/xf86-video-inte
it tells the USE is dri sna udev ,while debug glamor uxa xvmc is
disabled

# equery files x11-drivers/xf86-video-intel
 * Searching for xf86-video-intel in x11-drivers ...
 * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
/usr
/usr/bin
/usr/bin/intel-virtual-output
/usr/lib64
/usr/lib64/xorg
/usr/lib64/xorg/modules
/usr/lib64/xorg/modules/drivers
/usr/lib64/xorg/modules/drivers/intel_drv.so
/usr/libexec
/usr/libexec/xf86-video-intel-backlight-helper
/usr/share
/usr/share/doc
/usr/share/doc/xf86-video-intel-2.99.911-r1
/usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
/usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
/usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
/usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
/usr/share/man
/usr/share/man/man4
/usr/share/man/man4/intel-virtual-output.4.bz2
/usr/share/man/man4/intel.4.bz2
/usr/share/polkit-1
/usr/share/polkit-1/actions
/usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy



2014-05-27 21:07 GMT+08:00 Alan McKinnon alan.mckin...@gmail.com:

 On 27/05/2014 14:52, Time Lucky wrote:
  Hey,guys.
 
  Anyone can tell me how to switch Gallium 0.4  to intel driver?
  I dont know why it happened but now my computer is very slow when I use
  gnome 3.10.
 
  $ /usr/libexec/gnome-session-check-accelerated-helper -v
  libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
  (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such
  file or directory)
  libGL error: unable to load driver: i965_dri.so
  libGL error: driver pointer missing
  libGL error: failed to load driver: i965
  gnome-session-is-accelerated: llvmpipe detected.
 
  Thank you.
 


 What do you have in VIDEO_CARDS?
 What use flags are set for xf86-video-intel?

 As I understand it, the packages use those 2 magic settings and build
 the right thing for you. If that all looks OK, what do you get from

 equery files x11-drivers/xf86-video-intel

 ?

 --
 Alan McKinnon
 alan.mckin...@gmail.com





Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Time Lucky
My USE in make.conf is
SE=bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde -qt4
X acpi bash-completion bluetooth cjk unicode ipv6



2014-05-27 21:21 GMT+08:00 Time Lucky fly8...@gmail.com:

 intel vesa fbdev comes from 
 http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220;
 i915 comes from gentoo forums.
 So VIDEO_CARDS=intel i915 vesa fbdev

 # equery u x11-drivers/xf86-video-inte
 it tells the USE is dri sna udev ,while debug glamor uxa xvmc is
 disabled

 # equery files x11-drivers/xf86-video-intel
  * Searching for xf86-video-intel in x11-drivers ...
  * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
 /usr
 /usr/bin
 /usr/bin/intel-virtual-output
 /usr/lib64
 /usr/lib64/xorg
 /usr/lib64/xorg/modules
 /usr/lib64/xorg/modules/drivers
 /usr/lib64/xorg/modules/drivers/intel_drv.so
 /usr/libexec
 /usr/libexec/xf86-video-intel-backlight-helper
 /usr/share
 /usr/share/doc
 /usr/share/doc/xf86-video-intel-2.99.911-r1
 /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
 /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
 /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
 /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
 /usr/share/man
 /usr/share/man/man4
 /usr/share/man/man4/intel-virtual-output.4.bz2
 /usr/share/man/man4/intel.4.bz2
 /usr/share/polkit-1
 /usr/share/polkit-1/actions
 /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy



 2014-05-27 21:07 GMT+08:00 Alan McKinnon alan.mckin...@gmail.com:

 On 27/05/2014 14:52, Time Lucky wrote:
  Hey,guys.
 
  Anyone can tell me how to switch Gallium 0.4  to intel driver?
  I dont know why it happened but now my computer is very slow when I use
  gnome 3.10.
 
  $ /usr/libexec/gnome-session-check-accelerated-helper -v
  libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
  (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such
  file or directory)
  libGL error: unable to load driver: i965_dri.so
  libGL error: driver pointer missing
  libGL error: failed to load driver: i965
  gnome-session-is-accelerated: llvmpipe detected.
 
  Thank you.
 


 What do you have in VIDEO_CARDS?
 What use flags are set for xf86-video-intel?

 As I understand it, the packages use those 2 magic settings and build
 the right thing for you. If that all looks OK, what do you get from

 equery files x11-drivers/xf86-video-intel

 ?

 --
 Alan McKinnon
 alan.mckin...@gmail.com






Re: [gentoo-user] Re: howto get systemd to use localtime (I think)

2014-05-27 Thread covici
Mike Gilbert flop...@gentoo.org wrote:

 On Tue, May 27, 2014 at 5:07 AM,  cov...@ccs.covici.com wrote:
  Neil Bothwick n...@digimed.co.uk wrote:
 
  On Tue, 27 May 2014 01:37:17 -0400, cov...@ccs.covici.com wrote:
 
   OK, thanks, I have no /etc/adjtime at all,  and I have two files,
   /etc/localtime  (not a link) and /etc/timezone.  Should I delete the
   later and change the former to a link?
 
  No. Gentoo copies the correct file from /usr/share/zoneinfo rather than
  making a symlink, so that it still works if /usr is a separate filesystem
  that has not yet been mounted - the clock is set before local filesystems
  are mounted. It uses the contents of /etc/timezone to determine which
  file to copy.
 
  Check that /etc/timezone is correct. If not, change it and either copy
  the correct file manaually or re-emerge sys-libs/timezone-data.
 
  /etc/timezone is correct.  I wonder when systemd using dracut sets the
  time, maybe its confused.  I don't see it using hwclock like openrc used
  to, but I found an hwclock unit somewhere, should I try to use that?
 
 
 
 I believe systemd-timedated should take care of it.
 
 Going back to the /etc/adjtime file that jcallen referred to: You can
 create the file and set it to LOCAL by running timedatectl
 set-local-rtc 1.

OK, I will do and see what happens on the next reboot.


-- 
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] Organising btrfs subvolumes

2014-05-27 Thread Rich Freeman
On Tue, May 27, 2014 at 8:58 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 27.05.2014 14:12, schrieb Rich Freeman:

 There is snapper, which is even in the tree now.  It isn't 100%
 flexible but supports any number of hourly, daily, monthly, and yearly
 snapshots, with retention policies for each.

 no systemd-unitfiles yet, correct? I merged it and took a quick look, as
 far as I understand it needs a service running ...

 I will check back later this evening and see how to get that working here.

It uses crontab and portage hooks (though I don't know if the package
in portage installs hooks, and if you don't want hundreds of snapshots
you probably don't want them anyway).

Rich



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread J. Roeleveld
On Tuesday, May 27, 2014 12:57:58 PM Stefan G. Weichinger wrote:
 Am 27.05.2014 09:59, schrieb Neil Bothwick:
  So far, btrfs looks good on my laptop - time to think about putting
  it on my desktop.
 
 Yeah, good luck with that. I am quite happy with btrfs so far ... no
 problems or disadvantages so far.
 
 And the hourly snapshots of / and /home on my desktop are really nice
 to have ;-)

Hourly snapshots are nice, but I wonder how much need there is if the 
filesystem itself doesn't change very much.

I am still happily using LVM with snapshots. Those are instantaneous as well 
and I can then backup the snapshot, which on my server takes between 2 hours 
(incremental) and 3 weeks (full)
When a snapshot is backed up, it is removed.

The process to create the snapshots runs daily, but I could also configure it 
to run more often. This means that when I start a daily backup, the 
incrementals are piling up as snapshots.

With 15 different filesystems to backup, I didn't experience any issue with 
this.

I wonder how btrfs would deal with a situation like this?

--
Joost



Re: [gentoo-user] Organising btrfs subvolumes

2014-05-27 Thread Rich Freeman
On Tue, May 27, 2014 at 10:09 AM, J. Roeleveld jo...@antarean.org wrote:
 I am still happily using LVM with snapshots. Those are instantaneous as well
 and I can then backup the snapshot, which on my server takes between 2 hours
 (incremental) and 3 weeks (full)
 When a snapshot is backed up, it is removed.

 The process to create the snapshots runs daily, but I could also configure it
 to run more often. This means that when I start a daily backup, the
 incrementals are piling up as snapshots.

 With 15 different filesystems to backup, I didn't experience any issue with
 this.

 I wonder how btrfs would deal with a situation like this?

btrfs wouldn't have any issues with this at all.  You'd have an
advantage in that you wouldn't have to unmount the filesystem to
cleanly create the snapshot (which you have to do with lvm).  If
you're concerned about application-level consistency you still need to
get applications to flush their writes/checkpoint/etc (which don't
have to be on disk, but they do have to be sent to the kernel).

If you want to get really crazy you could make use of btrfs send as
well - which is a filesystem-level function which tracks the actual
changes between snapshots.  Think of it like librsync with full file
comparisons (a very expensive mode that few use in practice) but it
doesn't need to actually read the files or have access to the
destination files to find the differences.  Doing this does require
keeping around a snapshot until all backups incrementally created
against it are done (if there are going to be any).

But, you can always just create a snapshot, write it to backup with
your favorite tool (it is just a directory tree), and then remove it
as soon as you're done with it.  Creating a snapshot is atomic at the
filesystem level, though again if you want application level
consistency you need to deal with that until somebody comes up with a
transactional way to store files on Linux that is more elegant that
fsyncing on every write.

Rich



Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Alan McKinnon
On 27/05/2014 15:23, Time Lucky wrote:
 My USE in make.conf is
 SE=bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde
 -qt4 X acpi bash-completion bluetooth cjk unicode ipv6



At a hunch, I would say your USE for mesa is incorrect, possibly you
have classic enabled and gallium disabled?

Here's mine which works for me with an i915:

[I] media-libs/mesa
 Installed versions:  10.1.4(09:27:10 25/05/2014)(dri3 egl gallium
gbm gles2 nptl xvmc -bindist -classic -debug -gles1 -llvm -opencl
-openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau
-wayland -xa ABI_MIPS=-n32 -n64 -o32 ABI_X86=64 -32 -x32
KERNEL=-FreeBSD VIDEO_CARDS=intel radeon -freedreno -i915 -i965 -ilo
-nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware)

 
 
 
 2014-05-27 21:21 GMT+08:00 Time Lucky fly8...@gmail.com
 mailto:fly8...@gmail.com:
 
 intel vesa fbdev comes from
 http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220;
 i915 comes from gentoo forums.
 So VIDEO_CARDS=intel i915 vesa fbdev
 
 # equery u x11-drivers/xf86-video-inte
 it tells the USE is dri sna udev ,while debug glamor uxa xvmc is
 disabled
 
 # equery files x11-drivers/xf86-video-intel
  * Searching for xf86-video-intel in x11-drivers ...
  * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
 /usr
 /usr/bin
 /usr/bin/intel-virtual-output
 /usr/lib64
 /usr/lib64/xorg
 /usr/lib64/xorg/modules
 /usr/lib64/xorg/modules/drivers
 /usr/lib64/xorg/modules/drivers/intel_drv.so
 /usr/libexec
 /usr/libexec/xf86-video-intel-backlight-helper
 /usr/share
 /usr/share/doc
 /usr/share/doc/xf86-video-intel-2.99.911-r1
 /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
 /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
 /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
 /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
 /usr/share/man
 /usr/share/man/man4
 /usr/share/man/man4/intel-virtual-output.4.bz2
 /usr/share/man/man4/intel.4.bz2
 /usr/share/polkit-1
 /usr/share/polkit-1/actions
 /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
 
 
 
 2014-05-27 21:07 GMT+08:00 Alan McKinnon alan.mckin...@gmail.com
 mailto:alan.mckin...@gmail.com:
 
 On 27/05/2014 14:52, Time Lucky wrote:
  Hey,guys.
 
  Anyone can tell me how to switch Gallium 0.4  to intel driver?
  I dont know why it happened but now my computer is very slow
 when I use
  gnome 3.10.
 
  $ /usr/libexec/gnome-session-check-accelerated-helper -v
  libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
  (/usr/lib64/dri/i965_dri.so: cannot open shared object file:
 No such
  file or directory)
  libGL error: unable to load driver: i965_dri.so
  libGL error: driver pointer missing
  libGL error: failed to load driver: i965
  gnome-session-is-accelerated: llvmpipe detected.
 
  Thank you.
 
 
 
 What do you have in VIDEO_CARDS?
 What use flags are set for xf86-video-intel?
 
 As I understand it, the packages use those 2 magic settings and
 build
 the right thing for you. If that all looks OK, what do you get from
 
 equery files x11-drivers/xf86-video-intel
 
 ?
 
 --
 Alan McKinnon
 alan.mckin...@gmail.com mailto:alan.mckin...@gmail.com
 
 
 
 


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Backups and snapshots [Was: Organising btrfs subvolumes]

2014-05-27 Thread J. Roeleveld
On Tuesday, May 27, 2014 10:31:26 AM Rich Freeman wrote:
 On Tue, May 27, 2014 at 10:09 AM, J. Roeleveld jo...@antarean.org wrote:
  I am still happily using LVM with snapshots. Those are instantaneous as
  well and I can then backup the snapshot, which on my server takes between
  2 hours (incremental) and 3 weeks (full)
  When a snapshot is backed up, it is removed.
  
  The process to create the snapshots runs daily, but I could also configure
  it to run more often. This means that when I start a daily backup, the
  incrementals are piling up as snapshots.
  
  With 15 different filesystems to backup, I didn't experience any issue
  with
  this.
  
  I wonder how btrfs would deal with a situation like this?
 
 btrfs wouldn't have any issues with this at all.  You'd have an
 advantage in that you wouldn't have to unmount the filesystem to
 cleanly create the snapshot (which you have to do with lvm).

That, or a sync prior to creating the snapshot. :)

 If
 you're concerned about application-level consistency you still need to
 get applications to flush their writes/checkpoint/etc (which don't
 have to be on disk, but they do have to be sent to the kernel).

Application-level consistency, for some of the filesystems, means stopping the 
application, taking a backup of the database, creating a snapshot and then 
restarting the application.
For all the applications I run, the entire nightly process takes 2 minutes in 
total. During this time, services become temporarily unavailable.
This is acceptable.

 If you want to get really crazy you could make use of btrfs send as
 well - which is a filesystem-level function which tracks the actual
 changes between snapshots.  Think of it like librsync with full file
 comparisons (a very expensive mode that few use in practice) but it
 doesn't need to actually read the files or have access to the
 destination files to find the differences.  Doing this does require
 keeping around a snapshot until all backups incrementally created
 against it are done (if there are going to be any).

I have a yearly (full), monthly, weekly and daily. Each incremental is against 
the most recent one of itself or longer period.
That means having to keep multiple snapshots active, which I prefer to avoid.

But, it is a good idea for backing up desktops and laptops.

 But, you can always just create a snapshot, write it to backup with
 your favorite tool (it is just a directory tree), and then remove it
 as soon as you're done with it.  Creating a snapshot is atomic at the
 filesystem level, though again if you want application level
 consistency you need to deal with that until somebody comes up with a
 transactional way to store files on Linux that is more elegant that
 fsyncing on every write.

That would require a method to keep database and filesystem perfectly in sync 
when they are not necessarily on the same machine.



Re: [gentoo-user] Backups and snapshots [Was: Organising btrfs subvolumes]

2014-05-27 Thread J. Roeleveld
On Tuesday, May 27, 2014 05:12:50 PM J. Roeleveld wrote:
 On Tuesday, May 27, 2014 10:31:26 AM Rich Freeman wrote:
  On Tue, May 27, 2014 at 10:09 AM, J. Roeleveld jo...@antarean.org wrote:

snipped

Forgot to add:

For fileservers, I am starting to feel that ZFS or BTRFS snapshots are easier 
to work with as it makes restoring files simpler.
Does anyone know how these will handle (and perform) with a possible 300+ 
snapshots per filesystem (or volume, as I think it's called)?

--
Joost



Re: [gentoo-user] Backups and snapshots [Was: Organising btrfs subvolumes]

2014-05-27 Thread Rich Freeman
On Tue, May 27, 2014 at 11:12 AM, J. Roeleveld jo...@antarean.org wrote:
 On Tuesday, May 27, 2014 10:31:26 AM Rich Freeman wrote:
 btrfs wouldn't have any issues with this at all.  You'd have an
 advantage in that you wouldn't have to unmount the filesystem to
 cleanly create the snapshot (which you have to do with lvm).

 That, or a sync prior to creating the snapshot. :)

If the filesystem is still mounted, I'm not sure that a sync is
guaranteed to give you a clean remount.  It only flushes the
caches/etc.  You need to remount read-only or unmount before doing the
sync (and the sync probably isn't actually necessary as I'd think LVM
would snapshot the contents of the cache as well).

 I have a yearly (full), monthly, weekly and daily. Each incremental is against
 the most recent one of itself or longer period.
 That means having to keep multiple snapshots active, which I prefer to avoid.

You only need to store snapshots for use with incremental backups.
So, if all your backups are full, then you don't need to retain any
snapshots (and you wouldn't use btrfs send anyway).  If your yearly is
full and your monthlies are incremental against the yearly then you
need to keep your yearly snapshot for a year.  If your yearly is full
and your monthlies are incremental against the last month, then you
only need to keep the yearly until the next monthly.  If your
monthlies are full then you only need to keep the current monthly
assuming your dailies are incremental against those, but if they're
incremental from the last daily then you never need to keep anything
for more than a day.


 But, it is a good idea for backing up desktops and laptops.

It is really intended more for something like datacenter replication.
Snapshot every 5 min, send the data to the backup datacenter, delete
the snapshots upon confirmation of successful receipt.  In such a
scenario you wouldn't retain the sent files but just keep playing them
against the replicate filesystem.

They'd be fine for backups as well, as long as you can store the
snapshots online until no longer needed for incrementals.


 But, you can always just create a snapshot, write it to backup with
 your favorite tool (it is just a directory tree), and then remove it
 as soon as you're done with it.  Creating a snapshot is atomic at the
 filesystem level, though again if you want application level
 consistency you need to deal with that until somebody comes up with a
 transactional way to store files on Linux that is more elegant that
 fsyncing on every write.

 That would require a method to keep database and filesystem perfectly in sync
 when they are not necessarily on the same machine.


Well, right now we can't even guarantee consistency when everything is
written by a single process on the same machine.  The best we have is
a clunky fsync operation which kills the write cache and destroys
performance, and even that doesn't do anything if you have more than
one file that must be consistent.

The result is journals on top of journals as nobody can trust the next
layer down to do its job correctly.

Going across machines does complicate things further as there are more
failure modes that take out one part of the overall system but not
another.  However, I'd like to think that an OS that natively supports
transactions could at least standardize things so that every layer
along the path isn't storing its own journal.

In fact, many of the optimizations possible with zfs and btrfs are due
to the fact that you eliminate all those layers.

Rich



Re: [gentoo-user] Backups and snapshots [Was: Organising btrfs subvolumes]

2014-05-27 Thread Rich Freeman
On Tue, May 27, 2014 at 11:21 AM, J. Roeleveld jo...@antarean.org wrote:
 Does anyone know how these will handle (and perform) with a possible 300+
 snapshots per filesystem (or volume, as I think it's called)?

I can't speak for zfs.  I had upwards of 1000 snapshots on my system
before I stopped creating them hourly and and just started having
issues with it.

I wouldn't really say it is ready for prime time, but it is workable.
Of course, you'll still want backups - a million snapshots does you no
good if some bug wipes out your filesystem.  For one of my ENOSPC
incidents I ended up just wiping the entire filesystem and restoring
from backup, though if I kept at it I'd probably have been able to fix
it.

Oh, one other tip if you use btrfs - be sure you have a rescue disk
that supports it.  Hint, the old Gentoo install CD I had lying around
didn't.  You'll probably want to keep a rescue CD with a recent kernel
and btrfs-tools handy at all times.

Rich



Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Time Lucky
 ​
  VIDEO_
 ​​
 ​​
 CARDS=intel radeon -freedreno -i915 -i965 -ilo

​​
-nouveau -r
​​
100 -r200 -r300 -r600 -radeonsi -vmware
​
​
Solved!

I realized that your VIDEO_CARDS was -i915
then I removed i915 from make.conf

# emerge -avtuDN world
​​
N
​​
​​
​​
​​
​​
ow
​ ​It detects
Intel® Sandybridge Mobile
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​.​
​


I should follow the wiki just use
intel vesa fbdev
​
​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​​
​Everything is OK though  I can't understand why I must remove i915
when Intel® Sandybridge Mobile 's driver is called i915 in kernel modules.

​​
​

Thank you :)




2014-05-27 22:50 GMT+08:00 Alan McKinnon alan.mckin...@gmail.com:

 On 27/05/2014 15:23, Time Lucky wrote:
  My USE in make.conf is
  SE=bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde
  -qt4 X acpi bash-completion bluetooth cjk unicode ipv6



 At a hunch, I would say your USE for mesa is incorrect, possibly you
 have classic enabled and gallium disabled?

 Here's mine which works for me with an i915:

 [I] media-libs/mesa
  Installed versions:  10.1.4(09:27:10 25/05/2014)(dri3 egl gallium
 gbm gles2 nptl xvmc -bindist -classic -debug -gles1 -llvm -opencl
 -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau
 -wayland -xa ABI_MIPS=-n32 -n64 -o32 ABI_X86=64 -32 -x32
 KERNEL=-FreeBSD VIDEO_CARDS=intel radeon -freedreno -i915 -i965 -ilo
 -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware)

 
 
 
  2014-05-27 21:21 GMT+08:00 Time Lucky fly8...@gmail.com
  mailto:fly8...@gmail.com:
 
  intel vesa fbdev comes from
  http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220;
  i915 comes from gentoo forums.
  So VIDEO_CARDS=intel i915 vesa fbdev
 
  # equery u x11-drivers/xf86-video-inte
  it tells the USE is dri sna udev ,while debug glamor uxa xvmc is
  disabled
 
  # equery files x11-drivers/xf86-video-intel
   * Searching for xf86-video-intel in x11-drivers ...
   * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
  /usr
  /usr/bin
  /usr/bin/intel-virtual-output
  /usr/lib64
  /usr/lib64/xorg
  /usr/lib64/xorg/modules
  /usr/lib64/xorg/modules/drivers
  /usr/lib64/xorg/modules/drivers/intel_drv.so
  /usr/libexec
  /usr/libexec/xf86-video-intel-backlight-helper
  /usr/share
  /usr/share/doc
  /usr/share/doc/xf86-video-intel-2.99.911-r1
  /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
  /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
  /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
  /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
  /usr/share/man
  /usr/share/man/man4
  /usr/share/man/man4/intel-virtual-output.4.bz2
  /usr/share/man/man4/intel.4.bz2
  /usr/share/polkit-1
  /usr/share/polkit-1/actions
 
 /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
 
 
 
  2014-05-27 21:07 GMT+08:00 Alan McKinnon alan.mckin...@gmail.com
  mailto:alan.mckin...@gmail.com:
 
  On 27/05/2014 14:52, Time Lucky wrote:
   Hey,guys.
  
   Anyone can tell me how to switch Gallium 0.4  to intel driver?
   I dont know why it happened but now my computer is very slow
  when I use
   gnome 3.10.
  
   $ /usr/libexec/gnome-session-check-accelerated-helper -v
   libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
   (/usr/lib64/dri/i965_dri.so: cannot open shared object file:
  No such
   file or directory)
   libGL error: unable to load driver: i965_dri.so
   libGL error: driver pointer missing
   libGL error: failed to load driver: i965
   gnome-session-is-accelerated: llvmpipe detected.
  
   Thank you.
  
 
 
  What do you have in VIDEO_CARDS?
  What use flags are set for xf86-video-intel?
 
  As I understand it, the packages use those 2 magic settings and
  build
  the right thing for you. If that all looks OK, what do you get
 from
 
  equery files x11-drivers/xf86-video-intel
 
  ?
 
  --
  Alan McKinnon
  alan.mckin...@gmail.com mailto:alan.mckin...@gmail.com
 
 
 
 


 --
 Alan McKinnon
 alan.mckin...@gmail.com





Re: [gentoo-user] What happened to Qt 5?

2014-05-27 Thread Pandu Poluan
On Tue, May 27, 2014 at 12:32 PM, Nikos Chantziaras rea...@gmail.com wrote:
 Wasn't it supposed to hit portage a long time ago? Any news? There's zero
 information on the http://www.gentoo.org/proj/en/desktop/qt site.



I see many blockers in the [TRACKER] Qt5 in portage bug [0].

I do believe the KDE project team monitors Qt5-in-tree closely [1].


[0] https://bugs.gentoo.org/show_bug.cgi?id=454132
[1] http://wiki.gentoo.org/wiki/Project:KDE/Frameworks


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pandu.poluan.info/blog/
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] What happened to Qt 5?

2014-05-27 Thread wireless

On 05/27/14 00:40, Nikos Chantziaras wrote:

Wasn't it supposed to hit portage a long time ago? Any news? There's
zero information on the http://www.gentoo.org/proj/en/desktop/qt site.



I run lxde on one desktop; and my experimental results are nothing short 
of fabulous. A while back they (LXDE and razor-qt projects)  decided to 
merge and support QT5. [1] If you have a spare desktop, you might want 
to experiment with QT5 via LXDE-QT [2].



I have not inquired when LXDE-QT known also as LXQT will formerly 
appear in portage; I can't remember where I read rumblings about it.

I have just now looked for an overlay [3].

I do like the new (old_school?) approach of LXde and it's resource 
footprint is very, very small.  qt is a fine piece of work; I have

issues with the KDE vision and LXQT seems to be reading my mind
on what a gui environment should and should not do, imho.

Lightweight X means it could and should run in many places, easily and 
securely, like in a VM environment, tablets, etc etc.



hth,
James


[1]  http://wiki.lxde.org/en/Migrate_from_GTK%2B_to_Qt

[2] http://wiki.lxde.org/en/Build_LXDE-Qt_From_Source

[3] https://github.com/mika-k/lxqt-overlay



Re: [gentoo-user] Re: Smart Label Printe SLP 650

2014-05-27 Thread Joseph

On 05/26/14 15:38, walt wrote:

On 05/25/2014 03:47 PM, Joseph wrote:

Is anybody using Smart Label Printer SLP-650 with Gentoo?

The cup driver recognized the printer and install it but it is not printing 
anything, I'm getting:

SII_SLP650SII SLP650officeSII SLP650/SLP650SE, 1.8
Idle - File 
/Library/Printers/SII/rastertosiislp.app/Contents/MacOS/rastertosiislp not available: 
No such file or directory


Hi Joseph.  I'm replying only because nobody else has.  I'm no cups expert, but 
my gut
reaction would be to install net-print/gutenprint.

If that doesn't work, at least it didn't cost you anything but
a bit of disk space  :)



Thanks for suggestion, it is not helping. The printer just advances the labels, 
it doesn't print anything on it.


--
Joseph



Re: [gentoo-user] Backups and snapshots [Was: Organising btrfs subvolumes]

2014-05-27 Thread Neil Bothwick
On Tue, 27 May 2014 11:32:22 -0400, Rich Freeman wrote:

 Oh, one other tip if you use btrfs - be sure you have a rescue disk
 that supports it.  Hint, the old Gentoo install CD I had lying around
 didn't.  You'll probably want to keep a rescue CD with a recent kernel
 and btrfs-tools handy at all times.

I have a couple of System Rescue Cd ISOs in /boot and GRUB entries to boot
them. I have two because I wanted the latest for btrfs but couldn't be
bothered remastering for ZFS so i have an older, premastered image for
that.


-- 
Neil Bothwick

Mr. bullfrog says: time's fun when you're having flies.


signature.asc
Description: PGP signature


Re: [gentoo-user] Backups and snapshots [Was: Organising btrfs subvolumes]

2014-05-27 Thread Alan McKinnon
On 27/05/2014 17:12, J. Roeleveld wrote:
 I have a yearly (full), monthly, weekly and daily. Each incremental is 
 against 
 the most recent one of itself or longer period.
 That means having to keep multiple snapshots active, which I prefer to avoid.
 
 But, it is a good idea for backing up desktops and laptops.


I'm curious why you have yearly snapshots. I've yet to find any sane
production system where a yearly backup had any worth at all. Even
monthly is pushing it...

Or do you do it to have a decent start point for incrementals?


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)

2014-05-27 Thread Alan McKinnon
On 27/05/2014 18:20, Time Lucky wrote:
 
 ​ 
  VIDEO_
 ​​
 ​​
 CARDS=intel radeon -freedreno -i915 -i965 -ilo
 
 ​​
 -nouveau -r
 ​​
 100 -r200 -r300 -r600 -radeonsi -vmware
 ​
 ​
 Solved!
 
 I realized that your VIDEO_CARDS was -i915
 then I removed i915 from make.conf



Take what I say here with a pinch of salt (building the right drivers
with the right settings to work right on the right hardware is, IMNSHO,
a huge amount of black magic :-)


anyway, I seem to recall that USE=i915 or i965 was the old way of doing
things and you needed to know what chipset to build for. Recent code has
merged all of that nonsense so all you have to do is set
VIDEO_CARDS=intel and emerge can figure out what to build for the
hardware it's running on.

But I could be completely wrong too, so YMMV :-)



 
 # emerge -avtuDN world
 ​​
 N
 ​​
 ​​
 ​​
 ​​
 ​​
 ow
 ​ ​It detects 
 Intel® Sandybridge Mobile 
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​.​
 ​
 
 
 I should follow the wiki just use 
 intel vesa fbdev
 ​
 ​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​​
 ​Everything is OK though  I can't understand why I must remove i915
 when Intel® Sandybridge Mobile 's driver is called i915 in kernel modules.
 
 ​​
 ​
 
 Thank you :)
 
 
 
 
 2014-05-27 22:50 GMT+08:00 Alan McKinnon alan.mckin...@gmail.com
 mailto:alan.mckin...@gmail.com:
 
 On 27/05/2014 15:23, Time Lucky wrote:
  My USE in make.conf is
  SE=bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde
  -qt4 X acpi bash-completion bluetooth cjk unicode ipv6
 
 
 
 At a hunch, I would say your USE for mesa is incorrect, possibly you
 have classic enabled and gallium disabled?
 
 Here's mine which works for me with an i915:
 
 [I] media-libs/mesa
  Installed versions:  10.1.4(09:27:10 25/05/2014)(dri3 egl gallium
 gbm gles2 nptl xvmc -bindist -classic -debug -gles1 -llvm -opencl
 -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau
 -wayland -xa ABI_MIPS=-n32 -n64 -o32 ABI_X86=64 -32 -x32
 KERNEL=-FreeBSD VIDEO_CARDS=intel radeon -freedreno -i915 -i965 -ilo
 -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware)
 
 
 
 
  2014-05-27 21:21 GMT+08:00 Time Lucky fly8...@gmail.com
 mailto:fly8...@gmail.com
  mailto:fly8...@gmail.com mailto:fly8...@gmail.com:
 
  intel vesa fbdev comes from
 
 http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220;
  i915 comes from gentoo forums.
  So VIDEO_CARDS=intel i915 vesa fbdev
 
  # equery u x11-drivers/xf86-video-inte
  it tells the USE is dri sna udev ,while debug glamor uxa
 xvmc is
  disabled
 
  # equery files x11-drivers/xf86-video-intel
   * Searching for xf86-video-intel in x11-drivers ...
   * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
  /usr
  /usr/bin
  /usr/bin/intel-virtual-output
  /usr/lib64
  /usr/lib64/xorg
  /usr/lib64/xorg/modules
  /usr/lib64/xorg/modules/drivers
  /usr/lib64/xorg/modules/drivers/intel_drv.so
  /usr/libexec
  /usr/libexec/xf86-video-intel-backlight-helper
  /usr/share
  /usr/share/doc
  /usr/share/doc/xf86-video-intel-2.99.911-r1
  /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
  /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
  /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
  /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
  /usr/share/man
  /usr/share/man/man4
  /usr/share/man/man4/intel-virtual-output.4.bz2
  /usr/share/man/man4/intel.4.bz2
  /usr/share/polkit-1
  /usr/share/polkit-1/actions
 
 /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
 
 
 
  2014-05-27 21:07 GMT+08:00 Alan McKinnon
 alan.mckin...@gmail.com mailto:alan.mckin...@gmail.com
  mailto:alan.mckin...@gmail.com
 mailto:alan.mckin...@gmail.com:
 
  On 27/05/2014 14:52, Time Lucky wrote:
   Hey,guys.
  
   Anyone can tell me how to switch Gallium 0.4  to intel
 driver?
   I dont know why it happened but now my computer is very slow
  when I use
   gnome 3.10.
  
   $ /usr/libexec/gnome-session-check-accelerated-helper -v
   libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
   (/usr/lib64/dri/i965_dri.so: cannot open shared object file:
  No such
   file or directory)
   libGL error: unable to load driver: i965_dri.so
   libGL 

Re: [gentoo-user] about to give up on systemd and gnome

2014-05-27 Thread Tom Wijsman
On Sun, 25 May 2014 05:26:26 -0400
cov...@ccs.covici.com wrote:

 But c because I am not very familiar with gdm, can you give me a key
 sequence after gdm is launched to emter my user id and password?

Key sequence: [SHIFT+TAB][ENTER]username[ENTER]password[ENTER]

The first part selects Not listed here?; then it'll prompt for
username, after which it'll prompt for password.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


[gentoo-user] Odd Update Issue

2014-05-27 Thread Hunter Jozwiak
Hi guys.  I ran into this error while doing a full system update, 
and was wondering if there was a solution.

-Begin Messajes
Calculating dependencies .. ..  done! [ebuild U ] 
media-libs/mesa-10.2.0.rcbled [10.0.4] USE equals comdriblec% 
comopenmax%was VIDEOCARDS equals nouveauinin radeoninin 
vmwareinin
 greater-than  greater-than  greater-than Verifying ebuild 
manifests
 greater-than  greater-than  greater-than Emerging (1 of 1) 
media-libs/mesa-10.2.0.rc433gentoo * MesaLib-10.2.0-rc44tarddbz2 
SHA256 SHA512 WHIRLPOOL size ;com) ...  Were ok ] greater-than  
greater-than  greater-than Unpacking source...  greater-than  
greater-than  greater-than Unpacking MesaLib-10.2.0-rc44tarddbz2 
to /var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work 
greater-than  greater-than  greater-than Source unpacked in 
/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work greater-than  
greater-than  greater-than Preparing source in 
/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work/Mesa-10.2.0-r

cbled ...
 * Cannot find $EPATCHSOURCE! Value for $EPATCHSOURCE is: * * 
/usr/portage/media-libs/mesa/files/mesa-10.2-dont-require-llvm-fo
r-r3004patch * were mesa-10.2-dont-require-llvm-for-r3004patch 
were
 * ERROR: media-libs/mesa-10.2.0.rc433gentoo failed (prepare 
phase): * Cannot find $EPATCHSOURCE! * * Call stack: * 
ebuildddsh, line 93: Called srcprepare * environment, line 4773: 
Called epatch 
'/usr/portage/media-libs/mesa/files/mesa-10.2-dont-require-llvm-f
or-r3004patch' * environment, line 1849: Called die * The 
specific snippet of code: * die Cannot find backslash 
$EPATCHSOURCE!; * * If you need support, post the output of 
`emerge -info ' equals media-libs/mesa-10.2.0.rc433gentoo'`, * 
the complete build log and the output of `emerge compqv ' equals 
media-libs/mesa-10.2.0.rc433gentoo'`.  * The complete build log 
is located at 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/temp/buildddlog'.  
* The ebuild environment file is located at 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/temp/environment'
.  * Working directory: 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work/Mesa-10.2.0-
rc4' * S: 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work/Mesa-10.2.0-

rc4'
 greater-than  greater-than  greater-than Failed to emerge 
media-libs/mesa-10.2.0.rcbled, Log file:
 greater-than  greater-than  greater-than 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/temp/buildddlog' 
* Messages for package media-libs/mesa-10.2.0.rcbled: * Cannot 
find $EPATCHSOURCE! Value for $EPATCHSOURCE is: * * 
/usr/portage/media-libs/mesa/files/mesa-10.2-dont-require-llvm-fo
r-r3004patch * were mesa-10.2-dont-require-llvm-for-r3004patch 
were * ERROR: media-libs/mesa-10.2.0.rc433gentoo failed (prepare 
phase): * Cannot find $EPATCHSOURCE! * * Call stack: * 
ebuildddsh, line 93: Called srcprepare * environment, line 4773: 
Called epatch 
'/usr/portage/media-libs/mesa/files/mesa-10.2-dont-require-llvm-f
or-r3004patch' * environment, line 1849: Called die * The 
specific snippet of code: * die Cannot find backslash 
$EPATCHSOURCE!; * * If you need support, post the output of 
`emerge -info ' equals media-libs/mesa-10.2.0.rc433gentoo'`, * 
the complete build log and the output of `emerge compqv ' equals 
media-libs/mesa-10.2.0.rc433gentoo'`.  * The complete build log 
is located at 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/temp/buildddlog'.  
* The ebuild environment file is located at 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/temp/environment'
.  * Working directory: 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work/Mesa-10.2.0-
rc4' * S: 
'/var/tmp/portage/media-libs/mesa-10.2.0.rcbled/work/Mesa-10.2.0-

rc4'


Portage 2.2.10 (default/linux/xblehf/acj/desktop/gnome/systemd, 
gcc-4.7.3, glibc-2.19, 3.12.13-gentoo i686) equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals
 System Settings equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals equals equals equals equals 
equals equals equals equals equals System 
uname:Linux-3.12.13-gentoo-i686-Intel-R-_Celeron-R-_CPU_B800_@_1.
50GHz-with-gentoo-2.2 KiB Mem: 1916484 total, 196656 free KiB 
Swap: 524284 total, 505820 free Timestamp of tree: Tue, 27 May 
2014 18:45:01 plus  ld GNU ld (GNU Binutils) 2.24 

Re: [gentoo-user] about to give up on systemd and gnome

2014-05-27 Thread covici
Tom Wijsman tom...@gentoo.org wrote:

 On Sun, 25 May 2014 05:26:26 -0400
 cov...@ccs.covici.com wrote:
 
  But c because I am not very familiar with gdm, can you give me a key
  sequence after gdm is launched to emter my user id and password?
 
 Key sequence: [SHIFT+TAB][ENTER]username[ENTER]password[ENTER]
 
 The first part selects Not listed here?; then it'll prompt for
 username, after which it'll prompt for password.

Thanks so much!


-- 
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] Odd Update Issue

2014-05-27 Thread Walter Dnes
On Tue, May 27, 2014 at 08:58:56PM -0400, Hunter Jozwiak wrote

 VIDEOCARDS equals nouveauinin radeoninin vmwareinin

   media-libs/mesa-10.0.4 was built with the following: USE equals 
 classic egl gallium gbm llvm nptl xa combindist comdebug 
 comgles1 comgles2 comllvm-shared-libs comopencl comopenvg 
 comosmesa compaxkernel compic comr600-llvm-compiler (comselinux) 
 comvdpau comwayland comxvmc VIDEOCARDS equals intel 
 comfreedreno comi915 comi965 comilo comnouveau comr100 comr200 
 comr300 comr600 comradeon comradeonsi comvmware

  Can you check your make.conf and your package.use files? You seem to
have weird inin suffixes and com prefixes in your output.

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