Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Add a custom display mode "5" #201

Closed
NicoHood opened this issue Jul 5, 2014 · 11 comments
Closed

Add a custom display mode "5" #201

NicoHood opened this issue Jul 5, 2014 · 11 comments

Comments

@NicoHood
Copy link

NicoHood commented Jul 5, 2014

It would be great if you add a custom display mode nr "5" with the users display settings.
For example my display only works with a very special dvi mode and 50hz. Otherwise the screen is just swammi.

Maybe you can realize this as a special rpiconfig global command option, so you can enable overlocking for all os for example. Or you can just let the user choose the hdmi mode, drive, group and similar options. Then you dont need to set every option for every os.

@lurch
Copy link
Collaborator

lurch commented Jul 5, 2014

So does the "HDMI safe mode" of 640x480 @ 60Hz not work with your display? From what I understood, that's supposed to be supported by every HDMI/DVI display?

With regards to "globally editing" config.txt for all the OSes, would #165 tick that box for you?

@NicoHood
Copy link
Author

NicoHood commented Jul 5, 2014

it does, but its not sharp. I need exactly this setting for sharp fullhd (my monitor doesnt support other stuff, dont ask why, the suppport couldnt help me too):
#Acer TV DVI CEA
hdmi_group=1
hdmi_mode=31
hdmi_drive=1

It would be cool if you could add your own setting here. Otherwise i always have to search the config.txt for every system

@lurch
Copy link
Collaborator

lurch commented Jul 6, 2014

it does, but its not sharp.

It doesn't matter if the NOOBS display isn't "sharp fullhd" - it's only used for the initial installation of distros. Closing this bug, and deferring the second part to #165

@lurch lurch closed this as completed Jul 6, 2014
@NicoHood
Copy link
Author

NicoHood commented Feb 5, 2016

I'd like to reopen this issue.

I tried noobs again and i could get a sharp display almost working via tvservice -e "CEA 16 DVI". I can patch this myself in the corresponding source files as mode 5 or whatever. But could you please give me a hint how to disable overscan? There is no config.txt, where you'd normally set those settings. Any ideas how to do that?

@procount
Copy link
Contributor

procount commented Feb 5, 2016

Just create your own config.txt file with disable_overscan=1 in it. You can also set your own HDMI_MODE and GROUP settings to suit your TV. I had to do this for my HDMIPI. Then you don't need to patch the source files.

@NicoHood
Copy link
Author

NicoHood commented Feb 5, 2016

thx for the note. I was thinking of this, but the file system is read only and has no more space. I guess I have to manually rebuild noobs then with this extra file?

Would it also be possible to boot another os from raspbian for example (like we are doing with noobs, just with a full debian image)? Then we have some more freedom to boot other distributions. Maybe stored in files or whatever, so we can resize/store them better?

@procount
Copy link
Contributor

procount commented Feb 5, 2016

You don't need to rebuild NOOBS just for the config.txt file!
Just mount /dev/mmdblk0p1 read/write and copy config.txt to it. If that partition is full then you'll have to expand it. Maybe next time you write NOOBS to your card you should also write a dummy file to it of a few MB to reserve some space. Then when you run out of space you can just delete it.

Re: booting from Raspbian - I guess so, but I don't see the point myself. I have enough freedom within NOOBS, but feel free to continue as you wish.

@NicoHood
Copy link
Author

NicoHood commented Feb 5, 2016

As mentioned here I cannot mount the partition on my other linux OS:
#288 (comment)

I am just wondering how to boot another OS from raspbian. I mean in which files do i have to look to make this work too under raspbian. Its hard to find information on that. Maybe I can just use it better under raspbian. But I will also try to modify noobs a bit.

@procount
Copy link
Contributor

procount commented Feb 5, 2016

I don't know why you can't mount it. Is it already mounted read-only? In which case try:
sudo mount -o remount,rw /dev/sdc1 /mnt
Normally the type can be read automatically, especially if it is FAT

@NicoHood
Copy link
Author

NicoHood commented Feb 6, 2016

No I just get mount: you must specify the filesystem type.

I tried to mount it from the raspi with the booted raspbian and there i can mount the first partition. and lsblk also sees all other partitions as well. So i guess there is something wrong with my elementary os (ubuntu 14.04)?

Is there a way to ask questions to you directly? Like irc or tox?
You can find my ID on www.nicohood.de

@lurch
Copy link
Collaborator

lurch commented Feb 6, 2016

Ahh, maybe you're suffering from #262 then?

If you're trying to understand how the multi-boot feature of NOOBS works, have a look at https://github.com/raspberrypi/noobs/search?q=setRebootPartition&type=Code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants