07-07-2018, 05:16 PM
(This post was last modified: 07-07-2018, 05:45 PM by ab1jx.
Edit Reason: forgot to subscribe
)
I think the problem is at a lower level than Linux, maybe something in the GPU firmware. I'm having trouble with:
Linux version 4.4.126-rockchip-ayufan-239 (root@b57dd544ff03) (gcc version 7.2.0 (Ubuntu/Linaro 7.2.0-6ubuntu1) ) #1 SMP Sun May 27 18:38:24 UTC 2018
I'm trying to run on a 13 inch Axess TV that has a physical resolution of 1366x768. It's running in 1920x1080 mode, both by the monitor and xrandr. I can sort of read it with a magnifying glass but the menu, system tray, etc. are off screen in LXDE. It affects both text mode and X so it's not just X(org). I was playing with it last night and I could make some changes at least using xrandr, too soon to know if any of them are useful. I doubt it.
Last night I tried xorg -configure and it didn't see the monitor at all. This is about 5 years old, has an EDID that doesn't work with a Raspberry Pi either. But on those you can manually choose a video mode by setting an HDMI or CVT mode in your /boot/config.txt. We don't have that on the Rock and Pine, yet anyway.
I've pretty sure the way it works is that the GPU sets up a frame buffer somewhere in Mali land then the console and X write into it. But the GPU is in control of the output size, I'm not sure what we can do to talk to it. fbset says:
Acceleration is working, I get 180 and 150 fps from glxgears and es2gears. Can't read it but it's fast.
When I try to set 1024x768-60 mode with fbset I get "FBIOPUT_VSCREENINFO: Invalid argument". Looks like that's from an ioctl. But fbset is ancient by arm standards, I'm not surprised it doesn't work.
Linux version 4.4.126-rockchip-ayufan-239 (root@b57dd544ff03) (gcc version 7.2.0 (Ubuntu/Linaro 7.2.0-6ubuntu1) ) #1 SMP Sun May 27 18:38:24 UTC 2018
I'm trying to run on a 13 inch Axess TV that has a physical resolution of 1366x768. It's running in 1920x1080 mode, both by the monitor and xrandr. I can sort of read it with a magnifying glass but the menu, system tray, etc. are off screen in LXDE. It affects both text mode and X so it's not just X(org). I was playing with it last night and I could make some changes at least using xrandr, too soon to know if any of them are useful. I doubt it.
Last night I tried xorg -configure and it didn't see the monitor at all. This is about 5 years old, has an EDID that doesn't work with a Raspberry Pi either. But on those you can manually choose a video mode by setting an HDMI or CVT mode in your /boot/config.txt. We don't have that on the Rock and Pine, yet anyway.
I've pretty sure the way it works is that the GPU sets up a frame buffer somewhere in Mali land then the console and X write into it. But the GPU is in control of the output size, I'm not sure what we can do to talk to it. fbset says:
Code:
mode "1920x1080"
geometry 1920 1080 1920 1080 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode
Acceleration is working, I get 180 and 150 fps from glxgears and es2gears. Can't read it but it's fast.
When I try to set 1024x768-60 mode with fbset I get "FBIOPUT_VSCREENINFO: Invalid argument". Looks like that's from an ioctl. But fbset is ancient by arm standards, I'm not surprised it doesn't work.