Skip to content

Instantly share code, notes, and snippets.

@Langerz82
Created January 1, 2025 07:39
Show Gist options
  • Save Langerz82/b10c7bda6376bcfd75f97715a587a6b5 to your computer and use it in GitHub Desktop.
Save Langerz82/b10c7bda6376bcfd75f97715a587a6b5 to your computer and use it in GitHub Desktop.
linux setres Amlogic-ne bypass
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2022-present Joshua L (https://github.com/Langerz82)
# Read the video output mode and set it for emuelec to avoid video flicking.
# This file sets the hdmi output and frame buffer to the argument in pixel width.
# Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels.
# set -x #echo on
# Source predefined functions and variables
. /etc/profile
[[ "${EE_DEVICE}" == "Amlogic-ne" ]] && exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment