I was flashing different firmware (MMC; Ubuntu only) for my Firefly-RK3288. I was trying to set up native (800 x 480) resolution, but no success.
1. Ubuntu-14.04_201512031755 (unmodified or with mainline kernel, no difference)
With this version I could see the desktop, but could not set resolution.
1.1 "xrandr" just could not set it. I was making all the steps described in here: https://wiki.ubuntu.com/X/Config ... etected_resolutions
was constantly getting error "Failed to get size of gamma". I have ignored that message and when I was trying to set resolution to 800 x 480 screen was blinking and returned to 1680x1050.
1.2 was trying to modify xorg.conf, also without success. Maybe I just do not know the right parameters to put in. New resolutions just does not appears in widget.
2. Ubuntu_16.04_201608291523_beta
several days ago I flashed this image and another problem arised. Both displays shows nothing. Nor HDMI, nor VGA are working.
I am more interested in this (or newer) build because of improvements, so I will be happy if you can help me with setting the displays up under this firmware.
I can see the desktop if I connect Firefly to 19" display (that support FullHD), both VGA and HDMI are working, two FullHD monitors are supported. Ok, now I leave VGA cable connected to 19" display, and connect HDMI cable to my small 800x480 display. Result: small display shows nothing, big one is still working fine. If "Monitor" widget in Ubuntu was opened, it will crush and will not start again.
Any solution of this? Can anyone advise me on how to get image on my small displays with correct resolution?
Author: isle Time: 9/18/2016 10:46
Hi
try this : https://drive.google.com/open?id=0B7HO8lbGgAqARVZsOTNJVkxrakUAuthor: Alexander Time: 9/18/2016 18:37
Thank you, isle!
This build working fine with VGA output. DIsplay with VGA input was detected and correct resolution (800 x 480) was set automatically. What are the steps to make it work? Would be nice to know.
HDMI is not working
glmark2 score is 213. Author: isle Time: 9/19/2016 10:17
Hi
Only connet the HDMI .and try this cmd to see what did you get :
cat /var/log/Xorg.0.logAuthor: Alexander Time: 9/20/2016 01:52
Ok, I have followed the behavior using SSH.
When I do connect HDMI display "on the go" (after OS is loaded) I got this log:
<script src="//pastebin.com/embed_js/4xvuZhSP"></script>
If I boot up OS while HDMI is already connected, I am getting this one:
<script src="//pastebin.com/embed_js/D88iHatD"></script>
In both cases, display shows nothing.Author: isle Time: 9/20/2016 09:44
Hi
the log is missing.Author: Alexander Time: 9/20/2016 17:22
Hello, I was checking the links above and it was active...
Ok. I will try to insert logs here.
When I do connect HDMI display "on the go" (after OS is loaded) I got this log:
[ 7.879]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 7.879] X Protocol Version 11, Revision 0
[ 7.879] Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu
[ 7.879] Current Operating System: Linux firefly 3.14.0 #129 SMP Mon Jun 6 15:15:00 CST 2016 armv7l
Author: isle Time: 9/21/2016 14:17
we haven't see the Modeline 800X480Author: Alexander Time: 9/21/2016 15:30
Yes, but how can i fix it? If I connect same display via VGA, Modeline 800x480 is present and display is working with native resolution. The largest problem is that display, if connected via HDMI, shows absolutely nothing.Author: isle Time: 9/22/2016 09:19
Have you tested on another firefly board?Author: Alexander Time: 9/22/2016 19:17
Unfortunately, I have only 1 firefly board. HDMI was working with another firmware, just could not set correct resolution. Do you think HDMI input is damaged somehow now? I will try to flash older firmware to test the behavior today evening and will post the result.Author: Alexander Time: 9/24/2016 05:04
I have flashed firmware "Firefly-RK3288_MainlineKernel-Ubuntu14.04_201503191033". In this case HDMI is working, but I am not able to set correct (800 x 480) resolution. Here is Xorg.0.log:
[ 10.539]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 10.539] X Protocol Version 11, Revision 0
[ 10.539] Build Operating System: Linux 3.2.0-60-highbank armv7l Ubuntu
[ 10.539] Current Operating System: Linux firefly 4.0.0-rc1+ #58 SMP Wed Mar 18 17:40:36 CST 2015 armv7l
[ 10.897] (II) AIGLX: Screen 0 is not DRI2 capable
[ 10.898] (EE) AIGLX: reverting to software rendering
[ 10.899] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[ 10.899] (EE) GLX: could not load software renderer
[ 10.899] (II) GLX: no usable GL providers found for screen 0
[ 10.979] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[ 10.994] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/platform/display-subsystem/drm/card0
[ 10.994] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[ 10.996] (II) config/udev: Adding input device Mini Keyboard (/dev/input/event2)
[ 10.996] (**) Mini Keyboard: Applying InputClass "evdev keyboard catchall"
[ 10.996] (II) LoadModule: "evdev"
[ 10.997] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 11.015] (II) Module evdev: vendor="X.Org Foundation"
[ 11.016] compiled for 1.15.1, module version = 2.9.1
[ 11.016] Module class: X.Org XInput Driver
[ 11.016] ABI class: X.Org XInput driver, version 20.0
[ 11.016] (II) Using input driver 'evdev' for ' Mini Keyboard'
[ 11.016] (**) Mini Keyboard: always reports core events
[ 11.016] (**) evdev: Mini Keyboard: Device: "/dev/input/event2"
[ 11.016] (--) evdev: Mini Keyboard: Vendor 0x1997 Product 0x2433
[ 11.016] (--) evdev: Mini Keyboard: Found keys
[ 11.016] (II) evdev: Mini Keyboard: Configuring as keyboard
[ 11.016] (**) evdev: Mini Keyboard: YAxisMapping: buttons 4 and 5
In this firmware HDMI output could be set to correct resolution using xrandr. VGA was set to resolution 800x480 by default, so no need for me to change it. Dual display is not working. If you were using HDMI during boot up, you will have to reboot to be able to use VGA. Opposite is the same... if is using VGA during boot up, you would have to reboot if you plan to use HDMI at some point.Author: isle Time: 9/26/2016 10:55
hi :
your HDMI monitor haven't support 800X480 . so the dual display can't work.
the two monitor must have the same resolutionAuthor: Alexander Time: 9/27/2016 04:36
It is same monitor, It has a module with several inputs, including HDMI and VGA. Also, when I connect it via VGA i can see boot messages, but when it is connected via HDMI, screen remains black until desktop is showing up.
Well, at least I can set right values for each mode separately. Thats good. Thank you! Can you, please, explain me how why it was not working on previous firmwires? What exactly have you changed? Will this firmware work with older kernel (where WiFi is functional)?Author: isle Time: 9/27/2016 10:11
Hi
we used the kernel 3.14 instead of 3.10. because the front one use the DRM display driver.
and then update the ubuntu to 16.04 .
if you want change the kernel , pls get this one : https://github.com/T-Firefly/firefly-3.14-kernel/commits/master
the wifi problem has been solved. Author: Alexander Time: 9/27/2016 15:50
Thank you very much! If that are the only changes, I will try to play around the kernel to fix the rest problems.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)