linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: linux-fbdev-devel@lists.sourceforge.net,
	Andrew Walrond <andrew@walrond.org>
Subject: Re: Rivafb won't work with DVI connector
Date: Wed, 24 Nov 2004 02:26:03 +0800	[thread overview]
Message-ID: <200411240226.03203.adaplas@hotpop.com> (raw)
In-Reply-To: <200411231801.14328.andrew@walrond.org>

On Wednesday 24 November 2004 02:01, Andrew Walrond wrote:
> On Tuesday 23 Nov 2004 17:07, Antonino A. Daplas wrote:
> > Okay, I think I this should fix the dvi misdetection, and I think it
> > should also fix the preferred timing of 1600x1200 even if both dsub and
> > dvi are attached.  Try the attached patch.
>
> Not quite, but close...
>
> With just dsub and no params, we get a perfect 1600x1200 (200x75) console

Great.

>
> With both dsub and dvi, another perfect 1600x1200 console. (first EDID

Great :-)

> truncated due to dmesg log not big enough; I can fix this if you need)

No need.  The first EDID block is for dvi, the second is for dsub.

>
> With dvi connection and no params, I get a fully working console, but at
> 1024x768 (128x48)

Okay, this is what I wanted to fix.  Note that the preferred timing when
dvi is attached is 1024x768. When dsub, it's 1600x1200.  You see this
in your dmesg "First DETAILED Timing is preferred", and without options
the first detailed timing block will be used.

>
> With DVI and video=nvidiafb:1600x1200-32@60 I get a kernel hang like this
> (copied by hand and shortened in places)

Okay, this is expected.  Since the panel size is only 1024x768, using a mode
of 1600x1200 failed.  So the framebuffer exited initialization with an error which
caused an oops.

Note, that you may not be able to force resolutions > panel size.  You can
try, all you need to do is remove this code in
drivers/video/nvidia/nvidia.c:nvidiafb_check_var:

	if (par->fpWidth && par->fpHeight && (par->fpWidth < var->xres ||
					      par->fpHeight < var->yres))
		return -EINVAL;

But I don't know if your display can tolerate that.

For now, I'll add checks during the initializatiion that will refuse modes
greater than the panel size.

Unfortunately, without any docs on how to adjust the default panel size,
you will be limited to this resolution only.

Does vesafb work in x86_64?  If it does you can add this in your
commandline:

vga=0x307 

0x306 is the code for 1280x1024, see Documentation/fb/vesafb.txt.

Then check your dmesg if the panel size also changed.  If it did, then
you can do this:

vga=0x307 video=nvidiafb:1280x1024@60.

>
> Decompressing linux
> Bootdata ok (command line is root=... video=nvidiafb:1600x1200-32@60)
> Linux version 2.6.10-rc2 ...
> BIOS-provided physical map
> Scanning NUMA topology in Northbridge 24
> Number of nodes 2 (10010)
> Node 0 using interleaving mode 1/0
> No NUMA configuration found
>
>
> and thats as far as it gets.
>
> Getting closer by the hour :)

Yes.

Tony




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

  reply	other threads:[~2004-11-23 18:26 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-19 11:37 Rivafb won't work with DVI connector Andrew Walrond
2004-11-19 22:08 ` Antonino A. Daplas
2004-11-20 15:52   ` Andrew Walrond
2004-11-22  0:11     ` Antonino A. Daplas
2004-11-22  9:23       ` Andrew Walrond
2004-11-22  9:43         ` Andrew Walrond
2004-11-22 22:13           ` Antonino A. Daplas
2004-11-22 23:47             ` Andrew Walrond
2004-11-22 23:54               ` Andrew Walrond
2004-11-23  1:50               ` Antonino A. Daplas
2004-11-23 12:32                 ` Andrew Walrond
2004-11-23 14:28                   ` Antonino A. Daplas
2004-11-23 15:09                     ` Andrew Walrond
2004-11-23 15:18                       ` Antonino A. Daplas
2004-11-23 16:08                         ` Andrew Walrond
2004-11-23 17:07                           ` Antonino A. Daplas
2004-11-23 18:01                             ` Andrew Walrond
2004-11-23 18:26                               ` Antonino A. Daplas [this message]
2004-11-23 19:00                                 ` Andrew Walrond
2004-11-23 19:07                                   ` Andrew Walrond
2004-11-23 19:23                                 ` Andrew Walrond
2004-11-23 19:59                                   ` Geert Uytterhoeven
2004-11-23 20:53                                     ` Andrew Walrond
2004-11-23 22:44                                       ` Antonino A. Daplas
2004-11-23 23:59                                         ` Andrew Walrond
2004-11-24 22:38                                         ` Andrew Walrond
2004-11-23 20:21                                   ` Chad Daelhousen
2004-11-24 23:01                                 ` Andrew Walrond
  -- strict thread matches above, loose matches on Subject: below --
2004-11-25  0:07 Antonino A. Daplas
2004-11-25 15:27 ` Andrew Walrond
2004-11-25 21:16   ` Antonino A. Daplas
2004-11-26 14:09   ` Antonino A. Daplas
2004-11-27 12:40     ` Andrew Walrond
2004-11-27 18:29       ` Michel Dänzer
2004-11-27 22:35         ` Andrew Walrond
2004-11-27 22:43       ` 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=200411240226.03203.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=andrew@walrond.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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).