Coder Social home page Coder Social logo

hdr-10bpp-display-test's Introduction

HDR-10bpp-Display-Test

This is a simple test to verify the HDR 4K display on Linux using a color depth of 10 bits per channel. The test requires an HDR 4K display and a Linux environment with the X server installed.

Getting Started

Prerequisites

To run the test, you will need the following software installed on your system:

  • X server
  • Python 3
  • GTK 3
  • ImageJ (for displaying images with a 10-bit color depth)
  • ImageIO (for reading image files)

You can install these packages on Ubuntu or Debian-based systems by running the following command:

sudo apt-get install xserver-xorg python3 python3-gi python3-gi-cairo gir1.2-gtk-3.0 imagej

Installing

To install ImageIO, you can use pip:

pip3 install imageio

Running the test

To run the test, follow these steps:

  1. Clone the repository:
git clone https://github.com/yourusername/HDR-10bpp-Display-Test.git
  1. Navigate to the project directory:
cd HDR-10bpp-Display-Test
  1. Stop the display manager and X server:
sudo systemctl stop lightdm || sudo systemctl stop gdm
sudo pkill Xorg
  1. Start the X server with a color depth of 30:
startx -- -depth 30
  1. If the X server was started successfully, the output of the following command should indicate a depth of 30:
xwininfo -root | grep Depth
  1. Launch the viewer application:
python3 Viewer.py
python3 Viewer3.py # video support
  1. The viewer window will open. To display an image, run the following command:
imagej --no-splash /path/to/image
  1. The image should be displayed in the viewer window. Verify that the image is displayed correctly and that the colors are accurate.

Troubleshooting

If the X server does not start with a color depth of 30, try starting it with a color depth of 24:

startx -- -depth 24

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

hdr-10bpp-display-test's People

Contributors

antoinebou12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jk5500

hdr-10bpp-display-test's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.