Im officially stumped. I have connected my Pi4 to my PC via USB to USB-C for OTG connection. Whenever I boot with the normal PSU to the USB-C port on the Pi4, everything boots correctly (display and all) but whenever I connect the Pi4 to the PC target, I get the rainbow screen and then nothing. If I boot HDMI_safe=1 in config.txt, it boots up connected to the PC just fine.

Any ideas?

My config.txt:

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border

# uncomment to force a console size. By default it will be display's size minus
# overscan.

# uncomment if hdmi display is not detected and composite is being output

# uncomment to force a specific HDMI mode (this will force VGA)

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display

# uncomment for composite PAL

#uncomment to overclock the arm. 700 MHz is the default.

# Uncomment some or all of these to enable the optional hardware interfaces

# Uncomment this to enable infrared communication.

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)

# Enable DRM VC4 V3D driver on top of the dispmanx display stack


note I disabled the vc4-fkms-v3d overlay because with it enabled I never got the rainbow or splash screen. Also note that on occasion, unplugging the usb hub (to which my mouse and keyboard are connected) would result in the display working and desktop environment all loaded up. Plugging the hub back in would cause everything to go black. Does it have something to do with the dwc2 overlay?

Thanks in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.