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

new net_graph is broken on 1080p res with net_graphproportionalfont 0 #546

Closed
vitalpulse opened this issue Oct 25, 2024 · 15 comments
Closed
Labels
Cannot Fix TF2 Issue This issue occurs in the default hud, and therefore cannot be related to the custom hud.

Comments

@vitalpulse
Copy link

20241026010436_1

@vitalpulse
Copy link
Author

same issue persists with cl_showfps 1

20241026010644_1

@rbjaxter
Copy link
Owner

net_graph & cl_showfps share a font entry, but only one can be proportionally controlled. even with net_graphproportionalfont 0, the behavior of net_graph is strange now. basically nothing can be done until either the TF team fixes it or someone figures out how their newly introduced values are supposed to be used

@Wheretf2
Copy link

Just to add, appears the same applies to cl_showpos 1

@vitalpulse
Copy link
Author

net_graph & cl_showfps share a font entry, but only one can be proportionally controlled. even with net_graphproportionalfont 0, the behavior of net_graph is strange now. basically nothing can be done until either the TF team fixes it or someone figures out how their newly introduced values are supposed to be used

sucks to hear that, classic valve trying to fix something while breaking the other

@rbjaxter rbjaxter added Cannot Fix TF2 Issue This issue occurs in the default hud, and therefore cannot be related to the custom hud. labels Nov 2, 2024
@qkeitoe
Copy link
Contributor

qkeitoe commented Nov 19, 2024

I have no issues with net_graph, cl_showpos, or cl_showfps on 1080p using this setup:
https://github.com/qkeitoe/budhud/blob/2e3bb9da3b149e4133b84cad627966c13bb1bae5/%23users/custom/resource/sourcescheme.res#L5-L17
Screenshot (92)

@Liubik
Copy link

Liubik commented Nov 19, 2024

can confirm, I am having the same issue.
Using latest budhud release, Arch Linux.

@Wheretf2
Copy link

I have no issues with net_graph, cl_showpos, or cl_showfps on 1080p using this setup: https://github.com/qkeitoe/budhud/blob/2e3bb9da3b149e4133b84cad627966c13bb1bae5/%23users/custom/resource/sourcescheme.res#L5-L17 Screenshot (92)

Using your sourcescheme.res resolved the issue for me
Thank you

@rbjaxter
Copy link
Owner

I have no issues with net_graph, cl_showpos, or cl_showfps on 1080p using this setup: https://github.com/qkeitoe/budhud/blob/2e3bb9da3b149e4133b84cad627966c13bb1bae5/%23users/custom/resource/sourcescheme.res#L5-L17 Screenshot (92)

This does work for 1920x1080, but on on the higher dpi resolutions unfortunately. I don't actually think there's a way to really have it work for both it seems

@qkeitoe
Copy link
Contributor

qkeitoe commented Nov 24, 2024

I don't have a monitor with a higher dpi resolution, so I can't test that out. How exactly is that broken? Isn't it possible to just manually adjust "tall" for some reasonably chosen "yres" intervals?

I have no issues with net_graph, cl_showpos, or cl_showfps on 1080p using this setup: https://github.com/qkeitoe/budhud/blob/2e3bb9da3b149e4133b84cad627966c13bb1bae5/%23users/custom/resource/sourcescheme.res#L5-L17 Screenshot (92)

This does work for 1920x1080, but on on the higher dpi resolutions unfortunately. I don't actually think there's a way to really have it work for both it seems

@rbjaxter
Copy link
Owner

I suppose that does make an improvement, but there are other issues relating to positioning/etc: (3840x2160):
image

I also had issues previously getting isproportional to work for this, but I'm wondering if I was just not testing it properly before..will need to see

@qkeitoe
Copy link
Contributor

qkeitoe commented Nov 25, 2024

Oh, I see. Thanks! It seems that either xpos or width of cl_showfps is set in pixels, so it doesn't scale properly for high resolutions. Do you remember if that clipping issue existed before the update? But since there is no way to move cl_showfps in any way (as far as I know), there is nothing that can be done about it I guess. And I suppose the same issue should also be true for cl_showpos (?).

Also, sorry to bother you, but I am wondering what the fonts would look like if tf2 is run at 1920x1080 resolution and then scaled to 4k (and whether isproportional has any effect on this).

@rbjaxter
Copy link
Owner

rbjaxter commented Dec 7, 2024

Whoops, sorry I think my github comment notifications are getting eaten or something

I don't really recall unfortunately, but I do feel like the positioning of cl_showfps has always been an issue on higher dpi monitors

Here's 1920x1080 windowed noborder, 1920x1080 scaled up to 4k, and 4k:

1920x1080 windowed noborder
1920x1080 fullscreen on 4k
4k

@rbjaxter
Copy link
Owner

rbjaxter commented Dec 7, 2024

I think I've fixed this issue the best I can for now, at least on 1920x1080. I suppose we'll see, but let me know if there's anything else you're wondering about @qkeitoe

@rbjaxter rbjaxter closed this as completed Dec 7, 2024
@qkeitoe
Copy link
Contributor

qkeitoe commented Dec 7, 2024

Thanks!

Also, I've been using your setup for a few days and I love it (at 1080p). Great job!

@rbjaxter
Copy link
Owner

rbjaxter commented Dec 7, 2024

Glad that it's working out :D more thanks goes to you for the values though of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cannot Fix TF2 Issue This issue occurs in the default hud, and therefore cannot be related to the custom hud.
Projects
None yet
Development

No branches or pull requests

5 participants