linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 2.4.21-rc1] vesafb with large memory
@ 2003-05-01 14:20 O.Sezer
  2003-05-01 15:03 ` Thomas Backlund
  0 siblings, 1 reply; 19+ messages in thread
From: O.Sezer @ 2003-05-01 14:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: tmb

Thomas Backlund wrote:

[SNIPPED]
 >
 > So this way we wont break current systems,
 > but have an option for those cards that has problem...
 > (seems to be AGP + >=128MB VideoRAM + >=1024MB system RAM only)

AGP			-> Yes
 >= 128MB RAM		-> Yes
 >=1024MB system RAM	-> _ NO _.  Only 256MB
(OK, I added another 128 today, so it's 384 now :))

Regards;
Özkan Sezer


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [PATCH 2.4.21-rc1] vesafb with large memory
@ 2003-05-06 15:58 Walt H
  0 siblings, 0 replies; 19+ messages in thread
From: Walt H @ 2003-05-06 15:58 UTC (permalink / raw)
  To: tmb, linux-kernel

> There is a problem with this, ...
> If we calculate the exact memory like this, there wont be any
> memory remapped to do double/tripple buffering...
> So the question is: shoud one take the formula and add ' * 2' to
> atleast get the double buffering supported...
> (in the patch I made for mdk, I kept a modified override part so that
> the user can change this, if he needs it....)

Hello.  I realize that there won't be enough memory for double/triple
buffering using my patch. I even thought of doing the *2 thing, but
decided against it. The idea I had is that more and more video cards are
coming out with 128+ MB Ram, and that machines with >=1GB Ram are also
becoming common, especially for gamers etc...  Those users, I believe,
are less likely to use vesafb for anything other than graphics boot
splash and this just removes one little out-of-the-box problem many have
been having. I thought it to be a safer default than attempting to
ioremap the entire framebuffer. Just my thoughts,

-Walt Holman




^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [PATCH 2.4.21-rc1] vesafb with large memory
@ 2003-04-30 21:33 O.Sezer
  2003-05-01 12:00 ` Thomas Backlund
  0 siblings, 1 reply; 19+ messages in thread
From: O.Sezer @ 2003-04-30 21:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: alan, kernel

So far, so good...

I can happily boot, halt, play some opengl games, perform my daily
routines, etc.  This should also be related to the bug recorded at
Mandrake-bugzilla: http://qa.mandrakesoft.com/show_bug.cgi?id=3198 .
I also reported this to kernel@mandrakesoft.com .

Regards;
Özkan Sezer


-------- Original Message --------
Subject: Re: [PATCH 2.4.21-rc1] vesafb with large memory
Date: Wed, 30 Apr 2003 21:58:42 +0300
From: O.Sezer <sezero@superonline.com>
To: linux-kernel@vger.kernel.org
CC: alan@lxorguk.ukuu.org.uk,  kernel@mandrakesoft.com

For the record:

This patch posted by Adam Mercer solved my previously reported
problem about the mmio clash of CDM680 and GeForce3-Ti200 / 128MB
(see thread: "IDE siimage Problem" at:
   http://marc.theaimsgroup.com/?l=linux-kernel&m=104773593910239&w=2
   disscussed offlist with Alan).
Very preliminary testing (no modules built, no initrd, only the
vmlinuz) did not show any mmio clash and boot was fine.
Dmesg and syslog files (gzipped) are attached. I may/will report
more results upon more testing if/when necessary.

Regards,
Özkan Sezer



^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [PATCH 2.4.21-rc1] vesafb with large memory
@ 2003-04-30 18:58 O.Sezer
  0 siblings, 0 replies; 19+ messages in thread
From: O.Sezer @ 2003-04-30 18:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: alan, kernel

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

For the record:

This patch posted by Adam Mercer solved my previously reported
problem about the mmio clash of CDM680 and GeForce3-Ti200 / 128MB
(see thread: "IDE siimage Problem" at:
  http://marc.theaimsgroup.com/?l=linux-kernel&m=104773593910239&w=2
  disscussed offlist with Alan).
Very preliminary testing (no modules built, no initrd, only the
vmlinuz) did not show any mmio clash and boot was fine.
Dmesg and syslog files (gzipped) are attached. I may/will report
more results upon more testing if/when necessary.

Regards,
Özkan Sezer

[-- Attachment #2: dmesg.out.gz --]
[-- Type: application/gzip, Size: 2786 bytes --]

[-- Attachment #3: syslog.out.gz --]
[-- Type: application/gzip, Size: 5202 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH 2.4.21-rc1] vesafb with large memory
@ 2003-04-30  8:09 Adam Mercer
  2003-04-30 11:26 ` Alan Cox
  0 siblings, 1 reply; 19+ messages in thread
From: Adam Mercer @ 2003-04-30  8:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: marcelo

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

Hi

I've recently been having a problem with the vesafb refusing to boot on
my system, after investigation the problem further I found that it had
been mentioned on the 27 March 2003, in this thread

http://marc.theaimsgroup.com/?l=linux-kernel&m=104878364823195&w=2

In the thread Walt H, waltabbyh <at> comcast <dot> net, provides a fix.
After just downloading 2.4.21-rc1 I noticed that this fix was not
present. So heres a patch against 2.4.21-rc1 to fix this probelm.

Please CC me with any responses as I'm not on the list.

Cheers

Adam

diff -urN linux-2.4.21-rc1-orig/drivers/video/vesafb.c linux-2.4.21-rc1/drivers/video/vesafb.c
--- linux-2.4.21-rc1-orig/drivers/video/vesafb.c  2002-11-28 23:53:15.000000000 +0000
+++ linux-2.4.21-rc1/drivers/video/vesafb.c 2003-04-30 08:32:02.000000000 +0100
@@ -520,7 +520,7 @@
	video_width         = screen_info.lfb_width;
	video_height        = screen_info.lfb_height;
	video_linelength    = screen_info.lfb_linelength;
-	video_size          = screen_info.lfb_size * 65536;
+	video_size          = screen_info.lfb_width *	screen_info.lfb_height * video_bpp;
	video_visual = (video_bpp == 8) ?
		FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;						

[-- Attachment #2: 2.4.21-rc1-vesafb-highmem.patch --]
[-- Type: text/plain, Size: 651 bytes --]

diff -urN linux-2.4.21-rc1-orig/drivers/video/vesafb.c linux-2.4.21-rc1/drivers/video/vesafb.c
--- linux-2.4.21-rc1-orig/drivers/video/vesafb.c	2002-11-28 23:53:15.000000000 +0000
+++ linux-2.4.21-rc1/drivers/video/vesafb.c	2003-04-30 08:32:02.000000000 +0100
@@ -520,7 +520,7 @@
 	video_width         = screen_info.lfb_width;
 	video_height        = screen_info.lfb_height;
 	video_linelength    = screen_info.lfb_linelength;
-	video_size          = screen_info.lfb_size * 65536;
+	video_size          = screen_info.lfb_width * screen_info.lfb_height * video_bpp;
 	video_visual = (video_bpp == 8) ?
 		FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
 

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2003-05-06 15:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 14:20 [PATCH 2.4.21-rc1] vesafb with large memory O.Sezer
2003-05-01 15:03 ` Thomas Backlund
2003-05-01 15:09   ` O.Sezer
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06 15:58 Walt H
2003-04-30 21:33 O.Sezer
2003-05-01 12:00 ` Thomas Backlund
2003-05-01 12:07   ` Alan Cox
2003-05-01 15:01     ` Thomas Backlund
2003-05-01 14:49       ` Alan Cox
2003-05-01 17:39         ` Thomas Backlund
2003-05-02  0:14         ` Thomas Backlund
2003-05-02 13:03           ` Willy Tarreau
2003-05-03 12:46             ` Thomas Backlund
2003-05-03 21:58               ` Willy Tarreau
2003-05-04  9:49               ` Willy TARREAU
2003-05-06  0:21                 ` Thomas Backlund
2003-04-30 18:58 O.Sezer
2003-04-30  8:09 Adam Mercer
2003-04-30 11:26 ` Alan Cox

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).