User Tools

Site Tools


en:display_issues

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:display_issues [2018/06/07 14:54]
dindon
en:display_issues [2018/06/07 15:04] (current)
dindon
Line 12: Line 12:
 $ export DISPLAY=:​0.0 $ export DISPLAY=:​0.0
 $ xrandr $ xrandr
-</​code>​\\+</​code>​
 Search this section on xrandr :\\ Search this section on xrandr :\\
 <​code>​ <​code>​
Line 26: Line 26:
 </​code>​ </​code>​
 Here's the avaliable display resolution for your screen. This is an example with an old 4/3 screen, but this is the same.\\ Here's the avaliable display resolution for your screen. This is an example with an old 4/3 screen, but this is the same.\\
-Where is the "​*"​ is the actual resolution, I want to change it, so let's use the vi :\\+Where is the " * " is the actual resolution, I want to change it, so let's use the //vi// :\\
 <​code>​ <​code>​
 $ vi ~/.xinitrc $ vi ~/.xinitrc
Line 40: Line 40:
 <​code>​ <​code>​
 $ exec emulationstation --windowed $ exec emulationstation --windowed
 +</​code>​
 +Then reboot Emulstation :\\
 +<​code>​
 +$ /​etc/​init.d/​S31emulationstation stop
 +$ /​etc/​init.d/​S31emulationstation start
 </​code>​ </​code>​
 Batocera should be in full screen with the right resolution.\\ Batocera should be in full screen with the right resolution.\\
-__/!\__ BUT __/!\__ If you reboot the Batocera, you'll have to do this again, the resolution is forced just for this boot, next boot, resolution will be reset to the highest avaliable.\\ +**__/!\__ BUT __/!\__** If you reboot the Batocera, you'll have to do this again, the resolution is forced just for this boot, next boot, resolution will be reset to the highest avaliable.\\ 
-We need to force it everytime, at every boot. +We need to force it everytime, at every boot.\\ 
-If you+If you see the beginning of this tuto, we've copied the xinitrc file to a temporary folder.\\ 
 +But we need to erase the actual xinitrc with our modified file, this is the same as the first code, but in reverse :\\ 
 +<​code>​ 
 +$ cp ~/.xinitrc /​etc/​X11/​xinit/​xinitrc 
 +</​code>​ 
 +Now, reboot your Batocera, the display resolution should good.\\ 
 +But xrandr can do screen rotation too, very usefull for old arcade machines integration !\\ 
 +\\ 
 +Hope this was easy for all.\\
en/display_issues.txt · Last modified: 2018/06/07 15:04 by dindon