[gentoo-user] [OT] Simple to upgrade Linux distro

2017-07-18 Thread Dale
Howdy,

This isn't a Gentoo question but most everyone here used something
before Gentoo.  I need a simple to upgrade distro for someone else. 

A friend of mine had windoze XP, which is dead to M$.  She needed
something and buying a computer or new OS is not a option, even tho she
needs to upgrade that 10 or 12 year old thing she has.  So, I put Mageia
on it a couple years ago, used to be Mandrake way back which is what I
started with.  She has been doing updates every week or so since it is
GUI based and pretty easy.  Tell it to update or just click the pop-up
when it tells you one is available and when it is done, reboot.  Yea,
windowish I know.  lol  Anyway, she did a update and now she can't login
to KDE.  I drove up, hour away, and tried to figure it out.  It has
changed so much, I'm pretty clueless.  It is NOT Gentoo by any means.  I
renamed the user directory in case it was a config that the new update
was hanging on but nothing.  It just won't let you login.  Also reset
the password as well.  Thing is, I installed ICEwm during the install
and it works.  It logs in but the screen doesn't refresh like it
should.  You close a app, it's closed but it doesn't refresh the screen
so it looks like it is still there.  The whole thing is weird.  Since I
couldn't figure out what the problem was, I tried upgrading to Mageia
6.  Figured if it was a software bug, maybe that would fix it.  Nope. 
So, she's using ICEwm for the moment but it is weird. 

What I'm looking for.  Something that I can install fairly quickly from
a DVD.  Rig is to old to boot from USB stick.  Something with a GUI
update process that is fairly easy.  Uses either KDE by default or is
easily installable, hopefully during install by default.  The big one,
needs to be able to run on older hardware.  Her rig is something like a
2GHz single core CPU and around 2GBs of ram.  The drives are SATA but
that's about the most advanced hardware it has.  The video is a built in
Intel of some sort.  Nothing fast or even fancy for that matter.  Yes,
I'm keeping a eye out for a newer rig but it is what it is right now.

I've used Gentoo for so long, I don't know what other distros offer
nowadays.  I figure that there are several distros that are graphical
nowadays but also need good support for older hardware and easy update
process.  Googling around isn't helping me much.  If I find something I
like, no KDE.  If I find KDE based and a GUI updater, something else
won't work.  I figure asking those who have personal experience would be
best.  :-) 

Thoughts?  Suggestions??

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Bluetooth head phone

2017-07-18 Thread Mart Raudsepp
Ühel kenal päeval, T, 18.07.2017 kell 17:54, kirjutas Raphael MD:
> >On Tue, Jul 18, 2017 at 12:40 AM, Mart Raudsepp 
> wrote:
> >Ühel kenal päeval, E, 17.07.2017 kell 12:10, kirjutas Raphael MD:
> 
> >emerge --info pulseaudio please? Especially the "was built with the
> >following USE flags" part
> 
> Here is: https://pastebin.com/64Rbb9t0​

Ok, that's then:
USE="X alsa alsa-plugin asyncns bluetooth caps dbus gdbm glib gnome gtk
ipv6 orc qt4 ssl tcpd udev webrtc-aec -doc -equalizer -jack (-libressl) 
-libsamplerate -lirc -native-headset (-neon) -ofono-headset (-oss)
-realtime (-selinux) -sox (-system-wide) -systemd -test -zeroconf"
ABI_X86="32 64 -x32"

I've also found https://wiki.archlinux.org/index.php/Bluetooth_headset#
A2DP_profile_is_unavailable like another subthread, so that might be
one part to care about, to not hit that while testing other things to
get to work.
Please also give a try to USE=native-headset on pulseaudio, I think
that USE flag setup (packaging-wise) might be a bit suboptimal if that
makes it work - please try.


Mart



Re: [gentoo-user] Something wrong when emerging librime

2017-07-18 Thread IceAmber
I had solved it by unmask the version 1.2.9 of librime

On Tue, Jul 18, 2017 at 5:21 AM, Andrew Savchenko 
wrote:

> Hi,
>
> On Mon, 17 Jul 2017 16:38:00 + IceAmber wrote:
> > Hi, everyone
> >
> > There is an error when I emerging the fcitx-rime.
> > Here is the build.log
> > 
> > Is it the bug of c++ 11 ABI?
>
> This is not a C++11 ABI bug, see
> https://bugs.gentoo.org/show_bug.cgi?id=624370
>
> Just another compilation failure. I had not studied close what is
> wrong there, but likely some unhandled API change.
>
>
>
> Best regards,
> Andrew Savchenko
>


Re: [gentoo-user] Bluetooth head phone

2017-07-18 Thread Raphael MD
​>​
On Tue, Jul 18, 2017 at 12:40 AM, Mart Raudsepp  wrote:
​>​
Ühel kenal päeval, E, 17.07.2017 kell 12:10, kirjutas Raphael MD:
​
>​
emerge --info pulseaudio please? Especially the "was built with the
​>​
following USE flags" part

​Here is: https://pastebin.com/64Rbb9t0​


[gentoo-user] Re: [SOLVED] 3D graphics acceleration on QEMU

2017-07-18 Thread Mick
I had a look at this again this morning and cracked it.  More info below.

On Monday 17 Jul 2017 00:00:53 Mick wrote:
> On Sunday 16 Jul 2017 22:49:54 Neil Bothwick wrote:
> > On Sun, 16 Jul 2017 16:20:15 +0100, Mick wrote:
> > > Another annoying thing was the bottom of the screen was cropped off and
> > > to see the main menu and toolbar I have to move the mouse past the
> > > bottom edge of the window.  The visual aperture is smaller than the
> > > desktop screen size.  I don't know if this in anyway related to the
> > > above warning.
> > 
> > I see that one regularly, the desktop is 1024x768 but the display is
> > 1024x720. simply change the display to 1024x720 in Mint's prefs or use a
> > different video card emulation, such as vmware, by adding "-vga vmware"
> > to your options.
> 
> Thanks Neil, I'll try this out when I boot it up next time.  Meanwhile, I'm
> not sure if the virtio drivers in the kernel are meant for guest kernels
> only, or if I should have them enabled on the host's.
> 
> This is the modules I have enabled on the host which is VT-x capable:
> 
> # grep -e DMAR -e IOMMU -e VIRT /usr/src/linux/.config
> CONFIG_VIRT_CPU_ACCOUNTING=y
> CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
> CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
> # CONFIG_GART_IOMMU is not set
> # CONFIG_CALGARY_IOMMU is not set
> CONFIG_IOMMU_HELPER=y
> CONFIG_VIRT_TO_BUS=y
> CONFIG_VIRTIO_BLK=m
> CONFIG_VIRTIO_NET=m
> # CONFIG_VIRTIO_CONSOLE is not set
> # CONFIG_HW_RANDOM_VIRTIO is not set
> # CONFIG_DRM_VIRTIO_GPU is not set
> # CONFIG_FB_VIRTUAL is not set
> # CONFIG_SND_VIRTUOSO is not set
> # CONFIG_VIRT_DRIVERS is not set
> CONFIG_VIRTIO=m
> # CONFIG_VIRTIO_PCI is not set
> # CONFIG_VIRTIO_BALLOON is not set
> # CONFIG_VIRTIO_INPUT is not set
> # CONFIG_VIRTIO_MMIO is not set
> CONFIG_IOMMU_API=y
> CONFIG_IOMMU_SUPPORT=y
> # Generic IOMMU Pagetable Support
> CONFIG_IOMMU_IOVA=y
> # CONFIG_AMD_IOMMU is not set
> CONFIG_DMAR_TABLE=y
> CONFIG_INTEL_IOMMU=y
> CONFIG_INTEL_IOMMU_SVM=y
> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> # CONFIG_DEBUG_VIRTUAL is not set
> # CONFIG_IOMMU_STRESS is not set
> CONFIG_VIRTUALIZATION=y
> 
> The CPU has vmx, but not vmd:
> 
> processor : 7
> vendor_id : GenuineIntel
> cpu family: 6
> model : 30
> model name: Intel(R) Core(TM) i7 CPU   Q 720  @ 1.60GHz
> stepping  : 5
> microcode : 0x7
> cpu MHz   : 933.000
> cache size: 6144 KB
> physical id   : 0
> siblings  : 8
> core id   : 3
> cpu cores : 4
> apicid: 7
> initial apicid: 7
> fpu   : yes
> fpu_exception : yes
> cpuid level   : 11
> wp: yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp
> lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16
> xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept
> vpid dtherm ida
> bugs  :
> bogomips  : 3191.45
> clflush size  : 64
> cache_alignment   : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:

The above are as they should be.  When building qemu it is important to set 
USE="virgl".  This is how mine was built:

[ebuild   R] app-emulation/qemu-2.9.0-r2::gentoo  USE="aio alsa bluetooth 
bzip2 caps curl fdt filecaps gtk gtk2 jpeg ncurses nls opengl pin-upstream-
blobs png pulseaudio sdl sdl2 seccomp usb vhost-net virgl virtfs vnc xattr -
accessibility -debug (-glusterfs) -gnutls -infiniband -iscsi -lzo -nfs -numa -
python -rbd -sasl (-selinux) -smartcard -snappy -spice -ssh -static -static-
user -systemtap -tci {-test} -usbredir -vde -vte -xen -xfs" LINGUAS="-bg -
de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" 
QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -cris -i386 -lm32 -m68k -
microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -
ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -
xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -alpha -arm -armeb -cris -hppa -
i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 
-mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb -
sparc -sparc32plus -sparc64 -tilegx -x86_64*" 0 KiB

Thereafter, the trick in getting hardware acceleration in the guest is to set 
'-vga virtio' when launching the guest VM with qemu:

$ qemu-system-x86_64 -m 1024 -enable-kvm -display sdl,gl=on -vga virtio -drive 
if=virtio,file=Mint_18.2_HDA.qcow2,cache=none
gl_version 33 - core profile enabled

As you can see it returns 'gl_version 33 - core profile enabled' on the 
terminal.  When I login the guest's desktop no longer warns that there will be 
no hardware acceleration.  :-)

This is what the guest shows:

$ dmesg | grep -i drm
[1.413078] [drm] Initialized drm 1.1.0 200608