Giter Site home page Giter Site logo

DVI compatibility about hdmi HOT 10 CLOSED

hdl-util avatar hdl-util commented on July 16, 2024
DVI compatibility

from hdmi.

Comments (10)

LMN128 avatar LMN128 commented on July 16, 2024 1

Hi Sameer, thanks a lot. Everything works well now. I tested another modes 17,18 and 19 too. If you want you can add it to your project. There are parameters:
17, 18:
begin
frame_width = 864;
frame_height = 625;
screen_width = 720;
screen_height = 576;
end
19:
begin
frame_width = 1980;
frame_height = 750;
screen_width = 1280;
screen_height = 720;
end
.....
17, 18:
begin
hsync <= ~(cx > 11 && cx <= 11 + 64);
vsync <= ~(cy < 5);
end
19:
begin
hsync <= cx > 439 && cx <= 439 + 40;
vsync <= cy < 5;
end

from hdmi.

sameer avatar sameer commented on July 16, 2024

from hdmi.

sameer avatar sameer commented on July 16, 2024

Hi Jan, please give the updated code a try when you have some time.

from hdmi.

LMN128 avatar LMN128 commented on July 16, 2024

Hi Sameer, I updated the code and unfortunately it still doesn't work with LG M1921TA monitor.

from hdmi.

LMN128 avatar LMN128 commented on July 16, 2024

Hi Sameer. I tried another monitor (Philips 190P6) with VIDEO_ID_CODE=1, DVI_OUTPUT =1, Pixel clock 25.175MHz (640x480 resolution). As LG M1921TA doesn't work as well.

from hdmi.

sameer avatar sameer commented on July 16, 2024

from hdmi.

sameer avatar sameer commented on July 16, 2024

Hi Jan, looks like I missed disabling the video guard band in DVI mode. I've pushed changes to fix that oversight.

I've checked that it works with an HDMI cable on an LG 4k monitor model # 24UD58-B. If it still doesn't work: are you using an HDMI to DVI adapter, or an HDMI cable directly?

from hdmi.

LMN128 avatar LMN128 commented on July 16, 2024

Hi Sameer, i use HDMI/DVI adapter or HDMI2DVI cable. I tested it again with fresh code related to disable video guard and still doesn't work. These monitors are rather older and have only DVI input.
But, i compared Mike's project with yours and i have noticed a difference in blanking coding in TDMS source code. I tried to change it and monitors start working. Check and try this please in your code

// See Section 5.4.2
wire [9:0] control_coding =
control_data == 2'b00 ? 10'b1101010100
: control_data == 2'b01 ? 10'b0010101011
: control_data == 2'b10 ? 10'b0101010100
: 10'b0101010100 ; (use this :10'b1010101011 instead of last value for control_data == 2'b11)

from hdmi.

sameer avatar sameer commented on July 16, 2024

You're right, I must've copied that line incorrectly from the HDMI spec. Thanks for catching this!

The 2'b11 mode is only active when hsync and vsync are high. Since you were using VIDEO_ID_CODE = 1, this happens quite a lot (whenever pixel y > 2 && !(15 < pixel x < 111)). I've been using VIDEO_ID_CODE = 3 where it happens much less often, so that might explain why you saw the issue and I didn't.

I'll check the rest of the codes against the spec to make sure there aren't any others I might've copied incorrectly.

from hdmi.

sameer avatar sameer commented on July 16, 2024

Cool, I'll add these.

from hdmi.

Related Issues (20)

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.