Re: [tor-bugs] #20858 [Applications/Tor Browser Sandbox]: Make webgl work with forced software rendering.

2016-12-02 Thread Tor Bug Tracker & Wiki
#20858: Make webgl work with forced software rendering.
--+-
 Reporter:  yawning   |  Owner:  yawning
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:
Component:  Applications/Tor Browser Sandbox  |Version:
 Severity:  Normal| Resolution:  fixed
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+-

Comment (by yawning):

 Because it was bothering me, I looked into the Arch Linux situation a bit
 more.  libGL is failing to load `swrast_dri.so` because the
 `libstdc++.so.6` shipped with Tor Browser is too old to satisfy
 `libLLVM-3.9.so`'s dependency on my system.

 {{{
 write(2, "dlopen /usr/lib/xorg/modules/dri/swrast_dri.so failed (tor-
 browser_en-US/Browser/TorBrowser/Tor/libstdc++.so.6: version
 `GLIBCXX_3.4.22' not found (required by /usr/lib/libLLVM-3.9.so))\n", 201)
 = 201
 }}}

 Hardware rendering works fine, because the various hardware rendering DRI
 modules don't link against `libLLVM`.  Nothing I can really do about this,
 at this point this is a Tor Browser bug more than anything else.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20858 [Applications/Tor Browser Sandbox]: Make webgl work with forced software rendering.

2016-12-02 Thread Tor Bug Tracker & Wiki
#20858: Make webgl work with forced software rendering.
--+-
 Reporter:  yawning   |  Owner:  yawning
 Type:  defect| Status:  closed
 Priority:  Medium|  Milestone:
Component:  Applications/Tor Browser Sandbox  |Version:
 Severity:  Normal| Resolution:  fixed
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+-
Changes (by yawning):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 https://gitweb.torproject.org/tor-browser/sandboxed-tor-
 browser.git/commit/?id=a1c6e6063e7d912fd069c8ad5ee08797be521521
 https://gitweb.torproject.org/tor-browser/sandboxed-tor-
 browser.git/commit/?id=f43c7ae0233b6ce9a38e768283a2d01bf3ebd481

 Software rendering is broken in un-sandboxed TBB on my Arch system, but
 this works on Debian and Fedora 25 (x86/x86_64).

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20858 [Applications/Tor Browser Sandbox]: Make webgl work with forced software rendering.

2016-12-02 Thread Tor Bug Tracker & Wiki
#20858: Make webgl work with forced software rendering.
--+-
 Reporter:  yawning   |  Owner:  yawning
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Applications/Tor Browser Sandbox  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+-

Comment (by yawning):

 `swrast_dri.so` lives under `/usr/lib/[i386,x86_64]-linux-gnu/dri` on
 Debian.  Arch is the odd one out this time.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #20858 [Applications/Tor Browser Sandbox]: Make webgl work with forced software rendering.

2016-12-02 Thread Tor Bug Tracker & Wiki
#20858: Make webgl work with forced software rendering.
--+-
 Reporter:  yawning   |  Owner:  yawning
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Applications/Tor Browser Sandbox  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+-

Comment (by yawning):

 Ok, I have this working, though finding `swrast_dri.so` is going to be
 annoying for the general case.

  * `LIBGL_ALWAYS_SOFTWARE=1`
  * Do the library enumeration thing for `swrast_dri.so` (Arch:
 `/usr/lib/xorg/dri`, Fedora: `/usr/lib64/dri`, probably somewhere else on
 Debian because fuck you).
  * Put `swrast_dri.so` somewhere sensible.
  * `LIBGL_DRIVERS_PATH=https://trac.torproject.org/projects/tor/ticket/20858#comment:1>
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #20858 [Applications/Tor Browser Sandbox]: Make webgl work with forced software rendering.

2016-12-01 Thread Tor Bug Tracker & Wiki
#20858: Make webgl work with forced software rendering.
--+-
 Reporter:  yawning   |  Owner:  yawning
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Applications/Tor Browser Sandbox  |Version:
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+-
 The dynlib code totally breaks webGL.  If the user chooses to enable this,
 it should be supported, through forced software rendering.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs