X11 on Wandboard Dual

This forum is for supported devices using an ARMv7 Freescale SoC.

X11 on Wandboard Dual

Postby graffitici » Mon Jul 14, 2014 11:08 pm

Hi,

I did a fresh install of Arch on my Wandboard Dual. Everything works as expected, and now I want to install X11 on it. I followed the tutorial on the Arch Wiki, and install xorg-server, twm, and other packages. When I run startx, the screen goes completely blank, and stays that way until I kill X. I'm using the fbdev driver, but I'm not sure if this is the right one.

Does anyone have any experience setting up X11 on the Wandboard?

Thanks!
graffitici
 
Posts: 8
Joined: Mon Apr 07, 2014 7:21 pm

Re: X11 on Wandboard Dual

Postby pepedog » Tue Jul 15, 2014 7:05 am

Which Window Manager (WM) did you choose? My preference is lxde and would try starting with xinit /usr/bin/lxsession
Did you install xorg-xinit?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: X11 on Wandboard Dual

Postby graffitici » Tue Jul 15, 2014 1:51 pm

Thanks for the reply! I'm trying to keep things simple and use twm for now. I did install xorg-xinit, and am trying to launch the WM using startx. But this error is independent of the WM used, right? Would it make a difference if I installed LXDE?

Thanks!
graffitici
 
Posts: 8
Joined: Mon Apr 07, 2014 7:21 pm

Re: X11 on Wandboard Dual

Postby Yenal » Wed Jul 16, 2014 6:56 pm

What is Xorg.log telling? Is the monitor you're using connected via real HDMI? (DVI-HDMI is buggy) Did you create a xorg.conf?

I'm using vivante-driver linked to fbdev (gpu-viv-bin-mx6q-fb) with i3wm, this config and starting via .xinitrc on Wandboard Quad without problems...

$this->bbcode_second_pass_code('', '/etc/X11/xorg.conf.d/20-fbdev.conf
Section "Device"
Identifier "i.MX Accelerated Framebuffer Device"
Driver "fbdev"
Option "UseFBDev" "true"
Option "fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection

Section "Monitor"
Identifier "Display0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "i.MX Accelerated Framebuffer Device"
Monitor "Display0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1920x1080"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0"
EndSection

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Section "DRI"
Mode 0666
EndSection')

imho is shouldnt be the twm but you can try lxde, xfce4 or i3wm (last has fewest dependencies)
Yenal
 
Posts: 18
Joined: Wed Jan 29, 2014 6:31 pm

Re: X11 on Wandboard Dual

Postby graffitici » Wed Jul 16, 2014 9:44 pm

Great points, Yenal! I think you raised some very good concerns:

I posted the Xorg log file here:
http://pastebin.com/CsD9ubmH

I didn't see anything out of the ordinary (no errors..). But perhaps some experienced can..?

I am using a HDMI-to-VGA adapter to connect the board to my screen. Is this the buggy part? Has this been tried before?

Also, I have a Wandboard Dual. I looked for the Dual version of the driver gpu-viv-bin-mx6q-fb, but I guess there is none. Aren't the Vivante GPU cores the same across the Wandboard versions? Do you think it will be fine for me to use the same driver?

Thanks a lot for the answer!
graffitici
 
Posts: 8
Joined: Mon Apr 07, 2014 7:21 pm

Re: X11 on Wandboard Dual

Postby pepedog » Wed Jul 16, 2014 10:28 pm

Is xf86-video-fbdev installed?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: X11 on Wandboard Dual

Postby graffitici » Wed Jul 16, 2014 10:35 pm

Yep, I have that installed. The weird thing is, when I run `startx`, I would normally get an X11 error, and would be brought back to the console. Now, I get a black screen instead. I can still go to the other tty's. Odd..
graffitici
 
Posts: 8
Joined: Mon Apr 07, 2014 7:21 pm

Re: X11 on Wandboard Dual

Postby Yenal » Sat Jul 26, 2014 9:52 am

sry I've been extremely busy lately... there is only one oem driver for all versions (binary blob from freescale) - so far I cant see any clues in the log, but I guess HDMI-VGA could be the reason, are you able to try the board with a real hdmi monitor/tv?

Seeing a console on the monitor is quite a good sign, maybe just some xserver tweaks are necessary to get Xorg started...but yet I have no real idea :/

what's in your /boot/uEnv.txt?
my looks like:
$this->bbcode_second_pass_code('', 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16 mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M consoleblank=0
console=tty1')
#everything after bpp=16 shouldnt be necessary
Yenal
 
Posts: 18
Joined: Wed Jan 29, 2014 6:31 pm

Re: X11 on Wandboard Dual

Postby graffitici » Mon Aug 11, 2014 10:58 pm

Hi Yenal,

Sorry for the late post as well. I've also been caught up with some work-related stuff...

Great catch on setting the uEnv.txt (I didn't have one set up before). Sadly, that didn't fix it though. I'm now wondering whether it would be easier to work backwards from a working image. Are you aware of any vanilla Arch images for the Wandboard, that have a working X set up? Did you build your image yourself from scratch?

Thanks!
graffitici
 
Posts: 8
Joined: Mon Apr 07, 2014 7:21 pm


Return to Freescale

Who is online

Users browsing this forum: No registered users and 8 guests