Here's a troubling problem: If I change the resolution on my pi for a specific monitor (1280x1024) the buffer resolution won't change. Edit: I don't want to set the resolution specifically in config.txt because I want to use different monitors. If there was a simple way to set the resolution based on an if-then with the EDID information, I'd love to hear it.
Here's the long story:
I'm using an HDMI-VGA adapter that otherwise works perfectly (for other monitors, bigger and smaller), but the monitor I'm using is 1280x1024 with a "preferred" mode of 1280x720. There is no native resolution listed, according to tvservice.
I can change the resolution with tvservice, and the screen goes black (according to some threads, if x11-xserver-utils is installed the screen should autorefresh, but it doesn't for me). I can do: fbset -depth 8 && fbset -depth 16, which refreshes the terminal but I still have to move stuff around the screen to refresh. The framebuffer size is mis-matched, but centered.
If I do not do the fbset commands, I can ctrl-alt-backspace to go to the log-in screen. The resolution IS 1280x1024, but the screen is actually 1196x668 with black borders according to fbset. I can manually try to set the framebuffer by doing:
fbset -g 1280 1024 1280 1024 8
fbset -g 1280 1024 1280 1024 16
Both of which sometimes
freeze the system, but always turn the screen black (and cannot be returned from via fbset) If I do:
fbset 1280x1024-60 > /home/pi/Desktop/log.txt
The screen turns black, I cannot set the fb depth to return to the terminal, but I can read on reboot:
Code: Select all
#D: 107.991 MHz, H: 63.976 kHz, V: 60.015 Hz
geometry 1280 1024 1280 1024 8
timings 9260 248 48 38 1 112 3
rgba 8/0, 8/0, 8/0, 0/0
The actual framebuffer size differs from what tvservice is reporting, because I can do fbset -i and receive:
Code: Select all
geometry 1184 624 1184 624 16
timings 0 0 0 0 0 0 0
Frame buffer device information:
Name : BCM2708 FB
Address : 0x3da92000
Size : 1477632
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 2368
Accelerator : No
I almost finished my post before I found that if I open up Minecraft Pi, the surface is actually drawn partially off-screen, even though the window is centered on the desktop.
P.s. I really, really
wish there was a gui for this stuff. I guess there was one before, but it was always broken. Even a gui that just prepares the commands from menus and executes them (the mode/group, depth, and refresh).
That's the screensaver. From viewtopic.php?t=57552
Download the latest xscreensaver from https://www.jwz.org/xscreensaver/
, compile with ./configure, make, make install and then "In the [Display Mode] tab, set like this - Mode: [Disable Screen Saver]". The old version in the Pi repository nags you on start-up that it is out of date, but works (it's insecure according to the developer).
Hi, I have a 6 inch display with a resolution of 2560x1440 and mini-HDMI input.
I've tried many different settings on config.txt but I just can't get any image.
The Raspberry PI shouldn't support 2560x1440. The HDMI standard according to viewtopic.php?t=83446&f=91
is 1.3a, and 1.3a does not do 2560x1440.
However, when I tried different configs, I've gotten results from a blank screen, to flashing on and off, or even flickering with the wrong colors.
There is the HDMI overdrive setting in the config, which provides more power to the HDMI port (the highest value is 7 I think). The Pi3 is also picky about the voltage, from what I've read it prefers at least 5.1V, not 5V or lower. Any normal supply I used (all 2.1A or higher) gave the undervoltage warning, and only with a pi-specific 2.5A supply "CanaKit 5V 2.5A" did the warning stop. I did not have any issues on the other supplies except the flashing rainbow square. If I enabled OpenGL, the pi crashes on the portable supplies, if not the wired ones too. All of the supplies worked for the Pi 2B without any rainbow square or problems. Some posts say you can disable wifi and bluetooth to save some power.
One of the official supplies is https://thepihut.com/collections/raspbe ... wer-supply
. I thought I had the official supply but I was mistaken. The official supply is 5.1V.