LIBGL_ALWAYS_INDIRECT causes firefox crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| LTSP5 |
High
|
Alkis Georgopoulos | ||
| xserver-xorg-video-nouveau (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
In some cases, the default LIBGL_ALWAYS_
* When starting firefox, xorg crashes, without any relevant messages in .xsession-errors or in Xorg.log.
* When *closing* chromium-browser, xorg crashes.
The first of the setups where this was observed had the following graphics card on both the server and the clients, and had no proprietary drivers installed:
# lspci -nn -k | grep -A 2 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x] [10de:0181] (rev c1)
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb
That's on Ubuntu Precise, fully updated.
Alkis Georgopoulos (alkisg) wrote : | #1 |
Alkis Georgopoulos (alkisg) wrote : | #2 |
Third case:
# lspci -nn -k | grep -A 2 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] [10de:002d] (rev 15)
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb, rivafb
We should probably start by disabling LIBGL_ALWAYS_
Alkis Georgopoulos (alkisg) wrote : | #3 |
Attaching Xorg.log where the segfault in nouveau_
An easy way to reproduce the problem without LTSP:
(from a client with an nvidia card):
$ ssh -X server
$ LIBGL_ALWAYS_
One workaround mentioned in #nouveau:
(08:34:05 πμ) airlied: got all the accel you are going to get you might just mv the nouveau_
Tested it and it works fine, maybe we can do that on in /usr/share/
Alkis Georgopoulos (alkisg) wrote : | #4 |
In this case, although with Precise not updated for a couple of months, the problem did NOT happen:
# lspci -nn -k | grep -A 2 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV11 [GeForce2 MX/MX 400] [10de:0110] (rev b2)
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb, rivafb
Alkis Georgopoulos (alkisg) wrote : | #5 |
Some people are reporting that this doesn't happen in a fresh 12.04.1 installation, but it happens after they `apt-get update` their server.
Alkis Georgopoulos (alkisg) wrote : | #6 |
Another teacher reports the same problem in these clients:
root@ltsp135:~# lspci -nn -k | grep -A 2 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV18
[GeForce4 MX 4000] [10de:0185] (rev c1)
Subsystem: Micro-Star International Co., Ltd. Device [1462:9363]
Kernel driver in use: nouveau
Launchpad Janitor (janitor) wrote : | #7 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in xserver-xorg-video-nouveau (Ubuntu): | |
status: | New → Confirmed |
Christian (c-pradelli) wrote : | #8 |
I having this same problem in all my ltsp clients that have nvidia video card.
I'm using Ubuntu 12.04.1 64 bits.
Is there any workarround?
Vagrant Cascadian (vagrantc) wrote : Re: [Bug 1072711] Re: LIBGL_ALWAYS_INDIRECT causes firefox crashes | #9 |
On Fri, Nov 30, 2012 at 09:25:38PM -0000, Christian wrote:
> I having this same problem in all my ltsp clients that have nvidia video card.
> I'm using Ubuntu 12.04.1 64 bits.
> Is there any workarround?
You can create an empty file to override it:
sudo mkdir -p /opt/ltsp/
sudo touch /opt/ltsp/
sudo ltsp-update-image
Adjust i386 for amd64 if you're using amd64 clients.
Note that if it is ever fixed properly, you'll want to remove this empty file.
live well,
vagrant
Alkis Georgopoulos (alkisg) wrote : | #10 |
Fix committed in http://
It is just a temporary workaround, it should be removed in the future once the nouveau bug is resolved.
It'd be nice if someone could SRU this, as many LTSP users are affected.
Changed in ltsp: | |
assignee: | nobody → Alkis Georgopoulos (alkisg) |
importance: | Undecided → High |
status: | New → Fix Committed |
Alkis Georgopoulos (alkisg) wrote : | #11 |
The committed fix is applied too late, after xorg is loaded. So it's not working on the first login, but only on subsequent logins.
The `rm -f /usr/lib/
A workaround that doesn't involve updating the chroot is to put this in lts.conf:
[Default]
RCFILE_01="rm -f /usr/lib/
Changed in ltsp: | |
status: | Fix Committed → In Progress |
Alkis Georgopoulos (alkisg) wrote : | #12 |
Fix committed in http://
Changed in ltsp: | |
status: | In Progress → Fix Committed |
Alkis Georgopoulos (alkisg) wrote : | #13 |
Fix released in LTSP 5.4.5.
Changed in ltsp: | |
status: | Fix Committed → Fix Released |
In another occurance of the problem, the client had:
# lspci -nn -k |grep -A 2 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] [10de:002d] (rev 15)
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb, rivafb
...while the server did not have nvidia in that case:
# lspci -nn -k | grep -A 2 VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:2a94]
Kernel driver in use: i915