From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: framebuffer console problems: not enough video RAM?
Date: Sun, 24 Oct 2004 09:07:53 -0700 [thread overview]
Message-ID: <5.1.0.14.1.20041024085546.020676a8@celine> (raw)
In-Reply-To: <Pine.LNX.4.58.0410240025400.1287@debian-emach>
At 12:45 AM 10/24/2004 -0500, James Miller wrote:
[...]
>A final stray thought: don't know if you caught my earlier statement about
>entering atyfb in /etc/modules. I created an initrd that, so far as I can
>tell, contains this module. However when I boot with the video=atyfb:etc,
>the module doesn't seem to load.
No, I missed this before ... or actually, I saw it but didn't follow then
what you were saying.
initrd doesn't work that way. It loads modules *after* the kernel itself is
loaded, but *before* the "real" root filesystem is mounted. So it provides
a way to supply, for example, modules needs to mount disk drives to the
kernel before the kernel actuallt has to mount the drive. (You could, for
instance, make the ide stuff modules this way.)
I believe initrd module loading does *not* work with kernel arguments of
the sort you are using. Instead, those arguments need the relevant drivers
to be in the kernel itself. As a consequence, and since we (or I, at least)
don't know what is compiled in tht kernel you are using, it is hard to
guess how the kernel is trying to deal with the bootline agrument you are
passing it.
The way to do your approach is to use /etc/modules to load a framebuffer,
then use fbset (which you can put in an init script) to do the mode
selection. The way you are actually doing it, from a console, should be an
acceptable equivalent.
I do wonder, though, if trying to change framebuffer settings *after* X is
already using the framebuffer is introducing a problem. You might try
preventing X from loading (remove the symlink to /etc/init.d/xdm from your
default runlevel directory) and see if you can modify framebuffer settings
any more readily then.
>So I resorted to adding atyfb to
>/etc/modules,
Which one? The one on the root filesystem, or the one in the initrd image?
Probably the second. In any case, it's being installed too late for
bootline parameters to affect it. That's why you need to use fbset.
(Now, I wonder if the kernel itself is still trying to use vesafb, or maybe
even vgafb ... that's the trouble with using precompiled kernels, the need
to guess about what's in them ... during the init sequence, before xdm
comes on, do you get the modified display with the pengiun at the top? If
so, this is a sure indication that it is using *some* framebuffer at that
point. And if X is set up with Option "UseFBDev" "true.", it is looking for
a framebuffer when it loads )
>after which it started loading and showing up in dmesg--such
>as in portions I've included in previous messages. Ideally, I should have
>this module compiled into the kernel, I suppose. But I'm trying to defer
>anything like that in hopes that I can see if it even works first (e.g.,
>if I have sufficient video RAM to support the resolution I need atyfb
>for).
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-10-24 16:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 16:42 framebuffer console problems James Miller
2004-10-22 19:00 ` James Miller
2004-10-22 20:08 ` Ray Olszewski
2004-10-22 21:02 ` James Miller
2004-10-22 21:49 ` James Miller
2004-10-22 20:09 ` Jim Nelson
2004-10-22 21:14 ` James Miller
2004-10-22 22:42 ` Jim Nelson
2004-10-23 4:40 ` James Miller
2004-10-23 20:06 ` framebuffer console problems: not enough video RAM? James Miller
2004-10-23 22:00 ` Ray Olszewski
2004-10-24 3:16 ` James Miller
2004-10-24 5:02 ` Ray Olszewski
2004-10-24 5:45 ` James Miller
2004-10-24 16:07 ` Ray Olszewski [this message]
2004-10-24 20:00 ` James Miller
2004-10-25 17:43 ` What distributions support dual processors 'out of the box' ? chuck gelm
2004-10-25 20:26 ` Owen Ford
2004-10-27 12:59 ` framebuffer console problems: not enough video RAM? Stephen Samuel
2004-10-23 22:17 ` Ray Olszewski
2004-10-24 3:25 ` James Miller
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=5.1.0.14.1.20041024085546.020676a8@celine \
--to=ray@comarre.com \
--cc=linux-newbie@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