<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33750</bug_id>
          
          <creation_ts>2017-08-11 14:08:22 +0300</creation_ts>
          <short_desc>Недостающие библиотеки в %_libdir/chromium/swiftshader</short_desc>
          <delta_ts>2017-08-16 09:07:49 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>chromium</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>andy</cc>
    
    <cc>cas</cc>
    
    <cc>legion</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>165192</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-08-11 14:08:22 +0300</bug_when>
    <thetext>[23674:23674:0811/140517.278800:ERROR:gl_implementation.cc(246)] Failed to load /usr/lib64/chromium/swiftshader/libGLESv2.so: /usr/lib64/chromium/swiftshader/libGLESv2.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
[23674:23674:0811/140517.280665:ERROR:gpu_child_thread.cc(174)] Exiting GPU process due to errors during initialization

Если сделать симлинк системной, то попросит libEGL.so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165204</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2017-08-11 18:36:13 +0300</bug_when>
    <thetext>У меня такой ошибки нет (скорее всего из-за того GL не цепляется).

Попробуй:

mkdir -- /usr/lib64/chromium/swiftshader
ln -s ../libGLESv2.so /usr/lib64/chromium/swiftshader/libGLESv2.so
ln -s ../libEGL.so    /usr/lib64/chromium/swiftshader/libEGL.so

так работает ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165231</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-08-14 11:12:57 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; У меня такой ошибки нет (скорее всего из-за того GL не цепляется).
&gt; 
&gt; Попробуй:
&gt; 
&gt; mkdir -- /usr/lib64/chromium/swiftshader
&gt; ln -s ../libGLESv2.so /usr/lib64/chromium/swiftshader/libGLESv2.so
&gt; ln -s ../libEGL.so    /usr/lib64/chromium/swiftshader/libEGL.so
&gt; 
&gt; так работает ?
Так лишь убираются предупреждения. Но 
...
Canvas: Software only, hardware acceleration unavailable
...
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
...
WebGL: Hardware accelerated but at reduced performance
WebGL2: Unavailable

В общем, не на Intel дома, ни на Nvidia на работе аппаратная акселерация в Chromium не работает.

Log Messages
GpuProcessHostUIShim: The GPU process exited with code 256.
GpuProcessHostUIShim: The GPU process exited with code 256.
GpuProcessHostUIShim: The GPU process exited with code 256.
GpuProcessHostUIShim: The GPU process exited with code 256.
GpuProcessHostUIShim: The GPU process exited with code 256.
GpuProcessHostUIShim:
GpuProcessHostUIShim: The GPU process exited with code 256.
и куча пустых
GpuProcessHostUIShim:

Вот к нему обсуждение: https://aur.archlinux.org/packages/chromium-vaapi/?comments=all</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165234</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2017-08-14 13:37:38 +0300</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; (В ответ на комментарий №1)
&gt; &gt; У меня такой ошибки нет (скорее всего из-за того GL не цепляется).
&gt; &gt; 
&gt; &gt; Попробуй:
&gt; &gt; 
&gt; &gt; mkdir -- /usr/lib64/chromium/swiftshader
&gt; &gt; ln -s ../libGLESv2.so /usr/lib64/chromium/swiftshader/libGLESv2.so
&gt; &gt; ln -s ../libEGL.so    /usr/lib64/chromium/swiftshader/libEGL.so
&gt; &gt; 
&gt; &gt; так работает ?
&gt; Так лишь убираются предупреждения.

Этот каталог я действительно забыл запаковать. Вопрос был в том, так ли
нужна ещё одна копия этих библиотек. Выходит, что нужна.

Сборка с этим каталогом на подходе.

&gt; Вот к нему обсуждение:
&gt; https://aur.archlinux.org/packages/chromium-vaapi/?comments=all

Я у арча патч беру:

http://git.altlinux.org/gears/c/chromium.git?p=chromium.git;a=blob;f=.rpm/patches/0021-ARCHLINUX-Enable-VA-API-on-linux.patch;h=6934c4eb767c479f01bed1271ba8d9bd1874cef2;hb=ae472515ec320425ff5fb1de1db1bc79a96ecfcb#l8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165263</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-08-16 09:07:49 +0300</bug_when>
    <thetext>chromium-60.0.3112.90-alt2 -&gt; sisyphus:

Tue Aug 15 2017 Alexey Gladkov &lt;legion@altlinux.ru&gt; 60.0.3112.90-alt2
- Add missing libraries (ALT#33750).

Mon Aug 14 2017 Alexey Gladkov &lt;legion@altlinux.ru&gt; 60.0.3112.90-alt1
- New version (60.0.3112.90).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>