element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry pi shows weird colours
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 11 replies
  • Answers 5 answers
  • Subscribers 677 subscribers
  • Views 3737 views
  • Users 0 members are here
Related

Raspberry pi shows weird colours

chejon
chejon over 8 years ago

Hi, I bought this monitor to my pi 2: https://www.aliexpress.com/store/product/9-7-Inch-2048x1536-IPS-2K-Retina-Displayer-Screen-LCD-Module-Acrylic-Case-HMDI-Portable-Raspberry/1196030_32674549776.html

 

But it doesn´t work correctly. Look here: https://www.pixeltopic.com/image/rgxrhzqzqgfwmj/?size=full

I´ve tried to change the resolution in config.txt to 2048x1536, but it only makes it even smaller image

 

Does anyone have any tips on how to fix it?

  • Sign in to reply
  • Cancel
Parents
  • royleith
    0 royleith over 8 years ago

    You can only set the desktop resolution to pre-set modes. The closest I could find for your screen is,

     

    hdmi_group=2 ............................................(DMT)

    hdmi_mode=84 ..........................................(2048x1152 Reduced blanking)

     

    This would only fill part of the screen and the icons and text would be very small.

     

    You can see the complete set at,

     

    RPiconfig - eLinux.org

     

    Since the screen is quite small and you want to use it with the Raspi Desktop I suggest you use one of the 1080p modes such as

    sdtv_mode=2 .............................................(PAL as used in Europe)

    hdmi_group=1 ............................................(CEA)

    hdmi_mode=16 ..........................................(1080p 60 Hz)

     

    Since it is intended for the Raspi, XBox and PS4, I would expect the screen to auto-configure to any of the broadcast standards. However, because it is intended for the American market, it may not respond to European modes. You might try the 'Which values are valid for my monitor?' section on the eLinux web page.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • chejon
    0 chejon over 8 years ago in reply to royleith

    I've tried with hdmi_group = 2 and hdmi_mode = 84th.

    But it looks too weird. I hoped it would just be black at the bottom, but the picture just repeats itself, just like before.

     

    I just want to fill the whole screen. The resolution don´t have to be 2048*1536.

    Is it possible to choose another 4:3 resolution, like 1600x1200 or 1024x768, and upscale it to fill the entire screen?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • royleith
    0 royleith over 8 years ago in reply to chejon

    As I said, the display should auto-configure to a range of resolutions. What about,

    hdmi_mode=73 .................................................  1920x1440  60 Hz

    hdmi_mode=62 ...................................................1792x1344 60 Hz

    as well as the modes you listed.

     

    However it is best not to guess at the supported modes. Have you tried the mode test?

     

    Which values are valid for my monitor?

    Your HDMI monitor may support only a limited set of formats. To find out which formats are supported, use the following method.

     

    Set the output format to VGA 60 Hz (hdmi_group=1 hdmi_mode=1) and boot up the Raspberry Pi

    Enter the following command to give a list of CEA supported modes

    /opt/vc/bin/tvservice -m CEA

    Enter the following command to give a list of DMT supported modes

    /opt/vc/bin/tvservice -m DMT

    Enter the following command to show your current state

    /opt/vc/bin/tvservice -s

    Enter the following commands to dump more detailed information from your monitor

    /opt/vc/bin/tvservice -d edid.dat

    /opt/vc/bin/edidparser edid.dat

    Of course, the hdmi_mode=1 may not work so try some others until you can, at least, read the text on the screen.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • chejon
    0 chejon over 8 years ago in reply to royleith

    Thanks! I will test it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • chejon
    0 chejon over 8 years ago in reply to royleith

    Ok, here´s what I got: https://www.pixeltopic.com/image/stdbtxfwncvswba/?size=full

    It just says: 640x480 60hz, so what does that mean?

     

    Then I tested with hdmi_mode 84; 2048x1152

    And it got a lot better: https://www.pixeltopic.com/image/hykhlemkpyusbjg/?size=full

     

    But it´s still problem at the bottom, I´ve tried with overscan_bottom, but nothing happens?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • royleith
    0 royleith over 8 years ago in reply to chejon

    C J wrote:

     

    Ok, here´s what I got: https://www.pixeltopic.com/image/stdbtxfwncvswba/?size=full

    It just says: 640x480 60hz, so what does that mean?

     

    Then I tested with hdmi_mode 84; 2048x1152

    And it got a lot better: https://www.pixeltopic.com/image/hykhlemkpyusbjg/?size=full

     

    But it´s still problem at the bottom, I´ve tried with overscan_bottom, but nothing happens?

    It means that the screen responds to modes in Group 1 and Group 2, but only reports the current display mode. When displaying 640x480 @ 60Hz it puts the display top-left and fills the rest of the display with garbage data rather than doing resolution conversion. This is not a good sign.

     

    Testing with hdmi_mode 84; 2048x1152 shows that it will work with higher resolution modes in Group 2, but that it does not do resolution conversion at the mode chosen. However, that is not a 5:4 mode.

    Now try it with the following Group 2 modes,

     

    hdmi_mode=73 .................................................  1920x1440 60 Hz

    hdmi_mode=62 ...................................................1792x1344 60 Hz

    hdmi_mode=51 .......................................................................1600x1200    60 Hz

    hdmi_mode=42 .......................................................................1400x1050    60 Hz

    hdmi_mode=32 .......................................................................1280x960      60 Hz

    hdmi_mode=16 .......................................................................1024x768      60 Hz

     

    and see if any of them fill the screen. I doubt whether any monitor not intended as a computer screen will do resolution conversion for the old VGA modes. There is a much better chance at these higher resolution. Even though the screen is small, its high vertical resolution should make it usable at 1920x1440 so try that, first.

     

    The overscan modes only affect where the desktop appears in the display area. If you set overscan top, left, right, and bottom, you will just get a blank frame around the desktop. In your  2048x1152 example, that would happen around the main image and also around the lower, truncated image. Overscan does not drive the monitor: it just changes how much of the monitor display area is used for the Desktop.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rew
    0 rew over 8 years ago in reply to royleith

    It is really annoying that you cannot specify what resolution you really want. We started out like that with harddisks. You just had to specify type 1,2 3 or 4, not the hard stuff with cylinders and heads. That's when they made a few new harddrives and the table of drives got bigger and bigger until finally they got smart and gave us a screen where you could put in the numbers from your actual drive.

     

    The same thing happened with screens and resolutions. In the beginning you had a few modes you could chose from and you'd chose the best one for your monitor. But eventually the number of modes and monitors became too large so that you had to use a  standard resolution from a table or design your own given the numbers from the manual of your monitor.

     

    Nowadays the monitor can electronically pass on the mode it wants through VGA or HDMI. The pi is "oldfashioned" in that it uses a list of possible modes and you HAVE to chose from those modes.... "back to the eighties". :-(

     

    Your monitor has a "weird" resolution that is not common. So there is no ready-made resolution for your monitor.

     

    With your monitor having so many pixels you might also run into a limitation of the hardware of the pi. There are just so many pixels that the pi can put out each second. 1920 x 1080 x 24bits x 60fps = 373Mbyte per second is something the pi can do for sure, but if the pi can handle the 566Mbyte per second that your display requires at 60FPS, I'm not entirely sure....

     

    (and with the architecture of the pi, the CPU and the display share the bandwidth to the memory. So if you start using 600 Mbyte per second of bandwidth for the display, the CPU might start noticing the reduction in available bandwidth).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 8 years ago in reply to rew

    Roger Wolff wrote:

     

    ...

     

    Nowadays the monitor can electronically pass on the mode it wants through VGA or HDMI. The pi is "oldfashioned" in that it uses a list of possible modes and you HAVE to chose from those modes.... "back to the eighties". :-(

     

    ...

     

    If you look here:

    RPiconfig - eLinux.org

    it suggests that the R-Pi does try to read the EDID data from the display and also gives you options to over-ride it:

     

    " hdmi_ignore_edid Enables the ignoring of EDID/display data if your display doesn't have an accurate EDID."


    and also to read it from a local EDID file, so as you could create your own if necessary.

     

    " hdmi_edid_file when set to 1, will read the edid data from the edid.dat file instead of from the monitor. "

     

    As has previously been suggested, there are also tools to verify the EDID data being captured by the R-Pi:

     

    "Enter the following commands to dump more detailed information from your monitor

    /opt/vc/bin/tvservice -d edid.dat

    /opt/vc/bin/edidparser edid.dat"

     

    Perhaps if the OP could post the output of that parsed EDID capture than it may help shed some light on the issue and to see if the EDID lists 2048x1536 as the preferred resolution and how the R-Pi scores it.

     

    As for a previous comment about being restricted to the preset modes there also appears to be a custom CVT mode option:

    https://www.raspberrypi.org/documentation/configuration/config-txt.md

    which allows you to set up a custom CVT and access as a custom preset as:

    group 2 mode 87

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • chejon
    0 chejon over 8 years ago in reply to beacon_dave

    Thanks!! It works now. I made a custom CVT with group 2 and mode 87 and typed in the right resolution and hdmi_ignore_edid=0xa5000080

     

    Thank you all for your replies image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mmcphail
    0 mmcphail over 8 years ago in reply to chejon

    maybe a little off topic but what version of HDMI does the pi even support, 2k res might not be doable? someone hopefully knows more then me on this one

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 8 years ago in reply to mmcphail

    Searching for something...

    https://www.raspberrypi.org/forums/viewtopic.php?t=24679

    it seems that "custom modes" have been supported since 2012.... Good stuff.... :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • rew
    0 rew over 8 years ago in reply to mmcphail

    Searching for something...

    https://www.raspberrypi.org/forums/viewtopic.php?t=24679

    it seems that "custom modes" have been supported since 2012.... Good stuff.... :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube