PcDuinoV2 hdmi - blank screen

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

PcDuinoV2 hdmi - blank screen

Postby Pavel » Mon Oct 20, 2014 3:09 pm

Hi folks,

Maybe you could point me a way I could find any solution to solve issue.

Issue: no video output on hdmi connected monitor. First it shows no DVI input (I use DVI <> HDMI converter) then it blacks, seems signal is there now, but image still empty.

Workaround: I have preinstalled LInaro dist on nand, it work fine, I have clone it on SD card no problems too. As my desktop system is archlinux & I love this product & was up to install it according this guide (2 days ago) : http://archlinuxarm.org/platforms/armv7 ... er/pcduino

Seems bootloader & system ok, it loads as when I attempt in blind mode type root/root & pacman -Syu my net's led starts pulse & network work, when I type reboot or poweroff it shut downs - so system load & works correct, one issue it hasn't video output.

I started checking some workaround concerns with drivers & kernel modules:

I attempted according http://learn.linksprite.com/pcduino/a10 ... machine/to download hw_pack from pcduino git & copy modules to /usr/lib/modules dir

One note, at begin when kernel was first time installed there wasn't any monitor signal & my monitor displayed message - no input, when I added modules to load in /etc/modules-load.d/ (all modules that linaro has & that article too) lcd, hdmi, mali, mali_drm, disp & others, it started send signal but no image - only blank screen.

So then I back original modules from http://archlinuxarm.org/platforms/armv7 ... er/pcduino according compiled kernel
& it's still blank.

Then I was able to get image - I replaced kernel from this silte (latest) with linaro kernel, but my bootloader & rootfs are from archlinux's arm site, so - first there was tux on top of screen & the same blank screen, after system is loaded I had seen the login shell to archlinux, though kernel was from linaro I still was able to log in & with journalctl check logs, As I wrote there was my log about system upgrate - pacman -Syu & it was successfull, I check logs & it says all modules were loaded (hdmi, lcd, mali, mali_drm, disp)

So seems issue not related to hardware but to some kernel subsystem(module) or maybe it fails with DVI <>HDMI connector? But seems linaro able do it without any problems with arch rootfs


When I swap kernel back - the same issue - blank screen.



I will attemp to get log & attach from my sd card to post, though maybe you have any ideas what could be wrong?


Thanks in advance
Pavel
 
Posts: 7
Joined: Mon Oct 20, 2014 2:38 pm

Re: PcDuinoV2 hdmi - blank screen

Postby WarheadsSE » Mon Oct 20, 2014 4:31 pm

We don't ship with the Allwinner HDMI enabled @boot. This is something we've mentioned numerous times.

Enable the modules. (No, I will not re-post the listing)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PcDuinoV2 hdmi - blank screen

Postby Pavel » Mon Oct 20, 2014 6:02 pm

> We don't ship with the Allwinner HDMI enabled @boot

Yes, but as I said I had enabled it & it wasn't work.

I was able to solve issue by myself 15 minutes ago, for those who comes here from search engine here is what my problem was & how to fix it, also here is some debug methods (as I hadn't any terminal & UART wire to debug it)

Problem was in wrong modules loading order, as I tried to search all about pcduino & arch arm I found nothing.

$this->bbcode_second_pass_quote('', 'n')ote: first time I installed arch I copy pasted module's loading conf from linaro rootfs evironment & there it has another order


Here is good post to check: viewtopic.php?f=33&t=6413&start=90#p38612

my /etc/modules-load.d/mali.conf :


$this->bbcode_second_pass_code('', 'lcd
disp
disp_ump
ump
hdmi
fbcon

mali
drm
mali_drm')

If you faced with problem try use for search not device name but architecture (armv7 A10) & your hardware (mali 400)

Here is good article how to up hardware acceleration under Xorg : viewtopic.php?f=33&t=5979


Debug


A few points that helped me to debug:

1. Don't touch nand partions in order to be able restore your device without additional tools

2. If you have installed arch on SD & it has blank screen there a few solutions how to fix it without UART:

a) swap on SD /boot partition uImage with linaro uImage (preinstalled ubuntu kernel, located on /nanda partition), it will alow you to run graphic mode with arch rootfs environment, check logs with journalctl & install & config drivers/modules/other packages

b) load system with blank screen, wait a while. then type root/root & you should be log in'ed then by default if your net card is up you could connect pcduino to PC/switch & access it via ssh (sshd by default is up on arch arm linux)

to check whether your device in net & what's ip it has use e.g.: nmap -v -sn 192.168.0.0/16 10.0.0.0/8 | less



Don't sure what's exactly needed to start display graphic but there packages I have installed:

$this->bbcode_second_pass_code('', '
mesa-libgl
xf86-video-fbturbo-git
')

Also I have put systemd custom service to change driver's nodes permissions at boot according viewtopic.php?f=33&t=5979

$this->bbcode_second_pass_code('', '# enabling mali.service via systemctl
echo '[Unit]
Description=reachable /dev/ump and /dev/mali

[Service]
Type=oneshot
ExecStart=/usr/bin/chmod 666 /dev/ump
ExecStart=/usr/bin/chmod 666 /dev/mali
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target'>/etc/systemd/system/mali.service
systemctl enable mali.service
systemctl start mali.service')

Problem is solved, please mark ticket as resolved/closed

Thanks for your work
Pavel
 
Posts: 7
Joined: Mon Oct 20, 2014 2:38 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 16 guests