-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant get screen working on amlogic s905x #132
Comments
Displaying is done only on the first connector found by default, so you probably get df_andi displaying on your composite video connector. With multiple connectors, setting connected-outputs=multihead in /etc/directfbrc allows to select which connector to use: in this case it is necessary to use dfbinfo from DirectFB-tools to list the primary layer ids. This is the principle, but a few months have passed since the last time I tested this kind of configuration. |
Thank you but its not working. root@DeviceLink:~# df_andi
|
Yes, it is necessary to also set a resolution supported by the connector when connected-outputs=multihead is set (if the default resolution with the first connector is not supported by the other connectors). This should be improved as a correct mode could be determined automatically. To select the HDMI connector here, I would say that /etc/directfbrc contains for example:
Do you have df_andi displayed on your composite video connector with the default configuration? |
i cant test composite display i dont have the cable,but the hdmi work for sure with splash-drm, i dont think its hardware problem. i concern with "(!) *** ONCE [no mode found for 1280x720 at 0 Hz", and "!) DRMKMS/Layer: drmModeSetCrtc( crtc_id 42, fb_id 46, xy 0,0, connector_id 34, mode 720x576@50Hz ) failed at index 1!" which is connector id 34, crtc id 42 are belong to hdmi. here are the output : root@DeviceLink:~# df_andi
|
its work properly with this configuration system=drmkms not working with 1366x768 nor 1920x1080 |
im create quick patch at here,the code not clean but its work just like i want, with this patch just need to set primary-layer to corresponding connector and set mode with widthxheight@vrefresh, in this case : primary-layer=1 |
It's great that you can run DirectFB2 on your platform! |
Arch:ARM64
OS:Openwrt
im trying to get working on HDMI screen, i get blank screen,even set the mode manual via /etc/directfbrc not working.the SOC board have 2 connectors,composite video & HDMI. another test using psplash ported to DRM psplash-drm working succesfully. here are directFB-examples output :
root@DeviceLink:~# df_andi
The text was updated successfully, but these errors were encountered: