[beagleboard] problem with graphic accelerator and resolution

Hello,

I have a problem with beagleboard, i can't activate the graphic
drivers to use the accelerator.

I've tried with the angstrom image, it works great but the resolution
is locked on 640x480.

I have set the bootargs following the elinux.org/beagleboardbeginner
page, but the resolution is still 640x480, even by setting the
resolution to 1024x768 in bootargs.

When i try to make it directly under angstrom, a message say me that
the X-server is not functionning.

I've tried too to install ubuntu with the image pre-compiled from
elinux.org/beagleboardubuntu, (the minimal image), added the ubuntu-
desktop, but impossible to isntall the grapics driver.

I've made an other ubuntu image with XFCE but same problem, the
resolution is still 640x480, and impossible to install graphics
drivers.

The xorg.conf is not generated in /etc/X11.

My first ubuntu image was made with a LUCID, the second was made with
KARMIC.

Thanks in advance for your help.

Vincent

Hello,

I have a problem with beagleboard, i can't activate the graphic
drivers to use the accelerator.

I've tried with the angstrom image, it works great but the resolution
is locked on 640x480.

I have set the bootargs following the elinux.org/beagleboardbeginner
page, but the resolution is still 640x480, even by setting the
resolution to 1024x768 in bootargs.

When i try to make it directly under angstrom, a message say me that
the X-server is not functionning.

I've tried too to install ubuntu with the image pre-compiled from
elinux.org/beagleboardubuntu, (the minimal image), added the ubuntu-
desktop, but impossible to isntall the grapics driver.

I've made an other ubuntu image with XFCE but same problem, the
resolution is still 640x480, and impossible to install graphics
drivers.

Clear out your nand setting... With my demo images on rcn-ee.net the
boot.scr will set the resolution..

Uboot Prompt: nand erase 260000 20000

The xorg.conf is not generated in /etc/X11.

Lucid doesn't use xorg.conf's.. and the omapfb driver has been patched
for this...

Regards,

Should have mentioned this...

Can you please pastebin.com your boot log too.. So we can see what's
actually happening...

Regards,

Hello,

Thanks for your help.

I haven't succeed to obtain my log boot under ubuntu (i am pretty noob
to linux) but I have made a pastebin of my serial bootlog if it can
help you, and a pastebin of my dmesg command.

Here is the result displayed on my serial terminal when the board
boot:
http://pastebin.com/ppcsMRki

and here is the result displayed after a dmesg command:

http://pastebin.com/Kz1pQmJr

Thanks in advance for your help.

Regards,

Vincent

Hello,

Thanks for your help.

I haven't succeed to obtain my log boot under ubuntu (i am pretty noob
to linux) but I have made a pastebin of my serial bootlog if it can
help you, and a pastebin of my dmesg command.

Yeah the easyist is to use the cutecom package, which has a log
function builtin..

Here is the result displayed on my serial terminal when the board
boot:
http://pastebin.com/ppcsMRki

and here is the result displayed after a dmesg command:

http://pastebin.com/Kz1pQmJr

Both these pastebin's have the bootargs set only to serial mode..

[ 0.000000] Kernel command line: console=ttyS2,115200n8
root=/dev/mmcblk0p2 rw rootwait

for video, take a look at this reference:
http://elinux.org/BeagleBoardUbuntu#U-Boot_Boot_Scripts

your missing: console=tty0 vram=12M omapfb.mode=dvi:1280x720MR-16@60

Regards,

Thanks for your help.

I have advanced in my research today, one of my problem was........ my
hdmi to DVI adapter :-S

in 640x480, no problem, but if i change to 800x600, i have discovered
that the screen sometime succeed to display.

In fact, my adapter seem to be defect, and he can't go high in
frequency.

In 1024x768, impossible to obtain a display.

I've tried with a screen who accept directly the HDMI and no problem
in 1024x768.

I will try tomorrow with another adapter.

My second problem is now to install the SGX accelerator under ubuntu.
I am trying to follow the tuto on elinux/beagleboardubuntu, but i've
tried with the last TI SDK and it doesn't work, i am actually
downloading the previous version (3.01.00.02)

Is it difficult to do?

My final objective is to test openGL on beagle.

Thanks

Vincent

Actually I just got 3.01.00.06 to work yesterday afternoon. It's
still going to be atleast a week before i move that to 'stable' and
update the wiki... But here's the short version...

Install 2.6.34-d[l]5 on your beagle..

Karmic: http://rcn-ee.net/deb/karmic/v2.6.34-d5/install-me.sh
Lucid: http://rcn-ee.net/deb/lucid/v2.6.34-dl5/install-me.sh

(wget (one of above) and then "/bin/bash install-me.sh") reboot the
beagle etc...

Next on your x86: (sudo apt-get install bzr)

bzr branch lp:~beagleboard-kernel/+junk/2.6.34-devel
cd 2.6.34-devel

create dl directory and copy the 3.01.00.06 download there..

Then run "./create_sgx_package.sh" (in the future this will be a
simple download from rcn-ee.net so you won't have to go into bzr to
get it..)

Two tar files will be created in the deploy directory (copy them both
to the beagle)

(on beagle) first extract : GFX_3.01.00.06_libs.tar.gz

tar xf GFX_3.01.00.06_libs.tar.gz

then run:

"./install-SGX.sh" (sets up libraries and init script)

then run

"./run-SGX.sh" (this just runs the init script, should run with no errors..)

Demo's are in the other archive.. i usually test with "OGLESChameleonMan"

cd OGLES/SDKPackage/Binaries/CommonX11/Demos/ChameleonMan
./OGLESChameleonMan

Let me know if any issues pop up, like i said, just got this working
yesterday on my Bx beagle running lucid..

Regards,

How can I choose which one of video outputs (DVI or S-Video) will be
rendered?
I guess it has something to do with "omapfb.mode=dvi:1280x720MR-16@60"

Thanks
Meereck

You shouldn't hijack a thread...

Sorry i don't have an S-video tv...

When you figure it out, update : http://elinux.org/BeagleBoardUbuntu#S-Video

Regards,

Thanks, i'm trying this.

The downloads are in progress :wink:

I'm givinig some news here after.

Regards,

Vincent

Hello,

thank you very much, it works perfectly.

I've only noted 2 mistakes, the first, i haven't mkimage installed on
my beagleboard, so if you make a tuto, you can add for the beginners
like me:
#sudo apt-get install uboot-mkimage
before installing the new kernell

And the deploy folder must be manually created (#mkdir deploy) (or
I've perhpas made a mistake with this folder?)

The last error i've made is to use a space in the install folder name
(i've called it "SXG Driver", and the script seem to not accept
spaces.)

After that, it's functionning greatly.

Thanks.

Best regards

Vincent

Hi, I am sorry, I didnt mean to steal the thread.
I considered it as a follow-up instead.
Some info can be found http://code.google.com/p/beagleboard/wiki/LinuxHints
I will post the results once I have tested it.