Giter Site home page Giter Site logo

Comments (4)

learncodingforweb avatar learncodingforweb commented on July 20, 2024

resolved option. Step i followed

  1. Install Dietpi
  2. open sd card and edited config.txt by adding following
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1

from dietpi.

MichaIng avatar MichaIng commented on July 20, 2024

Jep, DietPi an RPi OS are fully config compatible. Just note that these hdmi_* settings work only with the legacy graphics driver, not with KMS enabled. So I do actually wonder that this works OOTB on RPi OS Bookworm, where KMS is enabled OOTB. Did you remove the dtoverlay=vc4-kms-v3d line there?

With KMS enabled, display resolution and rotation needs to be applied a differently: https://www.raspberrypi.com/documentation/computers/configuration.html#command-line-options

from dietpi.

learncodingforweb avatar learncodingforweb commented on July 20, 2024

I have not changed anything other than config.txt by adding

hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1

from dietpi.

MichaIng avatar MichaIng commented on July 20, 2024

Interesting: On RPi OS Bookworm these options are all legacy and should not have any effect anymore, at least unless you manually revert to legacy framebuffer graphics by removing dtoverlay=vc4-kms-v3d from your config.txt. Is this line really still present?

Furthermore, as you want to set the resolution for your desktop (?): These have their own display and resolution settings, while the hdmi_* and cmdline.txt KMS settings are for console mode resolution only. Of course they are the initial resolution for X sessions as well, but the X server and/or desktop environment can and usually do change it, at least when you used their display settings once 🤔.

However, good that you found a solution that works for you. I'll need to play with all of this anyway, to migrate our dietpi-config resolution options for new RPi kernel/firmware stack.

from dietpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.