Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339529 - sys-kernel/gentoo-sources-2.6.35-r7: fbcondecor freezes the system when background set (splashutils?)
Summary: sys-kernel/gentoo-sources-2.6.35-r7: fbcondecor freezes the system when backg...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Asaf Gery
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 23:26 UTC by 5FBCDB43
Modified: 2013-06-16 18:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg (dmesg.log,37.60 KB, text/plain)
2010-11-05 16:52 UTC, 5FBCDB43
Details
fbcondecor_help backtrace from sysrq+w (fbcondecor_help_backtrace.txt,1.31 KB, text/plain)
2011-05-22 18:36 UTC, Petr Polezhaev
Details
800x600-24 output (800x600.jpg,208.54 KB, image/jpeg)
2011-05-27 20:26 UTC, 5FBCDB43
Details
1280x1024-24 (1280x1024.jpg,18.32 KB, image/jpeg)
2011-05-27 20:31 UTC, 5FBCDB43
Details
kernel message (3.4.0) (fbfail.log,3.18 KB, text/plain)
2012-06-23 09:54 UTC, 5FBCDB43
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 5FBCDB43 2010-10-02 23:26:30 UTC
When I have a background set with fbcon_decor the system freezes in certain moments.
I noticed it always freezes when I run a kernel's `make menuconfig` when it's supposed to draw the menu. The screen is cleared and only the bottom line is blue.
It also freezes when compiling a package, though I can't say when. But when it does, the bottom line is an exact copy of the previous. "Line" as in a horizontal line of symbols on the screen.
I tested various setting and I noticed that only the background needs to be set for this to happen.
By "freezes" I mean that it doesn't respond to any input, SysRq calls included.

ATI Radeon r300, KMS, 1280x1024, 24bpp

Reproducible: Always

Steps to Reproduce:
Comment 1 5FBCDB43 2010-10-08 10:33:16 UTC
Fails only with 24bit colour depth.
On 1024x768 and 1280x1024 it crashes.
On 800x600 and 640x480 there's image corruption but it works.
16bit and 32bit works ok.

Should I take this upstream?
Comment 2 Mike Pagano gentoo-dev 2010-10-24 23:15:26 UTC
Copying spock, as he is upstream.

Anything different with gentoo-sources-2.6.36?
Comment 3 5FBCDB43 2010-11-05 16:52:10 UTC
Created attachment 253303 [details]
dmesg

With .36 it still crashes, but the rest of the system still work. I could toggle LEDs on the keyboard, and I could log in via SSH and remotely use the PC. So I finally got some kernel output. \(^o^)/ Emerge halted right after it would output ebuild info and `poweroff` didn't work; `poweroff -f` did though.
Comment 4 5FBCDB43 2010-11-05 16:53:40 UTC
Oh, and my LCD display didn't go into standby mode.
Comment 5 5FBCDB43 2011-01-15 17:07:25 UTC
Does not happen in 2.6.37.
Comment 6 5FBCDB43 2011-01-15 17:26:32 UTC
Sorry, I set wrong bpp, it still malfunctions.
Comment 7 Petr Polezhaev 2011-05-22 18:30:15 UTC
Same on r600 here. It hangs after modprobe radeon in initrd, SysRQ+W/T shows that fbcondecor_helper is waiting for mutex.

If there is no modprobe radeon in initrd, then udev will try to load it, resulting in frozen system (but it will timeout after a 60 seconds or could be "resumed" by SysRQ+I).

Removing fbcondecor_helper from initrd and from system resolves this issue.
Comment 8 Petr Polezhaev 2011-05-22 18:36:48 UTC
Created attachment 274297 [details]
fbcondecor_help backtrace from sysrq+w

This could be slightly different issue, by the way, but looks like very similar.
Comment 9 Petr Polezhaev 2011-05-22 19:06:22 UTC
BTW, slight addition: this is for 2.6.39. Sorry, hadn't seen version from bug.
Comment 10 5FBCDB43 2011-05-27 20:26:35 UTC
Created attachment 274831 [details]
800x600-24 output

I also experience the issue with initrd.

The issue I bugged still exists in .39. Here's how the output for 800x600-24 or lower resolution looks like.
Comment 11 5FBCDB43 2011-05-27 20:31:33 UTC
Created attachment 274833 [details]
1280x1024-24

On 1024x768-24 or higher it stops after the first line. That black space on the right of the blue line has |||| symbol like the ones visible on the previous shot.

If you ask me, it looks like the driver has wrong char/bpp length for -24 or something. On lower resolutions it doesn't crash so the issue might be that on higher ones it go so out-of-bounds it tries to write RO memory and the driver is killed or something.
Comment 12 Pacho Ramos gentoo-dev 2012-06-16 09:46:41 UTC
Still valid with more recent kernels?
Comment 13 5FBCDB43 2012-06-23 09:54:37 UTC
Created attachment 316037 [details]
kernel message (3.4.0)

Yes, it still happens on 3.4.0 (with video=#x#-24 as said earlier).

It seems something goes wrong when decorations are set, since it works okay when there are none, and fails after setting them to on with fbcondecor_ctl.
Comment 14 5FBCDB43 2013-01-21 17:43:50 UTC
I switched the graphics card to a WinFast GeForce 6200 and now when I set video=1280x1024-24, then the screen had no colours, was uhh... how to put it... divided like 3:2 with a copy on the right and condensed (also with no decorations).
My LCD has broken, so I'm using an older CRT now, so maybe the monitor can't support this mode?

In any case... Is 'video=<width>x<height>-24' a valid value in the first place?

If no one else had this problem then I cannot rule out the possibily of a hardware failure on my Radeon here, though.
Comment 15 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-21 20:48:54 UTC
(In reply to comment #14)
> In any case... Is 'video=<width>x<height>-24' a valid value in the first
> place?

http://www.kernel.org/doc/Documentation/fb/modedb.txt

    video=<driver>:<xres>x<yres>[-<bpp>][@refresh]

Maybe that "<driver>:" part is required, which you can assume by the syntax in this documentation (it has no optional brackets around it).
Comment 16 Pacho Ramos gentoo-dev 2013-06-04 20:19:15 UTC
(In reply to Tom Wijsman (TomWij) from comment #15)
> (In reply to comment #14)
> > In any case... Is 'video=<width>x<height>-24' a valid value in the first
> > place?
> 
> http://www.kernel.org/doc/Documentation/fb/modedb.txt
> 
>     video=<driver>:<xres>x<yres>[-<bpp>][@refresh]
> 
> Maybe that "<driver>:" part is required, which you can assume by the syntax
> in this documentation (it has no optional brackets around it).

dottomi, did you try it?
Comment 17 Pacho Ramos gentoo-dev 2013-06-16 17:37:33 UTC
(In reply to Pacho Ramos from comment #16)
> (In reply to Tom Wijsman (TomWij) from comment #15)
> > (In reply to comment #14)
> > > In any case... Is 'video=<width>x<height>-24' a valid value in the first
> > > place?
> > 
> > http://www.kernel.org/doc/Documentation/fb/modedb.txt
> > 
> >     video=<driver>:<xres>x<yres>[-<bpp>][@refresh]
> > 
> > Maybe that "<driver>:" part is required, which you can assume by the syntax
> > in this documentation (it has no optional brackets around it).
> 
> dottomi, did you try it?