Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Framebuffer resolution issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sun Sep 27, 2020 12:32 pm    Post subject: Framebuffer resolution issue Reply with quote

Hello,

I have a strange issue while using framebuffer.

Up to now, I was using following resolution : D:1280x768p-59

but after a system reboot without any change (nor system update, screen change, ...) this resolution is now not available :
Code:
torchwood ~ # cat /sys/class/graphics/fb1/modes
U:720x480p-60
D:1920x1080p-50
D:1280x720p-50
D:1920x1080i-50
D:1920x1080i-60
D:720x576p-50
V:1280x1024p-75
V:1024x768p-70
V:1024x768p-60
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-75
V:640x480p-72
V:640x480p-60
D:800x480p-60

and now
Code:
torchwood ~ # echo D:1280x768p-59 > /sys/class/graphics/fb1/mode
bash: echo: erreur d'écriture : Argument invalide


Why this mode disappeared ?

Thanks

Laurent
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46756
Location: 56N 3W

PostPosted: Sun Sep 27, 2020 9:45 pm    Post subject: Reply with quote

destroyedlolo,

What framebuffer driver were you using.
Has it changed?

Which framebuffer driver is in use?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Sun Sep 27, 2020 11:02 pm    Post subject: Reply with quote

Hello,

the kernel is configured for SUNXI_HDMI.

A found a way to cheat a bit, by enabling scaller using : https://github.com/hglm/a10disp

So
Code:
./a10disp --screen 1 rescale 1366 768 1280 720

"scalls" to custom resolution I'm looking for.
The only issue is the kernel is still reporting 1280 720 but it's better than nothing.

[edit] hum, I'm not so sure it will work, because as the kernel is still reporting 1280x720, I think it will be also the size of mapped memory, no ? Will try tomorrow ...[/edit]

Anyway, it doesn't explain why 1280x768 is not anymore available.

Best regards,

Laurent
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46756
Location: 56N 3W

PostPosted: Mon Sep 28, 2020 10:13 am    Post subject: Reply with quote

destroyedlolo,

SUNXI_HDMI?

Is this an arm SoC ?

VESA FB can only use the resolutions programmed into the Video BIOS.
The others read the EDID data from the display and choose the first resolution on the list. That's supposed to be the panel native resolution.

We need to know the actual driver in use.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 760
Location: Close to Annecy (France)

PostPosted: Mon Sep 28, 2020 12:00 pm    Post subject: Reply with quote

Yes, It's an A20 driven BananaPI.

It has 2 output configured :

  • the native 3.5'' panel on LVDS for which I have no issue.
  • another one connected thru HDMI


About driver, how can I check that ?
It isn't SunXI's ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46756
Location: 56N 3W

PostPosted: Mon Sep 28, 2020 12:04 pm    Post subject: Reply with quote

destroyedlolo,

The driver will be in dmesg.
Pastebin the whole thing if you can't spot it.

There may be several, so check for a framebuffer handover in dmesg too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46756
Location: 56N 3W

PostPosted: Mon Sep 28, 2020 12:05 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Gentoo on ARM.

So that the arm peeps are more likely to spot it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum