[gentoo-user] esue -i for cpu flags

2015-02-04 Thread James
Hello

So I use this syntax all the time

esue -i {flagname}

for lots of information. It still works with most flags as
it always has (euse -i X). Lastly (since the new global CPU flag changes)
it does not work for the old cpu-specific flags. Why?


euse -i sse
global use flags (searching: sse)

no matching entries found

local use flags (searching: sse)

no matching entries found


yet this works:

equery hasuse sse
 * Searching for USE flag sse ... 
[IP-] [  ] app-benchmarks/ramspeed-3.5.0-r2:0
[IP-] [  ] media-gfx/gimp-2.8.10-r1:2
[IP-] [  ] media-libs/babl-0.1.10-r1:0
[IP-] [  ] media-libs/flac-1.3.1-r1:0
[IP-] [  ] media-libs/gegl-0.2.0-r2:0
[IP-] [  ] media-libs/lensfun-0.2.8-r1:0
[IP-] [  ] media-libs/libvpx-1.3.0:0
[IP-] [  ] media-libs/speex-1.2_rc1-r2:0
[IP-] [  ] media-libs/x264-0.0.20140308:0/142
[IP-] [  ] media-sound/jack-audio-connection-kit-0.121.3-r1:0
[IP-] [  ] media-sound/mpg123-1.18.1:0
[IP-] [  ] media-video/mplayer-1.2_pre20130729:0
[IP-] [  ] media-video/mplayer2-2.0_p20131009:0
[IP-] [  ] media-video/vlc-2.1.2:0/5-7
[IP-] [  ] sci-libs/fftw-3.3.3-r2:3.0


Ok so what change and where did I miss reading about it?


James







Re: [gentoo-user] Making a new frame-buffer console font

2015-02-04 Thread Walter Dnes
On Wed, Feb 04, 2015 at 03:33:58PM +, Peter Humphrey wrote
 On Wednesday 04 February 2015 09:19:20 Walter Dnes wrote:
 
   A bit of a tangent... do you know of any font editors that will
  convert a font to double-wide?  E.g. convert 8x8 to 16x8, 8x12 to
  16x12, or 8x16 to 16x16.
 
 I think that would be a bit of a tall order, unless you're happy to 
 accept glyphs all having double-thickness vertical lines.

  That's what I was looking for.  I did not expect natively designed
16-pixel-wide fonts.

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



[gentoo-user] rdesktop problems 1.8.2 - 1.8.3

2015-02-04 Thread Matthias Hanft
Hi,

I'm using net-misc/rdesktop in order to get access to a VirtualBox
(Windows) guest on a remote (also Gentoo) Linux:

Windows PC with  Gentoo Linux with - Gentoo Linux with
Xming serverssh  rdesktop programVirtualBox (Windows)

From my Windows desktop PC (where Xming server is running), I use a
PuTTY ssh to a Linux shell, call rdesktop -u ... -p ... hostname 
from there, and I get the Windows desktop from the remote host onto
my own desktop.

Until net-misc/rdesktop-1.8.2, everything worked like a charm. But
with 1.8.3 (which portage installed this week), I can't mouse-click
in the remote desktop window any more (and keypresses seem to be
ignored either). Sometimes even the desktop isn't painted completely
(only about 75% from top, doesn't reach the Windows task bar at the
bottom).

I have alread looked at the changelog at packages.gentoo.org, but
only found some minor (?) bugfix - nothing about any fundamental
issues or bigger changes...

Downgraded to 1.8.2 - and everything works flawlessly again!

What could it be that 1.8.3 doesn't work any more?

-Matt



Re: [gentoo-user] Making a new frame-buffer console font

2015-02-04 Thread wabenbau
Am Mittwoch, 04.02.2015 um 15:33
schrieb Peter Humphrey pe...@prh.myzen.co.uk:

 From my own experience I can only suggest terminus-font; you might
 find 
 an acceptable compromise there as its heights range from 12 to 32 
 pixels, so I suppose its widths will range from 6 to 16. Or perhaps
 some font will call itself [something]-wide.

I also use terminus-font as console font and even as X11 desktop font
since many years. It's readability is very good.

Regards
wabe



Re: [gentoo-user] Strange Alt key behavior?

2015-02-04 Thread J. Roeleveld
On 4 February 2015 15:27:32 CET, Walter Dnes waltd...@waltdnes.org wrote:
On Tue, Feb 03, 2015 at 04:54:31PM -0800, Grant wrote
 I send a system image of my laptop to various other laptops of the
 same make and model which they use to operate.  I wrote a script for
 this and it works great.  I've run into a situation where a
particular
 new (used) laptop works fine but the Alt+F2 shortcut to open the
 program launcher in xfce4 doesn't work and I can't switch to VTs 1-3
 with Ctrl+Alt+F1/F2/F3.  VT4 works but then VT7 doesn't bring back
the
 desktop.  I'm not sure what this is pointing to.  Any ideas?

  The chvt command can change terminals.  E.g. chvt 1 is equivalant
to Ctrl+Alt+F1.  *NOTE*... chvt requires root (or su/sudo) permission
to work.

Also, and this is just for completeness, once in a text console, you can use
ALT+arrowleft or arrowright
to cycle through the vt's in the direction of the arrow keys.

--
Joost 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Strange Alt key behavior?

2015-02-04 Thread Grant
I send a system image of my laptop to various other laptops of the
same make and model which they use to operate.  I wrote a script for
this and it works great.  I've run into a situation where a particular
new (used) laptop works fine but the Alt+F2 shortcut to open the
program launcher in xfce4 doesn't work and I can't switch to VTs 1-3
with Ctrl+Alt+F1/F2/F3.  VT4 works but then VT7 doesn't bring back the
desktop.  I'm not sure what this is pointing to.  Any ideas?


 Some laptops have a bios option to switch the behavior of the Fn key such 
 that you need to press Fn+F2 to send a F2 key. The bare F1/F2/.. send the 
 extra keys, such as volume controls and screen brightness. It might be worth 
 checking if Fn+Alt+F2 does what you want.


Bruce, I could kiss you.  Thank you so much.

- Grant



[gentoo-user] Nvidia and Radeon video cards in the same box.

2015-02-04 Thread Linux

First question should be, can this be done?

I had 2 Nvidia videos cards, running 2 monitors, with X spanning both 
monitors.


One card died and I replaced it with a Radeon video card.  Can I still 
span X across the two monitors?  Does the make/model of the cards matter 
at all?


If the answer is yes, then my next step is figuring out why I can get 
either monitor to work alone, but can't get both of them to work together.


More information will be provided once I know this is possible.

Thanks much - Skippy



[gentoo-user] Re: rdesktop problems 1.8.2 - 1.8.3

2015-02-04 Thread walt
On 02/04/2015 01:56 AM, Matthias Hanft wrote:
 Hi,
 
 I'm using net-misc/rdesktop in order to get access to a VirtualBox
 (Windows) guest on a remote (also Gentoo) Linux:
 
 Windows PC with  Gentoo Linux with - Gentoo Linux with
 Xming serverssh  rdesktop programVirtualBox (Windows)
 
 From my Windows desktop PC (where Xming server is running), I use a
 PuTTY ssh to a Linux shell, call rdesktop -u ... -p ... hostname 
 from there, and I get the Windows desktop from the remote host onto
 my own desktop.
 
 Until net-misc/rdesktop-1.8.2, everything worked like a charm. But
 with 1.8.3 (which portage installed this week), I can't mouse-click
 in the remote desktop window any more (and keypresses seem to be
 ignored either). Sometimes even the desktop isn't painted completely
 (only about 75% from top, doesn't reach the Windows task bar at the
 bottom).
 
 I have alread looked at the changelog at packages.gentoo.org, but
 only found some minor (?) bugfix - nothing about any fundamental
 issues or bigger changes...
 
 Downgraded to 1.8.2 - and everything works flawlessly again!
 
 What could it be that 1.8.3 doesn't work any more?

I'll be happy to test if you'll refresh my failing memory :)

Been about a year since I used rdesktop, and then it was only for connecting
to an OSX server, not to Windows.

I have Win7 running as a vbox guest, and here's what it's showing me:

PORT  STATE SERVICE
135/tcp   open  msrpc
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
554/tcp   open  rtsp
2869/tcp  open  icslap
5357/tcp  open  wsdapi
10243/tcp open  unknown

Do I need to enable RDP (or something else) on the Windows guest before
rdesktop will make a connection?  I've tried all the open ports on the
Win7 machine with no success.  (You can tell I'm no Windows expert :)





[gentoo-user] Compiler :amd nividia gpu ?

2015-02-04 Thread James
This is an interesting read:

http://www.clustermonkey.net/Parallel-Programming/an-open-compiler-for-openacc.html

And here are the compiler sources:

http://web.cs.uh.edu/~openuh/download/

No, I have not testing this gpu compiler yet.



James







Re: [gentoo-user] Nvidia and Radeon video cards in the same box.

2015-02-04 Thread Mickaël Bucas
2015-02-05 4:58 GMT+01:00 Linux linux...@204eastsouth.com:

 First question should be, can this be done?

 I had 2 Nvidia videos cards, running 2 monitors, with X spanning both 
 monitors.

 One card died and I replaced it with a Radeon video card.  Can I still span X 
 across the two monitors?  Does the make/model of the cards matter at all?

 If the answer is yes, then my next step is figuring out why I can get either 
 monitor to work alone, but can't get both of them to work together.

 More information will be provided once I know this is possible.

 Thanks much - Skippy

Hi Skippy

I'm currently running a system with two monitors : one attached to the
system board included radeon chip, and one attached to an nvidia card.
I've compiled the kernel with the radeon driver, and the module from
nvidia is loaded at start time.

I've tested it with a single session spanning the two monitors and it worked.
I'm using it in a multi-seat setting, with two keyboards and two mice.
I don't recommend it because it's hard to manage sound, and even
harder for OpenGL (the Gentoo wiki says it's impossible).

With two cards, you can't rely on X11 automatic configuration, so you
have to write your own xorg.conf, with PCI adresses and relative
positions of the screens :

Here is the configuration I found for single session on two screens :
Section Device
Identifier Radeon
Driver radeon
BusID  PCI:1:5:0
EndSection

Section Monitor
Identifier LG17p
VendorName LG
EndSection

Section Screen
Identifier Screen1
Device Radeon
MonitorLG17p
EndSection

Section Device
Identifier Nvidia
Driver nvidia
BusID  PCI:2:0:0
EndSection

Section Monitor
Identifier Iiyama24p
VendorName Iiyama
EndSection

Section Screen
Identifier Screen0
Device Nvidia
MonitorIiyama24p
EndSection

Section ServerLayout
Identifier default
Screen  0  Screen0 0 0
Screen  1  Screen1 RightOf Screen0
EndSection

To analyze problems, your best source is the xorg log file in your
home directory.

Mickaël Bucas



Re: [gentoo-user] Strange Alt key behavior?

2015-02-04 Thread Bruce Schultz


On 4 February 2015 10:54:31 AM AEST, Grant emailgr...@gmail.com wrote:
I send a system image of my laptop to various other laptops of the
same make and model which they use to operate.  I wrote a script for
this and it works great.  I've run into a situation where a particular
new (used) laptop works fine but the Alt+F2 shortcut to open the
program launcher in xfce4 doesn't work and I can't switch to VTs 1-3
with Ctrl+Alt+F1/F2/F3.  VT4 works but then VT7 doesn't bring back the
desktop.  I'm not sure what this is pointing to.  Any ideas?


Some laptops have a bios option to switch the behavior of the Fn key such that 
you need to press Fn+F2 to send a F2 key. The bare F1/F2/.. send the extra 
keys, such as volume controls and screen brightness. It might be worth checking 
if Fn+Alt+F2 does what you want.

Bruce

-- 
:b



Re: [gentoo-user] Re: dev-qt/qtwebkit-5.4.0

2015-02-04 Thread Stefan G. Weichinger
Am 03.02.2015 um 22:07 schrieb Stefan G. Weichinger:
 Am 03.02.2015 um 20:30 schrieb Jörg Schaible:
 
 Consider a memcheck. Arbitrary failures while the CPU is high is often 
 because some component starts dying. Sometimes cleaning the fans work 
 wonders.
 
 Good suggestion, will check tmrw and clean the fans as well.
 
 It gave internal compiler error afai remember.
 
 Maybe I should take that as an excuse to have to order a new shiny PC
 ;-)  The i7-2600 is aged anyways ... but powerful enough for my daily
 work so far.

You were right.

After fiddling with memtest86+ not installing and booting from my
FAT-ESP (UEFI ... 16bit ... whatever) I booted the memtest86+ iso from
CD ... and got many errors. Now I am testing each of the four DIMMs
separately to check which ones are good ... I also use different memory
slots on the board ... just to cross check.

Thanks, Stefan





Re: [gentoo-user] Making a new frame-buffer console font

2015-02-04 Thread Walter Dnes
On Tue, Feb 03, 2015 at 02:43:31PM +, Peter Humphrey wrote
 Hello list,
 
 This is to summarise what I did in case anyone else wants to do
 something similar.
 
 Last May I was looking for a font that would distinguish the upper-case
 letter O from the numbers 0 and 8 on a virtual TTY with a frame-buffer.
 My difficulty was twofold: the available unicode fonts were all too
 small, and the only bigger fonts I could find had an oblique stroke
 through the zero which made it look like an eight[1], and some of them
 even had serifs.
 
 The first step was to find a font that looked good. I chose terminus
 font, which included fonts up to 32 pixels tall and had an attractive
 and easily read shape to its characters.
 
 The second step was to find a font editor, and I found nafe[2]. I
 fetched it and compiled it locally. GCC threw out an error but the
 program seemed to work anyway. I followed its readme.txt and used the
 text editor joe to replace the oblique stroke in the zero with spaces,
 and to round the shoulders; I made sure I kept the line lengths the
 same, though it's supposed not to be necessary. Lastly I gzip'd the new
 font file.

  A bit of a tangent... do you know of any font editors that will
convert a font to double-wide?  E.g. convert 8x8 to 16x8, 8x12 to
16x12, or 8x16 to 16x16.  The reason I ask is because I have a laptop
with a 1280x800 screen.  Back in the old days, the native VGA display
would've been 80 columns across.  But now with framebuffer drivers, the
straight text display is almost unreadable 160 columns across.  Going to
the Sun 12x22 font gives me 107 columns across, but that's still not
good.  That's why I'm looking for 16-pixel-wide fonts, either freely
available, or try to generate them from existing 8-pixel-wide fonts.

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



Re: [gentoo-user] Strange Alt key behavior?

2015-02-04 Thread Walter Dnes
On Tue, Feb 03, 2015 at 04:54:31PM -0800, Grant wrote
 I send a system image of my laptop to various other laptops of the
 same make and model which they use to operate.  I wrote a script for
 this and it works great.  I've run into a situation where a particular
 new (used) laptop works fine but the Alt+F2 shortcut to open the
 program launcher in xfce4 doesn't work and I can't switch to VTs 1-3
 with Ctrl+Alt+F1/F2/F3.  VT4 works but then VT7 doesn't bring back the
 desktop.  I'm not sure what this is pointing to.  Any ideas?

  The chvt command can change terminals.  E.g. chvt 1 is equivalant
to Ctrl+Alt+F1.  *NOTE*... chvt requires root (or su/sudo) permission
to work.

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



Re: [gentoo-user] Making a new frame-buffer console font

2015-02-04 Thread Peter Humphrey
On Wednesday 04 February 2015 09:19:20 Walter Dnes wrote:

  A bit of a tangent... do you know of any font editors that will
 convert a font to double-wide?  E.g. convert 8x8 to 16x8, 8x12 to
 16x12, or 8x16 to 16x16.

I think that would be a bit of a tall order, unless you're happy to 
accept glyphs all having double-thickness vertical lines.

 The reason I ask is because I have a laptop with a 1280x800 screen. 
 Back in the old days, the native VGA display would've been 80 columns
 across.  But now with framebuffer drivers, the straight text display
 is almost unreadable 160 columns across.

Yes, that's what started me off on my hunt for acceptable fonts. This 
desktop screen is 27 and 1920x1080: evidently designed for 1080p video.

 Going to the Sun 12x22 font gives me 107 columns across, but that's
 still not good.

That one has serifs, doesn't it? Serif fonts work well in print with its 
much higher resolution, but IMO they're not a good idea on screens.

 That's why I'm looking for 16-pixel-wide fonts, either freely
 available, or try to generate them from existing 8-pixel-wide fonts.

From my own experience I can only suggest terminus-font; you might find 
an acceptable compromise there as its heights range from 12 to 32 
pixels, so I suppose its widths will range from 6 to 16. Or perhaps some 
font will call itself [something]-wide.

There's also the problem that most work in typeface design these days 
(not counting the print world) seems to be in graphical settings -- X 
etc. -- so anything new would need some sort of conversion for use in a 
console.

Good luck in your hunt! I expect you'll need it :-(

-- 
Rgds
Peter.




Re: [gentoo-user] Re: rdesktop problems 1.8.2 - 1.8.3

2015-02-04 Thread J. Roeleveld
On Wednesday, February 04, 2015 04:27:48 PM walt wrote:
 On 02/04/2015 01:56 AM, Matthias Hanft wrote:
  Hi,
  
  I'm using net-misc/rdesktop in order to get access to a VirtualBox
  (Windows) guest on a remote (also Gentoo) Linux:
  
  Windows PC with  Gentoo Linux with - Gentoo Linux with
  Xming serverssh  rdesktop programVirtualBox
  (Windows)
  
  From my Windows desktop PC (where Xming server is running), I use a
  PuTTY ssh to a Linux shell, call rdesktop -u ... -p ... hostname 
  from there, and I get the Windows desktop from the remote host onto
  my own desktop.
  
  Until net-misc/rdesktop-1.8.2, everything worked like a charm. But
  with 1.8.3 (which portage installed this week), I can't mouse-click
  in the remote desktop window any more (and keypresses seem to be
  ignored either). Sometimes even the desktop isn't painted completely
  (only about 75% from top, doesn't reach the Windows task bar at the
  bottom).
  
  I have alread looked at the changelog at packages.gentoo.org, but
  only found some minor (?) bugfix - nothing about any fundamental
  issues or bigger changes...
  
  Downgraded to 1.8.2 - and everything works flawlessly again!
  
  What could it be that 1.8.3 doesn't work any more?
 
 I'll be happy to test if you'll refresh my failing memory :)
 
 Been about a year since I used rdesktop, and then it was only for connecting
 to an OSX server, not to Windows.
 
 I have Win7 running as a vbox guest, and here's what it's showing me:
 
 PORT  STATE SERVICE
 135/tcp   open  msrpc
 139/tcp   open  netbios-ssn
 445/tcp   open  microsoft-ds
 554/tcp   open  rtsp
 2869/tcp  open  icslap
 5357/tcp  open  wsdapi
 10243/tcp open  unknown
 
 Do I need to enable RDP (or something else) on the Windows guest before
 rdesktop will make a connection?  I've tried all the open ports on the
 Win7 machine with no success.  (You can tell I'm no Windows expert :)

Yes, you need to enable Remote Desktop on the windows guest.
And, preferably, disable the firewall on there.

--
Joost