omapfb stuck on 640x480-32

318 views
Skip to first unread message

AJ

unread,
Apr 24, 2009, 4:46:37 PM4/24/09
to Beagle Board

Hi all,

I've followed the howto's on building/installing the SGX drivers but
am having a problem configuring the omapfb to do a 16bpp mode. The
display comes up with the Angstrom logo and login screen but the
omapfb is at 640x480-32. Here's some info

I followed the steps in:
http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom

root@beagleboard:~# cat /proc/version
Linux version 2.6.29-omap1 (ani@luxor) (gcc version 4.3.1 (GCC) ) #1
Wed Apr 22 19:58:36 PDT 2009

root@beagleboard:~# cat /proc/cmdline
console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
omapfb:video_mode=1280x768MR-16@60

root@beagleboard:~# cat /proc/pvr/version
Version 1.3.13.1397 (release) /home/ani/oe/tmp/work/beagleboard-
angstrom-linux-gnueabi/omap3-sgx-modules-1.3.13.1397-r30/oma7
System Version String: SGX revision = 1.2.1

root@beagleboard:~# cat /proc/fb
0 omapfb
1
2

root@beagleboard:~# opkg info libgles-omap3
Package: libgles-omap3
Version: 3.00.00.06-r7.1
Depends: update-rc.d, libc6 (>= 2.6.1), libx11-6 (>= 1.1.5), libgcc1
(>= 4.3.1)
Recommends: libgles-omap3-tests, omap3-sgx-modules
Status: install user installed
Architecture: armv7a
Installed-Time: 1240437149

root@beagleboard:~# fbset

mode "640x480-59"
# D: 23.500 MHz, H: 29.375 kHz, V: 59.464 Hz
geometry 640 480 640 480 32
timings 42553 48 80 3 7 32 4
accel false
rgba 8/16,8/8,8/0,0/0
endmode

root@beagleboard:~# dmesg | grep PVR
[ 77.785461] PVRSRV_PIXEL_FORMAT_RGB888

root@beagleboard:~# gl2info
egl error 'EGL_NOT_INITIALIZED' (0x3001)


Any ideas?

Thanks,
AJ

Koen Kooi

unread,
Apr 24, 2009, 4:48:58 PM4/24/09
to beagl...@googlegroups.com

Op 24 apr 2009, om 22:46 heeft AJ het volgende geschreven:

>
>
> Hi all,
>
> I've followed the howto's on building/installing the SGX drivers but
> am having a problem configuring the omapfb to do a 16bpp mode. The
> display comes up with the Angstrom logo and login screen but the
> omapfb is at 640x480-32. Here's some info
>
> I followed the steps in:
> http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom
>
> root@beagleboard:~# cat /proc/version
> Linux version 2.6.29-omap1 (ani@luxor) (gcc version 4.3.1 (GCC) ) #1
> Wed Apr 22 19:58:36 PDT 2009
>
> root@beagleboard:~# cat /proc/cmdline
> console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
> omapfb:video_mode=1280x768MR-16@60

Change that to omapfb.mode=dvi:1280x768MR-16@60

PGP.sig

Wolfgang Engel

unread,
Apr 24, 2009, 4:54:54 PM4/24/09
to beagl...@googlegroups.com
> rootwait
> omapfb:video_mode=1280x768MR-16@60

This is wrong. Try omapfb. instead of :

- Wolf

Sent from my iPhone

AJ

unread,
Apr 24, 2009, 5:34:04 PM4/24/09
to Beagle Board
I will try that, thank you!

I will suggest to the author of the SGX HowTo to add that "dvi:"
option to the page, that seems like it should be rather important.
> PGP.sig
> < 1KViewDownload

Brett Kuehner

unread,
Apr 24, 2009, 6:03:02 PM4/24/09
to beagl...@googlegroups.com, Beagle Board
At 05:34 PM 4/24/2009, AJ wrote:

>I will try that, thank you!
>
>I will suggest to the author of the SGX HowTo to add that "dvi:"
>option to the page, that seems like it should be rather important.

Also note that Koen's email said that you need to change
"omapfb:video_mode" to "omapfb.mode" (the parameter name has changed
over different kernel versions). I wasn't sure if you noticed that or
not, but the DSS/DSS2 parameters really confused me for a while until
I figured out the correct ones for the kernel I was using.

Brett

>On Apr 24, 1:48 pm, Koen Kooi <k...@beagleboard.org> wrote:
> > Op 24 apr 2009, om 22:46 heeft AJ het volgende geschreven:
> >
> >
> >
> >
> >
> > > Hi all,
> >
> > > I've followed the howto's on building/installing the SGX drivers but
> > > am having a problem configuring the omapfb to do a 16bpp mode. The
> > > display comes up with the Angstrom logo and login screen but the
> > > omapfb is at 640x480-32. Here's some info
> >
> > > I followed the steps in:
> > >http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom
> >
> > > root@beagleboard:~# cat /proc/version
> > > Linux version 2.6.29-omap1 (ani@luxor) (gcc version 4.3.1 (GCC) ) #1
> > > Wed Apr 22 19:58:36 PDT 2009
> >
> > > root@beagleboard:~# cat /proc/cmdline
> > > console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
> > > omapfb:video_mode=1280x768MR-16@60
> >
> > Change that to omapfb.mode=dvi:1280x768MR-16@60
> >
> > PGP.sig
> > < 1KViewDownload
>

--
Brett Kuehner
b...@pobox.com
http://www.bvk.nu

AJ

unread,
Apr 25, 2009, 1:58:47 PM4/25/09
to Beagle Board
Yes, I'll make sure to use "." and not ":", thanks for pointing that
out. I agree, there's some confusion going on about that options
parameter delimiter. I believe I tried "." and I got an error from
the kernel something to the nature of "unrecognized option omapfb.blah
blah...". I'm unfortunately away from my beagle board now so I'll
have to verify the new tips tomorrow.

Thanks again!
Reply all
Reply to author
Forward
0 new messages