You are not logged in.

#1 2015-10-13 12:41:48

password
Member
Registered: 2015-09-20
Posts: 6

System hangs at visiting WebGL-enabled site (nouveau)

System stops responding when I just try to open any WebGL-enabled site.

My desktop freezes and keybord stops responding too, so I can't switch to another tty. Only mouse cursor keeps moving. I have captured some log messages with "journalctl -f > journal.log" and then visiting WebGL site. I've tried several times and got different error messages:

My system configuration:

$ uname -a
Linux arch 4.2.3-1-ARCH #1 SMP PREEMPT Sat Oct 3 18:52:50 CEST 2015 x86_64 GNU/Linux

$ lspci -vs 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTS 450 Rev. 2] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 83a6
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at f8000000 (32-bit, non-prefetchable) [size=32M]
	Memory at e8000000 (64-bit, prefetchable) [size=128M]
	Memory at f0000000 (64-bit, prefetchable) [size=64M]
	I/O ports at e000 [size=128]
	Expansion ROM at fa000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

$ lsusb -s 4:4
Bus 004 Device 004: ID 046d:c318 Logitech, Inc. Illuminated Keyboard

$ pacman -Qi mesa xf86-video-nouveau xorg-server firefox | egrep "Name|Version" 
Name           : mesa
Version        : 11.0.3-1
Name           : xf86-video-nouveau
Version        : 1.0.11-3
Name           : xorg-server
Version        : 1.17.2-4
Name           : firefox
Version        : 41.0.1-1

Have I missed installing some library or other dependency for nouveau? Or should I reinstall something to solve this problem?

Thank you.

Offline

#2 2015-10-18 10:20:35

cellux
Member
Registered: 2012-09-29
Posts: 3

Re: System hangs at visiting WebGL-enabled site (nouveau)

I think I have the same problem.

Visiting the following page in Firefox crashes my computer:

http://glslsandbox.com/e#28324.0

(This is a web site where users can write and test GLSL shaders from within the browser environment.)

I thought this might be due to my recent upgrade to Mesa 11.0.3, so I tried to downgrade to Mesa 10.6.5, but then Firefox said WebGL is not available (maybe something else should be downgraded as well).

[rb@pluto zzlua]$ uname -a
Linux pluto 4.2.3-1-ARCH #1 SMP PREEMPT Sat Oct 3 19:08:23 CEST 2015 i686 GNU/Linux

Possibly revelant glxinfo output:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PALM (DRM 2.43.0, LLVM 3.7.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.3
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
[rb@pluto zzlua]$ pacman -Q | grep xf86
libxxf86dga 1.1.4-1
libxxf86vm 1.1.4-1
xf86-input-evdev 2.9.2-1
xf86-input-synaptics 1.8.2-2
xf86-video-ati 1:7.5.0-2
xf86-video-fbdev 0.4.4-4
xf86-video-vesa 2.3.4-1
xf86dgaproto 2.1-3
xf86vidmodeproto 2.3.1-3

Offline

#3 2015-10-29 05:11:46

password
Member
Registered: 2015-09-20
Posts: 6

Re: System hangs at visiting WebGL-enabled site (nouveau)

I have found the cause of the errors. It's Firefox' layers.acceleration.force-enabled config parameter on the about:config page. If it's set to true, then the errors appear and system hangs as I visit WebGL site. As soon as I change it to false and restart Firefox, I can safely use WebGL without any error or freeze.

The reason the parameter was set to true is that it fixes a tearing issue with smooth scrolling.

Also I have submitted a bug to Nouveau Project's bugtracker if you're interested in.

Offline

Board footer

Powered by FluxBB