linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frans Pop <aragorn@tiscali.nl>
To: adaplas@pol.net
Cc: debian-sparc@lists.debian.org, sparclinux@vger.kernel.org,
	Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [atyfb] No display on Sparc Ultra 10 with kernel 2.6.10-rc2 or later
Date: Tue, 15 Feb 2005 07:22:15 +0100	[thread overview]
Message-ID: <200502150722.24770.aragorn@tiscali.nl> (raw)
In-Reply-To: <200502150741.01702.adaplas@hotpop.com>

[-- Attachment #1: Type: text/plain, Size: 3404 bytes --]

Hi Tony,

I've tried your suggestions and the one about using fbset resulted in a 
breakthrough. 'fbset -depth' gave no results, but comparing the output of 
'fbset -i' from a working kernel and a new one gave me something to try.

From 2.6.8 kernel (working framebuffer):
mode "1152x900-66"
    # D: 93.870 MHz, H: 61.433 kHz, V: 65.564 Hz
    geometry 1152 900 1152 1792 8
    timings 10653 190 58 31 2 128 4
    hsync high
    csync high
    accel true
    rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
    Name        : ATY Mach64
    Address     : 0xe1800000
    Size        : 2088960
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 1152
    MMIO Address: 0xfffffc00
    MMIO Size   : 2048
    Accelerator : ATI Mach64GT
<end>

From 2.6.10-rc2 (not working):
mode "1024x768-70"
    # D: 74.778 MHz, H: 56.308 kHz, V: 69.862 Hz
    geometry 1024 768 1024 2016 8
    timings 13373 144 24 29 3 136 6
    accel true
    rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
    Name        : ATY Mach64
    Address     : 0xe1800000
    Size        : 2088960
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 1024
    MMIO Address: 0xe17ff800
    MMIO Size   : 2048
    Accelerator : ATI Mach64GT
<end>

The significant difference is in the settings for hsync and csync. After 
setting both 'high' (hsync alone did nothing) from a SSH terminal the 
monitor turned on :-D

I hope this will be enough of a clue for those who know the driver code to 
work out a patch.

These values also tell that the old default mode was 1152x900-66, 
resulting in a 144x56 textconsole. My personal opinion is that that is 
very high for a default mode. The 1024x768-70 (resulting in 128x48) I've 
been using now (or maybe even something a bit lower) seems more 
reasonable to me.

For completeness sake I've included the answers to your questions below.

Cheers,
Frans

On Tuesday 15 February 2005 00:40, Antonino A. Daplas wrote:
> Try editing drivers/video/console/fbcon.c, look for the function
> fbcon_startup(). After the line 'ops->currcon = -1;', insert this line:
>
> ops->blank_state = -1;

Hmm. Results in a compilation error when I tried that in -rc2: no such 
variable in that structure.
I checked 2.6.11-rc3-bk2 and noticed it was added there, so I tested this 
suggestion with that version. No difference.

> Also, try changing the graphics state such as doing an
> fbset -depth 16 or the like.

I tried that from my ssh terminal and only -depth 8 was accepted.
Both 16 and 24 gave the same result:
# fbset -depth 16 -fb /dev/fb0
ioctl FBIOPUT_VSCREENINFO: Invalid argument

> What happens if you switch consoles?

Nothing at all. Hitting keys does nothing either, also not after leaving 
the system alone for a long time.

> You can also try commenting out .fb_blank = atyfb_blank from
> static struct fb_ops atyfb_ops and disable CONFIG_PM from your kernel
> config.

The first suggestion makes no difference.
As to the CONFIG_PM: there is no such setting in my .config for sparc64 
(i386 does have it). I do have CONFIG_FB_PM2, but that is not set.

> I'll CC fbdev-devel list.

Thanks.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-02-15  6:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200502140251.00645.aragorn@tiscali.nl>
     [not found] ` <200502150059.12789.adaplas@hotpop.com>
     [not found]   ` <200502141855.29202.aragorn@tiscali.nl>
2005-02-14 23:40     ` [atyfb] No display on Sparc Ultra 10 with kernel 2.6.10-rc2 or later Antonino A. Daplas
2005-02-15  0:31       ` David S. Miller
2005-02-15  6:22       ` Frans Pop [this message]
2005-02-15 10:03         ` [Linux-fbdev-devel] " Geert Uytterhoeven
2005-02-15 12:10         ` Antonino A. Daplas
2005-02-15 16:49           ` David S. Miller
2005-02-16  2:27             ` Frans Pop
2005-02-16  3:20               ` David S. Miller
2005-02-16 11:30                 ` Antonino A. Daplas
2005-02-16  2:27           ` Frans Pop
2005-02-16 11:27             ` Antonino A. Daplas
2005-02-16 15:51               ` David S. Miller
2005-02-16 22:10                 ` Frans Pop
2005-02-16 23:02                   ` Antonino A. Daplas
2005-02-16 23:18                     ` [Linux-fbdev-devel] " Antonino A. Daplas
2005-02-16 23:24                     ` Antonino A. Daplas
2005-02-17 14:16                       ` Frans Pop
2005-02-17 21:30                         ` Antonino A. Daplas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502150722.24770.aragorn@tiscali.nl \
    --to=aragorn@tiscali.nl \
    --cc=adaplas@pol.net \
    --cc=debian-sparc@lists.debian.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).