FS#22967 - Screen flickers with mesa, ati-dri, libgl, libdrm 7.10.0
Attached to Project:
Arch Linux
Opened by Heiko Baums (cyberpatrol) - Saturday, 19 February 2011, 20:02 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 01 May 2011, 18:38 GMT
Opened by Heiko Baums (cyberpatrol) - Saturday, 19 February 2011, 20:02 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 01 May 2011, 18:38 GMT
|
Details
Description:
Since kernel26 2.6.37-6 the screen is regularly flickering. Every 20-30 seconds the screen gets black for a millisecond or so (a short flicker). This happens on X as well as on the console and with or without KMS. So it's not X but kernel related. My video card is an ATI Radeon RV620 LE (Radeon HD 3450). There are no related kernel parameters in the kernel line in /boot/grub/menu.lst. Kernel26 2.6.37-5 and earlier are not affected. |
This task depends upon
I tried it with kernel26 2.6.37-5, kernel26 2.6.37-6 and the appropriate versions of kernel26-fbcondecor. My mistake was that I booted my kernel26-fbcondecor without KMS (nomodeset and vga) and kernel26 with KMS. I can't test it without KMS, because Xorg doesn't start anymore with KMS.
If I have xdm started but am not logged into X, the screen doesn't flicker, not either on the console. As soon as I'm logged into X the screen starts flickering in X as well as on the console. This happens with both kernel versions.
So I guess it's related to mesa, ati-dri, libgl and/or libdrm which have been updated to version 7.10.0.git20110215-1 at the same time when kernel26 was updated to 2.6.37-6.
Btw., it would be nice, if git versions wouldn't be moved into the stable repos. Only stable upstream releases belong into the stable repos. There are only a very few exceptions, e.g. if there's a new software of which there's no working stable version released. And git packages usually should be named as package-git.
I guess this bug actually belongs into the category "Packages: Extra".
Like I said it's most likely at least one of the packages mesa, ati-dri, libgl and libdrm.
It would be nice if someone would change the subject to "Screen flickers with mesa, ati-dri, libgl, libdrm 7.10.0" and change the category to "Packages: Extra".
$ lspci
...
01:00.0 VGA compatible controller: ATI Technologies Inc RV620 LE [Radeon HD 3450]
...
$
I also tried to change the power management of the card :
[root@mordekaiser abique]# echo high > /sys/class/drm/card0/device/power_method
[root@mordekaiser abique]# echo $?
0
[root@mordekaiser abique]# cat /sys/class/drm/card0/device/power_method
profile
[root@mordekaiser abique]#
But as you can see, doesn't work.
$ lspci | grep Rad
01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]
Saying "very annoying and should be fixed soon" isn't going to magically get an Arch dev to look at this. You will need to do some research upstream and see if you can at least fine the last working version, etc.
I did notice that it didn't seem to start until I logged in and started Firefox; perhaps triggered by loading OpenGL-related stuff? I didn't see any flicker at all in my login manager (slim).
For Mesa: Usually mesa devs pick carefully only really helpful patches to their stable branch. So it's usually in a much better state than the last stable release.
My card:
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/727979
And I opened a new bug for the nouveau related problem:
https://bugs.archlinux.org/task/23213
I found a possible solution: http://lists.freedesktop.org/archives/dri-devel/2011-March/009057.html
01:00.0 VGA compatible controller: nVidia Corporation G84M [Quadro FX 570M] (rev a1)
i get Xiv errors when the screen flickers
There's no package drm-next or drm-testing in AUR, btw., only an outdated package kernel26-drm-next.
go on and test which of these late drm "fixes" introduced the regression.
For the record, I don't get any useful messages at all in dmesg output when my monitor flickers, and it is only my second monitor. I haven't had time to sit down and try bisecting this yet, otherwise I'd be able to lend more helpful information which is the primary reason I haven't commented in a while- nothing new to add.
And another thing. Andy asked me to do test something. I don't think, that doing this and tell him the results I get is whining and not helpful.
You should know how this goes in the OpenSource land. You are affected and only you can give useful feedback. If nobody does it it won't get fixed. That's it. Nothing less and nothing more. So feel free to do the testing and report us the final soultion you will find together with upstream devs. Or it will stay broken.
[root@localhost baz]# tailf /var/log/kernel/info.log
Apr 1 23:44:12 localhost kernel: [drm] nouveau 0000:01:00.0: Load detected on output B
Apr 1 23:44:42 localhost kernel: [drm] nouveau 0000:01:00.0: Load detected on output B
Apr 1 23:45:12 localhost kernel: [drm] nouveau 0000:01:00.0: Load detected on output B
These continue at exact 30 sec intervals (in sync with the flicker) while there is a TV connected to the SVHS out on my FX5600u card.
With the TV disconnected the messages stop, but the flicker continues at the same rate.
I have reported this in the Mageia bug system today but as yet there is no response https://bugs.mageia.org/show_bug.cgi?id=610 - I will also cross link to this bug from there.
I hope this may help someone with more knowledge that me to pin this down.
* Stock Arch kernel, 2.6.38.4-1
* make localmodconfig, 2.6.37
* make localmodconfig, 2.6.37.6
So my job is done here, apparently.
kernel 2.6.38.4
mesa/libgl 7.10.2
but if I downgrade mesa to 7.10.0, the problem is gone.
And it's probably fixed in upower 0.9.9, but currently I can't test them.
So I guess this bug can be closed as fixed.