Reduce resolution on PC
-
Hello,
I am running the latest stable release of recalbox on a 7th generation Intel NUC x86 64bit. Recalbox is installed directly on the hard drive.
My issue is that I am using a 4k TV via HDMI and that is too much for my system to handle. I was going to edit the conf file and add hdmi_group=1 and hdmi_mode=16 to get a permanent 1080p resolution.
However, I cannot changed the conf file because it says the file system is read only. I have tried manually using nano over ssh on my Windows computer, but still no luck.
How can I scale back the resolution?
-
@beldar the edit you're trying to do is only for pi. We haven't yet set up a way to cha ge resolution on PC unless you dig this manually
-
Thank you for the quick response. So, there is currently no way for me to change the resolution or were you saying there is a way to do it manually? I'm not a linux expert, but I'm pretty good at following instructions if there is a way. Thanks again.
-
@beldar there is a way, of course. Just haven't searched. It's most probably toying around with xrandr and the xinitrc file. Rockaddicted may have pisted some infos regarding that. I can't be of much more help right now as i'm at work
-
This works for me as @SUBSTRING suggested editing xinitrc
Sources: https://wiki.archlinux.org/index.php/Xrandr
ssh into box, then do the following:
cp /etc/X11/xinit/xinitrc ~/.xinitrc
It will copy ~/.xinitrc to /recalbox/share/system (/recalbox/share/system/.xinitrc)
From there you can edit it with vi/nano from ssh, or use winscp/filezilla to edit /recalbox/share/system/.xinitrc
add this to the file: (1080p as an example)
xrandr -s 1920x1080Note if you intend to use nano you may need to export the environment variable first with:
export TERM=xterm
nano /recalbox/share/system/.xinitrcI have linked my working .xinitrc to force 720p:
-
@gnubit Thanks! I work all day today but I will follow your instructions tomorrow and see if I can get it working. I appreciate your time.
-
@gnubit i'd really love if you make a wiki page about this (if it's not existing yet, i losy the count ...)
-
@gnubit I ended up with a few minutes before work. Your instructions had my problem fixed within five minutes. Cheers!
-
@beldar said in Reduce resolution on PC:
@gnubit I ended up with a few minutes before work. Your instructions had my problem fixed within five minutes. Cheers!
Your`e most welcome, glad it worked for you
@substring said in Reduce resolution on PC:
@gnubit i'd really love if you make a wiki page about this (if it's not existing yet, i losy the count ...)
I would like to contribute (give back) since I enjoy recalbox so much, but I don`t know where to start. I do not think this topic exists in the wiki and think it should as it would help others. Could you point me in the right direction ? I am also quite happy for someone else to add it if they wish.
-
@gnubit please add en entry in the video section of https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
Name it like "x86: change display resolution". You need angithub accoubt to edit. The wiki uses the markdown syntax (as well as the forum), you can use the toolbar or read some tutorials on the net to get the syntax. I'll help if you need
-
-
@gnubit Thanks for the tutorial, but on my NUC7 i had to insert a "sleep 1" before the "xrandr -s 1920x1080" line to make it working.
Without "sleep" it fully started (you could hear the music and ssh access was possible) and the tv displayed the correct resolution but the screen was black.