*help* several errors made. Is my SD image trashed?
-
Ok, this is my first build and I am new to Linux and Pi. All was going well. Loaded all my roms, got sselhp scraper working, messed with themes and was playing all my childhood favorites, great. I got a new case with a fan played with some overclock settings, still fine. Last night I shutdown the Pi3 and today I would only get a black screen on the console on the TV. I could still login via SSH Putty so i tried to launch ES and would get nothing. I tried to launch startx and got a series of errors. Im a few trouble shooting steps down the line but I will try to recall the steps taken and errors received. I had been seeing an error about my games list xml start and end tags not matching but everything worked apart from the metadata not loading on nes and n64. I was going to try to fix that today but was getting the black screen I mentioned.
I first was getting:(EE) parse_vt_settings: Cannot open /dev/tty0 (permission denied)
I did this:
sudo apt-get install xserver-xorg-legacy
I got this error:
Only console users are allowed to run the X serverSo I did this:
sudo usermod -a -G tty pi
And this:
sudo useradd -G tty pi;logout
Now I get this:
Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian Current Operating System: Linux retropie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty3 root=PARTUUID=5728b712-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 quiet logo.nologo consoleblank=0 plymouth.enable=0 quiet splash plymouth.ignore-serial-consoles Build Date: 11 November 2016 11:59:59AM xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) Current version of pixman: 0.33.3 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 8 23:03:32 2017 (==) Using system config directory "/usr/share/X11/xorg.conf.d" modprobe: FATAL: Module g2d_23 not found. FATAL: Module g2d_23 not found.
and it will not move passed this and I still get no signal to the TV.
Sorry, I know I'm missing many details that would help ID the issue but I am new to this and not sure what you would need.
Any ideas?
Thanks for looking. -
@irregulator The main thing that jumps out at me is that you are trying to launch
X
, ie the Desktop environment via SSH. This is not going to ever work. Secure shell will not display the desktop. -
@irregulator Ignore that final part regarding trying to launch x via SSH, those are normal errors and seems to be distracting from the real issue. The problem is your lack of HDMI output / display. Post the contents of your
/boot/config.txt
file. -
Thanks for the reply, I was trying to get the desktop or ES to launch on the tv not the ssh on the PC. I was able to initiate ES on the tv output from the PC before. I was hoping it would get me around the black screen.
# For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details audio_out_rate=44100 arm_freq=1300 gpu_freq=525 core_freq=525 sdram_freq=525 over_voltage=6 v3d_freq=525 force_turbo=1 avoid_pwm_pll=1 # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable the lirc-rpi module #dtoverlay=lirc-rpi # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on gpu_mem_256=128 gpu_mem_512=256 gpu_mem_1024=512 overscan_scale=1
-
@irregulator said in *help* several errors made. Is my SD image trashed?:
# uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1
First thing to do is remove the hash here so it says.
hdmi_safe=1
then reboot. You should hopefully get a picture on your tv.
-
@irRegulator If that doesn't work I would recommend removing all your overclock settings, reboot and see what happens. Where on earth did you get these settings from?
-
@jonnykesh
Thank you so much for helping me out. I will report back my findings. I think i found those settings on a N64 optimization writeup. Do they look a little wonky? -
Ok, sweet, we auto-booted into ES and i have HDMI out. Super low-res now, however. As in SD output, i think i have it locked @720p though? Any thoughts? I owe you a sandwich @jonnykesh.
-
got it
hdmi_mode=82 1080p 60Hz
fixed
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.