Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#31330 - [xf86-video-nouveau] firefox 15 crashes xorg

Attached to Project: Arch Linux
Opened by Jan Sarenik (jasan) - Wednesday, 29 August 2012, 14:04 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 18 November 2012, 19:15 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andreas Radke (AndyRTR)
Ionut Biru (wonder)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When I start a clean Firefox 15 with new profile
and open below-mentioned URL, whole Xorg crashes.
I have no extra xorg.conf options file.

100% reproducible.

Additional info:
* package version(s)
local/xf86-video-nouveau 1.0.1-1
local/firefox 15.0-1
all other xorg-* packages can be found in attached file
my system is up-to-date as of now
* config and/or log files etc.

Steps to reproduce:
firefox -ProfileManager
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 18 November 2012, 19:15 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Wednesday, 29 August 2012, 14:47 GMT
what version of nouveau-dri?
Comment by Jan Sarenik (jasan) - Wednesday, 29 August 2012, 15:57 GMT
I do not have nouveau-dri installed.

Now I tried to reproduce on up-to-date i686 system with Intel graphics
with no success, so I think it has to be something with nouveau.
Comment by Balló György (City-busz) - Sunday, 02 September 2012, 02:46 GMT
What is the memory size of your video card?

I guess, you probably have 256 MB or less video memory, but the image simply doesn't fit into it. This is a bug in the xf86-video-nouveau driver, which tries to use more memory than available. I created a patch[1], which ensures that images are always fit into the video memory before allowing EXA acceleration, see the attachment. Could you test it?

Comment by Jan Sarenik (jasan) - Sunday, 02 September 2012, 05:34 GMT
Sounds reasonable. Thank you for the patch! I will test it as soon
as I get to that machine with NVidia card and will get back with
results then.
Comment by Jan Sarenik (jasan) - Sunday, 02 September 2012, 17:09 GMT
Firefox does not crash after compiling latest xf86-video-nouveau
from git with applied better_memory_handling.patch

Thank you!
Comment by Jan Sarenik (jasan) - Sunday, 02 September 2012, 17:14 GMT
I verified to be running nouveau driver by examining
/var/log/Xorg.log.0, also by running xdriinfo(1).
Comment by Andreas Radke (AndyRTR) - Thursday, 06 September 2012, 13:41 GMT
Ionut, will you wait for an upstream release or fix our current version?
Comment by Ionut Biru (wonder) - Thursday, 06 September 2012, 13:46 GMT
you guys should stalk darktama on irc and ask him to look at this issue.
Comment by Greg (dolby) - Saturday, 17 November 2012, 08:50 GMT
Is this still a problem in latest nouveau version?
Comment by Jan Sarenik (jasan) - Sunday, 18 November 2012, 19:11 GMT
No, this is no longer an issue with current drivers, though I was running a self-compiled git version of nouveau driver until today.

Versions with which I tried to reproduce now:
firefox 16.0.2-1
nouveau-dri 9.0.1-1
xf86-video-nouveau 1.0.4-1

Works well. Thanks!