Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hsize/hoffset/voffset don't work #100

Open
MisterXYZ83 opened this issue Feb 11, 2024 · 7 comments
Open

Hsize/hoffset/voffset don't work #100

MisterXYZ83 opened this issue Feb 11, 2024 · 7 comments

Comments

@MisterXYZ83
Copy link

Hello @antonioginer
thanks for your work! i want to use it on my Ubuntu arcade machine.
I'm trying to calibrate the modeline in order to have a correct size on CRT; i'm using the python script and grid tool.
Unfortunately, changing hsize and h/v offsets seems to have any effect :'(

I have a Radeon HD 6450; it works fine with the modeline generated for 320x240@60, my CRT is in synch.

I don't know If there is something i'm doing wrong with that tools.
Next days i can check if the vga signal is really changing with my oscilloscope on synch signals.

Thanks

@substring
Copy link
Collaborator

Hi,

Are you running this on X, Wayland, or KMS ? X should work, not Wayland. For KMS you'd need a patched kernel

@MisterXYZ83
Copy link
Author

@substring thanks for your help!

i'm running a Xubuntu on my pc, it runs with X11 session and i'm pretty sure KMS is disabled; i've checked the radeon module parameter "modeset".... but i'm not sure if it is the definitive way to check that.

@substring
Copy link
Collaborator

You can't use KMS when running X. KMS is on a tty only with nothing running elsewhere (no X, no wayland)

@MisterXYZ83
Copy link
Author

ok sorry for my ignorance :)
so the script should work if i launch it from a terminal in my X11 session?

@substring
Copy link
Collaborator

I think so, always used it on a try though

@MisterXYZ83
Copy link
Author

i will give a try tomorrow probing sync signal with my oscilloscope to see if there are any variations...but i'm pretty sure the image wasn't changing 😞
i will use different modeline (one of a real arcade game) instead of basic 320x240@60 and see if something change.
i will keep you updated

@MisterXYZ83
Copy link
Author

Hello,
i've tried using switchres with a manual resolution (like 310x210@60) and works fine.
Changing the number of lines the grid (210 for my crt) the grid falls vertically in the monitor with any overscan, but the horizontal size never change, no shrink or enlarge.

The python script changes only the geometry paramters (vshift/hshift and hsize) but that have not effect in my case :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants