* geode problem
@ 2006-04-27 1:06 Jorge Luis Zapata Muga
2006-04-27 15:32 ` Antonino A. Daplas
2006-04-27 15:39 ` David Vrabel
0 siblings, 2 replies; 9+ messages in thread
From: Jorge Luis Zapata Muga @ 2006-04-27 1:06 UTC (permalink / raw)
To: linux-fbdev-devel
hi all,
i have a problem with the geodefb driver. my board is a GX1 (GXm?)
with a CS5530 chipset. the problem itself can be seen here:
http://room42.hisham.cc/~jl/files/gx1_sshot1.jpg
http://room42.hisham.cc/~jl/files/gx1_sshot2.jpg
http://room42.hisham.cc/~jl/files/gx1_sshot3.jpg
on the third picture, there should be a gradient on the middle of the
monitor, but theres only half of it.
i dont know exactly what is the source of the problem. i already had
several issues with this board and the fb. im trying to debug
comparing the registers of this driver with the old one (kernel 2.4,
wich correctly works, only a couple of scroll issues) and i dont see
any usefull difference. i fill up a FIXME on the driver where the
GP_BLT_STATUS register should be set (screen width and bpp mode), i
set it and then the "garbage window" of the above pictures was
"resized" to almost all the screen.
does someone has any idea about this kind of error? as a note, making
a few fbset + vt switch make the screen to display correctly, but
only once, i cant reproduce it again.
thanks for your help
regards,
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-27 1:06 geode problem Jorge Luis Zapata Muga
@ 2006-04-27 15:32 ` Antonino A. Daplas
[not found] ` <eb77d7060604271156n1c72fd90l19abd8a8e5da65da@mail.gmail.com>
2006-04-27 15:39 ` David Vrabel
1 sibling, 1 reply; 9+ messages in thread
From: Antonino A. Daplas @ 2006-04-27 15:32 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: jorgeluis.zapata
Jorge Luis Zapata Muga wrote:
> hi all,
> i have a problem with the geodefb driver. my board is a GX1 (GXm?)
> with a CS5530 chipset. the problem itself can be seen here:
> http://room42.hisham.cc/~jl/files/gx1_sshot1.jpg
> http://room42.hisham.cc/~jl/files/gx1_sshot2.jpg
> http://room42.hisham.cc/~jl/files/gx1_sshot3.jpg
>
> on the third picture, there should be a gradient on the middle of the
> monitor, but theres only half of it.
> i dont know exactly what is the source of the problem. i already had
> several issues with this board and the fb. im trying to debug
> comparing the registers of this driver with the old one (kernel 2.4,
> wich correctly works, only a couple of scroll issues) and i dont see
> any usefull difference. i fill up a FIXME on the driver where the
> GP_BLT_STATUS register should be set (screen width and bpp mode), i
> set it and then the "garbage window" of the above pictures was
> "resized" to almost all the screen.
>
> does someone has any idea about this kind of error? as a note, making
> a few fbset + vt switch make the screen to display correctly, but
> only once, i cant reproduce it again.
>
>
What does fbset -i in 2.4 and 2.6 say?
Tony
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-27 1:06 geode problem Jorge Luis Zapata Muga
2006-04-27 15:32 ` Antonino A. Daplas
@ 2006-04-27 15:39 ` David Vrabel
2006-04-27 19:00 ` Jorge Luis Zapata Muga
1 sibling, 1 reply; 9+ messages in thread
From: David Vrabel @ 2006-04-27 15:39 UTC (permalink / raw)
To: linux-fbdev-devel
Here's my previous response to Jorge for reference.
I would suspect there's something funny going on with the VGA emulation
going on the the VSA code in the BIOS. Perhaps have a look through the
2.4 driver and see if there's anything in there that disables the VSA
code/VGA emulation?
David Vrabel
--
David Vrabel, Design Engineer
Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-27 15:39 ` David Vrabel
@ 2006-04-27 19:00 ` Jorge Luis Zapata Muga
0 siblings, 0 replies; 9+ messages in thread
From: Jorge Luis Zapata Muga @ 2006-04-27 19:00 UTC (permalink / raw)
To: linux-fbdev-devel
On 4/27/06, David Vrabel <dvrabel@arcom.com> wrote:
> Here's my previous response to Jorge for reference.
>
> I would suspect there's something funny going on with the VGA emulation
> going on the the VSA code in the BIOS. Perhaps have a look through the
> 2.4 driver and see if there's anything in there that disables the VSA
> code/VGA emulation?
>
indeed, i agree with you. the upper "window" seems to be the vga
memory, if i scroll i can see what is "below" for a second. also
changing the crt registers for vga screen start address the green
pixels dissapear, i get black ones instead.
the problem is that on the 2.4 every place where is supposed to keep
the softvga silent doesnt seem to work.
> David Vrabel
> --
> David Vrabel, Design Engineer
>
> Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
> Cambridge CB1 7EA, UK Web: http://www.arcom.com/
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fbdev-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
[not found] ` <44515B69.8010303@gmail.com>
@ 2006-04-28 0:24 ` Jorge Luis Zapata Muga
2006-04-28 0:27 ` Antonino A. Daplas
0 siblings, 1 reply; 9+ messages in thread
From: Jorge Luis Zapata Muga @ 2006-04-28 0:24 UTC (permalink / raw)
To: Antonino A. Daplas; +Cc: linux-fbdev-devel
On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> Jorge Luis Zapata Muga wrote:
> > On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> >> Jorge Luis Zapata Muga wrote:
> >>> On 4/27/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> >>>> Jorge Luis Zapata Muga wrote:
> >>>
> >> Where are the timings?
> >
> > sorry! ok here they are:
> > 2.4:
> > mode "640x480-60"
> > # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
> > geometry 640 480 640 480 16
> > timings 39722 36 36 21 21 88 2
> > accel true
> > rgba 5/11,6/5,5/0,0/0
> > endmode
> >
> > 2.6:
> > mode "640x480-60"
> > # D: 25.200 MHz, H: 31.500 kHz, V: 60.001 Hz
> > geometry 640 480 640 480 16
> > timings 39682 48 16 33 10 96 2
> > rgba 5/11,6/5,5/0,0/0
> > endmode
> >
>
> Your timings for 2.4 and 2.6 are slightly different. Have you
> tried using the 2.4 timings with 2.6? Though they have the same
> refresh and resolutions, the horizontal and vertical porches and
> sync lengths are different, and VGA is very sensitive to these
> values.
>
> Add (or replace the entry with) this in /etc/fb.modes:
>
> mode "640x480-60"
> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
> geometry 640 480 640 480 16
> timings 39722 36 36 21 21 88 2
> endmode
>
> Then do an 'fbset 640x480-60'
it didnt work.
>
> Tony
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-28 0:24 ` Jorge Luis Zapata Muga
@ 2006-04-28 0:27 ` Antonino A. Daplas
2006-04-28 0:34 ` Jorge Luis Zapata Muga
0 siblings, 1 reply; 9+ messages in thread
From: Antonino A. Daplas @ 2006-04-28 0:27 UTC (permalink / raw)
To: Jorge Luis Zapata Muga; +Cc: linux-fbdev-devel
Jorge Luis Zapata Muga wrote:
> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>> Jorge Luis Zapata Muga wrote:
>>> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>>>> Jorge Luis Zapata Muga wrote:
>>>>> On 4/27/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>>>>>> Jorge Luis Zapata Muga wrote:
>>>> Where are the timings?
>>> sorry! ok here they are:
>>> 2.4:
>>> mode "640x480-60"
>>> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
>>> geometry 640 480 640 480 16
>>> timings 39722 36 36 21 21 88 2
>>> accel true
>>> rgba 5/11,6/5,5/0,0/0
>>> endmode
>>>
>>> 2.6:
>>> mode "640x480-60"
>>> # D: 25.200 MHz, H: 31.500 kHz, V: 60.001 Hz
>>> geometry 640 480 640 480 16
>>> timings 39682 48 16 33 10 96 2
>>> rgba 5/11,6/5,5/0,0/0
>>> endmode
>>>
>> Your timings for 2.4 and 2.6 are slightly different. Have you
>> tried using the 2.4 timings with 2.6? Though they have the same
>> refresh and resolutions, the horizontal and vertical porches and
>> sync lengths are different, and VGA is very sensitive to these
>> values.
>>
>> Add (or replace the entry with) this in /etc/fb.modes:
>>
>> mode "640x480-60"
>> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
>> geometry 640 480 640 480 16
>> timings 39722 36 36 21 21 88 2
>> endmode
>>
>> Then do an 'fbset 640x480-60'
>
> it didnt work.
Did the driver accept the new timings (do an fbset -i afterwards)?
I want to know before delving on the hardware internals...
Tony
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-28 0:27 ` Antonino A. Daplas
@ 2006-04-28 0:34 ` Jorge Luis Zapata Muga
2006-04-28 1:25 ` Jorge Luis Zapata Muga
0 siblings, 1 reply; 9+ messages in thread
From: Jorge Luis Zapata Muga @ 2006-04-28 0:34 UTC (permalink / raw)
To: Antonino A. Daplas; +Cc: linux-fbdev-devel
On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> Jorge Luis Zapata Muga wrote:
> > On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> >> Jorge Luis Zapata Muga wrote:
> >>> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> >>>> Jorge Luis Zapata Muga wrote:
> >>>>> On 4/27/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> >>>>>> Jorge Luis Zapata Muga wrote:
> >>>> Where are the timings?
> >>> sorry! ok here they are:
> >>> 2.4:
> >>> mode "640x480-60"
> >>> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
> >>> geometry 640 480 640 480 16
> >>> timings 39722 36 36 21 21 88 2
> >>> accel true
> >>> rgba 5/11,6/5,5/0,0/0
> >>> endmode
> >>>
> >>> 2.6:
> >>> mode "640x480-60"
> >>> # D: 25.200 MHz, H: 31.500 kHz, V: 60.001 Hz
> >>> geometry 640 480 640 480 16
> >>> timings 39682 48 16 33 10 96 2
> >>> rgba 5/11,6/5,5/0,0/0
> >>> endmode
> >>>
> >> Your timings for 2.4 and 2.6 are slightly different. Have you
> >> tried using the 2.4 timings with 2.6? Though they have the same
> >> refresh and resolutions, the horizontal and vertical porches and
> >> sync lengths are different, and VGA is very sensitive to these
> >> values.
> >>
> >> Add (or replace the entry with) this in /etc/fb.modes:
> >>
> >> mode "640x480-60"
> >> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
> >> geometry 640 480 640 480 16
> >> timings 39722 36 36 21 21 88 2
> >> endmode
> >>
> >> Then do an 'fbset 640x480-60'
> >
> > it didnt work.
>
> Did the driver accept the new timings (do an fbset -i afterwards)?
> I want to know before delving on the hardware internals...
yes it did, the fbset -i show up the same values as the mode on
fb.modes, just to note that after i set it the console switching had
errors (monitor off, switching to another console and then back fix
the problem)
>
> Tony
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-28 0:34 ` Jorge Luis Zapata Muga
@ 2006-04-28 1:25 ` Jorge Luis Zapata Muga
2006-04-28 7:04 ` Antonino A. Daplas
0 siblings, 1 reply; 9+ messages in thread
From: Jorge Luis Zapata Muga @ 2006-04-28 1:25 UTC (permalink / raw)
To: Antonino A. Daplas; +Cc: linux-fbdev-devel
On 4/28/06, Jorge Luis Zapata Muga <jorgeluis.zapata@gmail.com> wrote:
> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> > Jorge Luis Zapata Muga wrote:
> > > On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> > >> Jorge Luis Zapata Muga wrote:
> > >>> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> > >>>> Jorge Luis Zapata Muga wrote:
> > >>>>> On 4/27/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> > >>>>>> Jorge Luis Zapata Muga wrote:
> > >>>> Where are the timings?
> > >>> sorry! ok here they are:
> > >>> 2.4:
> > >>> mode "640x480-60"
> > >>> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
> > >>> geometry 640 480 640 480 16
> > >>> timings 39722 36 36 21 21 88 2
> > >>> accel true
> > >>> rgba 5/11,6/5,5/0,0/0
> > >>> endmode
> > >>>
> > >>> 2.6:
> > >>> mode "640x480-60"
> > >>> # D: 25.200 MHz, H: 31.500 kHz, V: 60.001 Hz
> > >>> geometry 640 480 640 480 16
> > >>> timings 39682 48 16 33 10 96 2
> > >>> rgba 5/11,6/5,5/0,0/0
> > >>> endmode
> > >>>
> > >> Your timings for 2.4 and 2.6 are slightly different. Have you
> > >> tried using the 2.4 timings with 2.6? Though they have the same
> > >> refresh and resolutions, the horizontal and vertical porches and
> > >> sync lengths are different, and VGA is very sensitive to these
> > >> values.
> > >>
> > >> Add (or replace the entry with) this in /etc/fb.modes:
> > >>
> > >> mode "640x480-60"
> > >> # D: 25.175 MHz, H: 31.469 kHz, V: 60.055 Hz
> > >> geometry 640 480 640 480 16
> > >> timings 39722 36 36 21 21 88 2
> > >> endmode
> > >>
> > >> Then do an 'fbset 640x480-60'
> > >
> > > it didnt work.
> >
> > Did the driver accept the new timings (do an fbset -i afterwards)?
> > I want to know before delving on the hardware internals...
>
> yes it did, the fbset -i show up the same values as the mode on
> fb.modes, just to note that after i set it the console switching had
> errors (monitor off, switching to another console and then back fix
> the problem)
>
it is working in some way,
1. change to other mode (like the one you sent), the monitor powers
off, so several console switches able again the screen
2. set the attribute 0x10 register to the value 0x01 (enable the graphics mode)
INB(0x3BA);
INB(0x3DA);
OUTB(0x3C0, 0x10);
OUTB(0x3C0, 0x01);
and it works correctly. this is an empiric solution and i dont know
what is the functional error,
maybe some theory might be helpfull.
PS. i suppose this register should be filled with the correct value
while writing the GX registers, maybe the VSA code i have is wrong,
just a guess ...
> >
> > Tony
> >
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: geode problem
2006-04-28 1:25 ` Jorge Luis Zapata Muga
@ 2006-04-28 7:04 ` Antonino A. Daplas
0 siblings, 0 replies; 9+ messages in thread
From: Antonino A. Daplas @ 2006-04-28 7:04 UTC (permalink / raw)
To: Jorge Luis Zapata Muga; +Cc: linux-fbdev-devel
Jorge Luis Zapata Muga wrote:
> On 4/28/06, Jorge Luis Zapata Muga <jorgeluis.zapata@gmail.com> wrote:
>> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>> > Jorge Luis Zapata Muga wrote:
>> > > On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>> > >> Jorge Luis Zapata Muga wrote:
>> > >>> On 4/28/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>> > >>>> Jorge Luis Zapata Muga wrote:
>> > >>>>> On 4/27/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
>> > >>>>>> Jorge Luis Zapata Muga wrote:
> it is working in some way,
> 1. change to other mode (like the one you sent), the monitor powers
> off, so several console switches able again the screen
> 2. set the attribute 0x10 register to the value 0x01 (enable the
> graphics mode)
> INB(0x3BA);
> INB(0x3DA);
> OUTB(0x3C0, 0x10);
> OUTB(0x3C0, 0x01);
> and it works correctly. this is an empiric solution and i dont know
> what is the functional error,
> maybe some theory might be helpfull.
>
> PS. i suppose this register should be filled with the correct value
> while writing the GX registers, maybe the VSA code i have is wrong,
> just a guess ...
>
Your workaround does sound very logical, practically all drivers that are
VGA-based set bit 1 of index 10 of the attribute register (I just examined
a few of them). I don't think that your hardware is an exception, so I
believe this is the right way to go.
Tony
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-04-28 7:04 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-27 1:06 geode problem Jorge Luis Zapata Muga
2006-04-27 15:32 ` Antonino A. Daplas
[not found] ` <eb77d7060604271156n1c72fd90l19abd8a8e5da65da@mail.gmail.com>
[not found] ` <44514E3B.5060601@gmail.com>
[not found] ` <eb77d7060604271610q62827dfdsf67db58231aeb347@mail.gmail.com>
[not found] ` <44515B69.8010303@gmail.com>
2006-04-28 0:24 ` Jorge Luis Zapata Muga
2006-04-28 0:27 ` Antonino A. Daplas
2006-04-28 0:34 ` Jorge Luis Zapata Muga
2006-04-28 1:25 ` Jorge Luis Zapata Muga
2006-04-28 7:04 ` Antonino A. Daplas
2006-04-27 15:39 ` David Vrabel
2006-04-27 19:00 ` Jorge Luis Zapata Muga
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).