Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 489101

Summary: X locks up when dragging stuff i Firefox
Product: [Fedora] Fedora Reporter: Pierre Ossman <pierre-bugzilla>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: airlied, ajax, arnout.lok, bskeggs, fedoraproject, staubach, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-21 11:45:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Xorg.0.log.old
none
messages none

Description Pierre Ossman 2009-03-07 16:11:01 UTC
Sometimes when I select a piece of text in firefox and begin dragging it, the X server locks up. It has time to change the cursor though, and cursor updates continue to work so it isn't completely hung. There are no other updates on the screen except for the cursor though.

This is extremely annoying as the only way to recover is a hard reboot. Just pressing the power button isn't working (probably as g-p-m is popping up its dialog on the unusable display).

My card is a NVS 140M (G8x) in a Thinkpad R61.

Comment 1 Ben Skeggs 2009-03-08 23:21:41 UTC
Can you upload your /var/log/Xorg.0.log.old and /var/log/messages from after you've done a hard reboot after the hang.

Comment 2 Pierre Ossman 2009-03-09 06:48:37 UTC
Created attachment 334468 [details]
Xorg.0.log.old

Comment 3 Pierre Ossman 2009-03-09 06:49:57 UTC
Created attachment 334469 [details]
messages

Last crash happened last night, but it should be easy to find if you look where the kernel booted.

Comment 4 Ben Skeggs 2009-03-09 11:00:18 UTC
Hmm, I'm not seeing anything from the GPU to indicate the driver did anything wrong.  Just to confirm it's a problem with the graphics driver, are you able to switch to the nv or vesa driver and see if you can repeat this with them?

Comment 5 Pierre Ossman 2009-03-10 20:51:33 UTC
I tried nv and I'm unable to provoke it there.

Comment 6 James Cassell 2009-04-17 21:50:46 UTC
this only happens with nouveau; with nv, and the proprietary driver, it doesn't happen.

Comment 7 Pierre Ossman 2009-04-20 06:51:49 UTC
Today the X server crashed instead of locking up. Nothing in the Xorg log unfortunately, and only these lines in messages:

Apr 20 08:47:28 mjolnir kernel: nouveau 0000:01:00.0: Pushbuf config exceeds limits:
Apr 20 08:47:28 mjolnir kernel: nouveau 0000:01:00.0:   dwords : 17447 max 16381
Apr 20 08:47:28 mjolnir kernel: nouveau 0000:01:00.0:   buffers: 2 max 1024
Apr 20 08:47:28 mjolnir kernel: nouveau 0000:01:00.0:   relocs : 4 max 1024
Apr 20 08:47:28 mjolnir kernel: nouveau 0000:01:00.0: nouveau_fifo_free: freeing fifo 2
Apr 20 08:47:29 mjolnir kernel: nouveau 0000:01:00.0: Allocating FIFO number 2
Apr 20 08:47:29 mjolnir kernel: nouveau 0000:01:00.0: nouveau_fifo_alloc: initialised FIFO 2

Since the original report, I've switched to KMS. Perhaps that's why it managed to restart X instead of simply locking up.

Comment 8 Ben Skeggs 2009-04-20 10:05:56 UTC
Wow, I've never seen that trigger before :)  I had a very quick look, one one thing's immediately coming to mind that could cause this to happen, can you try the build at http://koji.fedoraproject.org/scratch/bskeggs/task_1308928/ and see if it helps any?

Comment 9 Pierre Ossman 2009-04-20 17:42:51 UTC
No difference. Same noise in dmesg:

nouveau 0000:01:00.0: Pushbuf config exceeds limits:
nouveau 0000:01:00.0:   dwords : 45904 max 16381
nouveau 0000:01:00.0:   buffers: 2 max 1024
nouveau 0000:01:00.0:   relocs : 4 max 1024
nouveau 0000:01:00.0: nouveau_fifo_free: freeing fifo 2

Comment 10 Ben Skeggs 2009-04-20 23:13:39 UTC
I managed to reproduce it here with a new user, guess my normal theme manages to not trigger this somehow.

Should be fixed as of xorg-x11-drv-nouveau-0.0.12-30.20090421git47bb00f.fc11 (http://koji.fedoraproject.org/koji/taskinfo?taskID=1310297).

Can you confirm it works for you?

Comment 11 Pierre Ossman 2009-04-21 06:28:01 UTC
Seems so. Good work. :)

Comment 12 Ben Skeggs 2009-04-21 11:45:44 UTC
Cool, that's good enough for me!  Closing :)

Thanks for testing!