Re: [blfs-dev] Video problems

2016-03-03 Thread Bruce Dubbs

Fernando de Oliveira wrote:

Em 03-03-2016 17:18, Bruce Dubbs escreveu:

Fernando de Oliveira wrote:

Em 02-03-2016 01:05, Bruce Dubbs escreveu:

Ken Moffat wrote:

On Tue, Mar 01, 2016 at 04:13:03PM -0600, Bruce Dubbs wrote:

Bruce Dubbs wrote:


I'm not sure about the hardware support messages.   This is a nvida
card
(GeForce 210) on my -dev system.  Wouldn't x264 give h264 support?


Armin gave me some links and I installed some nvidia firmware.  Now
melt
works and the this hardware doesn't support messages above are gone.


That is good to know, but it implies that 'About Firmware' needs an
addition for (some) nvidia cards ?  At the moment we only cover
video cards in

Firmware for ATI video chips (R600 and later)

Also, did you have to load other firmware for your Skylake, or was
that just the CPU firmware ?


I do have /lib/firmware/cpia2/stv0672_vp4.bin which, IIRC, is for a
camera on my laptop.  Nothing else for either my Haswell or Skylake.

The details for nvidia are at https://nouveau.freedesktop.org/wiki/VP4/


Yesterday, after som time, found

https://aur.archlinux.org/packages/nouveau-fw

An interesting thing is that I didn't have to reboot or reinstall the
kernel. Not sure about mesa, because only tested after reinstalling it.


Interesting link.  Do you think the addition to the firmware page for
nvidia firmware needs to be updated or is is it good enough?

   -- Bruce



I like it. Not sure about the notes

https://nouveau.freedesktop.org/wiki/VP4/

{{{
In order to get pre-NVC0 chips to work, you need to

 Extract firmware from the blob (see VideoAcceleration).
 Install Mesa 10.0.1 or later.
 Build kernel 3.12-rc1 or later, install, reboot
 Run mplayer -vo vdpau -vc
ffmpeg12vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, 

In order to make these settings more permanent, you can add
[vo.vdpau]
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,

to

/etc/mplayer/mplayer.conf
}}}


I didn't add that part to the book because it really doesn't apply to us. 
 We install a recent Mesa and kernel.  The more important part is really 
at the VideoAcceleration link.


I didn't have a problem with mplayer, just the mlt package, but I note 
that my ~/.mplayer/gui.conf did not get updated with a new mplayer install.


  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Video problems

2016-03-03 Thread Fernando de Oliveira
Em 03-03-2016 17:18, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
>> Em 02-03-2016 01:05, Bruce Dubbs escreveu:
>>> Ken Moffat wrote:
 On Tue, Mar 01, 2016 at 04:13:03PM -0600, Bruce Dubbs wrote:
> Bruce Dubbs wrote:
>>
>> I'm not sure about the hardware support messages.   This is a nvida
>> card
>> (GeForce 210) on my -dev system.  Wouldn't x264 give h264 support?
>
> Armin gave me some links and I installed some nvidia firmware.  Now
> melt
> works and the this hardware doesn't support messages above are gone.
>
 That is good to know, but it implies that 'About Firmware' needs an
 addition for (some) nvidia cards ?  At the moment we only cover
 video cards in

 Firmware for ATI video chips (R600 and later)

 Also, did you have to load other firmware for your Skylake, or was
 that just the CPU firmware ?
>>>
>>> I do have /lib/firmware/cpia2/stv0672_vp4.bin which, IIRC, is for a
>>> camera on my laptop.  Nothing else for either my Haswell or Skylake.
>>>
>>> The details for nvidia are at https://nouveau.freedesktop.org/wiki/VP4/
>>
>> Yesterday, after som time, found
>>
>> https://aur.archlinux.org/packages/nouveau-fw
>>
>> An interesting thing is that I didn't have to reboot or reinstall the
>> kernel. Not sure about mesa, because only tested after reinstalling it.
> 
> Interesting link.  Do you think the addition to the firmware page for
> nvidia firmware needs to be updated or is is it good enough?
> 
>   -- Bruce
> 

I like it. Not sure about the notes

https://nouveau.freedesktop.org/wiki/VP4/

{{{
In order to get pre-NVC0 chips to work, you need to

Extract firmware from the blob (see VideoAcceleration).
Install Mesa 10.0.1 or later.
Build kernel 3.12-rc1 or later, install, reboot
Run mplayer -vo vdpau -vc
ffmpeg12vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, 

In order to make these settings more permanent, you can add
[vo.vdpau]
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,

to

/etc/mplayer/mplayer.conf
}}}

I did it to /etc/mplayer/gui.conf, which I copied from
/etc/mplayer/example.conf, wich already had the line ready to be
uncommented.


Alternatively, I had obtained:

vo_driver=vdpau in ~/.mplayer/gui.conf

configuring with the gui.

To be sure, I did (with either configurations:

$ sudo lsof -c gmplayer | grep -i vdpau
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /home/fernando/.gvfs
  Output information may be incomplete.
gmplayer 15548 fernando  mem   REG   8,27   5405104
1251523 /usr/lib/vdpau/libvdpau_nouveau.so.1.0.0
gmplayer 15548 fernando  mem   REG   8,27 64328
1215493 /usr/lib/libvdpau.so.1.0.0


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Video problems

2016-03-03 Thread Bruce Dubbs

Fernando de Oliveira wrote:

Em 02-03-2016 01:05, Bruce Dubbs escreveu:

Ken Moffat wrote:

On Tue, Mar 01, 2016 at 04:13:03PM -0600, Bruce Dubbs wrote:

Bruce Dubbs wrote:


I'm not sure about the hardware support messages.   This is a nvida
card
(GeForce 210) on my -dev system.  Wouldn't x264 give h264 support?


Armin gave me some links and I installed some nvidia firmware.  Now melt
works and the this hardware doesn't support messages above are gone.


That is good to know, but it implies that 'About Firmware' needs an
addition for (some) nvidia cards ?  At the moment we only cover
video cards in

Firmware for ATI video chips (R600 and later)

Also, did you have to load other firmware for your Skylake, or was
that just the CPU firmware ?


I do have /lib/firmware/cpia2/stv0672_vp4.bin which, IIRC, is for a
camera on my laptop.  Nothing else for either my Haswell or Skylake.

The details for nvidia are at https://nouveau.freedesktop.org/wiki/VP4/


Yesterday, after som time, found

https://aur.archlinux.org/packages/nouveau-fw

An interesting thing is that I didn't have to reboot or reinstall the
kernel. Not sure about mesa, because only tested after reinstalling it.


Interesting link.  Do you think the addition to the firmware page for 
nvidia firmware needs to be updated or is is it good enough?


  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] feh seems to be broken

2016-03-03 Thread Fernando de Oliveira
Em 02-03-2016 23:19, Ken Moffat escreveu:
> I needed to test a fix for my logging, and I had noticed feh was not
> tagged - I have a script for that and its deps.
> 
> But for me, feh's tests fail:
> 
> make[1]: Leaving directory
> '/scratch/working/feh-2.14.1/share/applications'
> 
> #   Failed test 'stdout_is_file: src/feh --list --quiet test/ok/gif
> #   test/ok/jpg test/ok/png test/ok/pnm test/fail/gif test/fail/jpg
> #   test/fail/png test/fail/pnm, test/list/default'
> #   at test/feh.t line 130.
> # STDOUT differs from test/list/default starting at line 2.
> # got: 1jpeg16  16  256 354 -
> # test/ok/jpg
> # exp: 1gif 16  16  256 953 -
> # test/ok/gif
> #^
> 
> #   Failed test 'stdout_is_file: src/feh --quiet --list --action
> #   'echo "%f %wx%h" >&2' test/ok/gif test/ok/jpg test/ok/png
> #   test/ok/pnm test/fail/gif test/fail/jpg test/fail/png
> #   test/fail/pnm, test/list/default'
> #   at test/feh.t line 137.
> # STDOUT differs from test/list/default starting at line 2.
> # got: 1jpeg16  16  256 354 -
> # test/ok/jpg
> # exp: 1gif 16  16  256 953 -
> # test/ok/gif
> #^
> # Looks like you failed 2 tests of 71.
> test/feh.t . 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/71 subtests 
> Can't exec "mandoc": No such file or directory at test/mandoc.t line
> 9.
> # mandoc not installed, test skipped. This is NOT fatal.
> test/mandoc.t .. ok
> 
> This is, of course, with the patch.  It looks as if gif is not
> supported : there is a release note at
> https://feh.finalrewind.org/archive/2.14.2/ which says
> 
> make test: Ignore results on arm and mips since they expose a bug in
> Imlib2 1.4.7 and/or giflib 5.1.2. Note that due to this bug, feh may
> be unable to display gif images. x86 and amd64 are also affected.
> Again, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729
> for more information
> 
> I am on x86_64 and running src/feh on my one gif image reports
> feh WARNING: /sources/languages.gif - No Imlib2 loader for that file
> format
> feh: No loadable images specified.
> 
> That report blames Imlib2 (with details).
> 
> So then I tried 2.14.2.  The patch does not apply, but without it I
> get the same two failures and the same error if I try to use it to
> display a gif.
> 
> And since feh does seem to be broken for gifs, I have no interest in
> trying to fix the patch.
> 
> What I find odd is that our last upgrade of feh was after the giflib
> update in January, and we have been on that version of Imlib since
> 7.8 or earlier.
> 
> ĸen
> 

I struggled with that for some time. At the end, wrote:

http://wiki.linuxfromscratch.org/blfs/changeset/16905/trunk/BOOK/xsoft/other/feh.xml

{{{
@@ -124,4 +135,11 @@
   
 Installation of feh
+
+ Due to well-known problems when
feh try to
+load gif images (sometimes imlib2
being blamed
+for that), some tests fail. To avoid that, apply the following
patch, if you
+intend to run the test suite: 
+
+patch -Np1 -i
../feh--disable_some_tests-1.patch

 
}}}

For me, it is broken with gif

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Video problems

2016-03-03 Thread Fernando de Oliveira
Em 02-03-2016 01:05, Bruce Dubbs escreveu:
> Ken Moffat wrote:
>> On Tue, Mar 01, 2016 at 04:13:03PM -0600, Bruce Dubbs wrote:
>>> Bruce Dubbs wrote:

 I'm not sure about the hardware support messages.   This is a nvida
 card
 (GeForce 210) on my -dev system.  Wouldn't x264 give h264 support?
>>>
>>> Armin gave me some links and I installed some nvidia firmware.  Now melt
>>> works and the this hardware doesn't support messages above are gone.
>>>
>> That is good to know, but it implies that 'About Firmware' needs an
>> addition for (some) nvidia cards ?  At the moment we only cover
>> video cards in
>>
>> Firmware for ATI video chips (R600 and later)
>>
>> Also, did you have to load other firmware for your Skylake, or was
>> that just the CPU firmware ?
> 
> I do have /lib/firmware/cpia2/stv0672_vp4.bin which, IIRC, is for a
> camera on my laptop.  Nothing else for either my Haswell or Skylake.
> 
> The details for nvidia are at https://nouveau.freedesktop.org/wiki/VP4/

Yesterday, after som time, found

https://aur.archlinux.org/packages/nouveau-fw

An interesting thing is that I didn't have to reboot or reinstall the
kernel. Not sure about mesa, because only tested after reinstalling it.


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Release progress

2016-03-03 Thread Pierre Labastie

On 03/03/2016 05:59, Bruce Dubbs wrote:


 Tagging packages progress:

   lfs78  lfs79
 2016-02-23 453252
 2016-02-24 381322
 2016-02-26 243445Thanks Ken!
 2016-02-28 194496
 2016-03-02 106584

Good progress.

If possible I would like to get someone else to do:

networking/mailnews/fetchmail.xml:_checked;
networking/mailnews/mutt.xml: _checked;
networking/netprogs/samba.xml:_checked;
networking/netprogs/cifsutils.xml:_checked;
networking/netutils/wicd.xml: _checked;
server/mail/exim.xml: _checked;
server/mail/dovecot.xml:  _checked
x/installing/x7driver-vmware.xml: _checked;
x/installing/x7driver-fbdev.xml:  _checked;
x/dm/lxdm.xml:_checked;

I can do them, but I'd like someone more familiar with them to do the 
checking.


  -- Bruce

I am still doing lxqt (actually, still building kf5 dependencies), 
hopefully, should finish tomorrow. I'll do lxdm for that. Then I can do 
dovecot, exim, mutt and fetchmail. For the others, I have no way to test 
samba, cifsutils and wicd. And I am not sure how to test the Xorg 
drivers. Will try if nobody beats me on that.


Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page