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

bsd, uvd/vce, fractional interval and xcbdl #93

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

trek00
Copy link
Contributor

@trek00 trek00 commented Oct 28, 2019

I would like to receive comments about this patchset. I think it's ready to be committed, but it still not tested on radeon, sorry. Thank you for review!

trek00 added 9 commits October 6, 2019 15:27
Added detection of operating system to Makefile, overridable by
TARGET_OS environment variable. BSD fixes are based on their ports:
- OpenBSD, by Kyle R W Milz <[email protected]>
- FreeBSD, by Alexey Dokuchaev <[email protected]>
on GNU/kFreeBSD it builds as on Linux.

Prefer ncursesw over ncurses, to help with issue clbr#35 too. Create
.git directory if not exist, to prevent rebuild at every invocation
of make, when compiling from the tarball.

References:
http://openbsd-archive.7691.n7.nabble.com/NEW-x11-radeontop-td234765.html
https://www.freshports.org/sysutils/radeontop
https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/radeontop
https://buildd.debian.org/status/package.php?p=radeontop
Based on linux/drivers/gpu/drm/radeon/*d.h
and linux/drivers/gpu/drm/amd/include/asic_reg/{gca,gc}/*_sh_mask.h
A fixed sleep time does not account for the cpu time spent during the
execution, so the collector thread lags behind the frontend. It is
more visible on high sample rates, where the reported values do not
change every second: radeontop -t100000 -d-
New xcbdl option added to Makefile, to disable dynamic link in order
to compile a statically linked binary.
@clbr
Copy link
Owner

clbr commented Oct 29, 2019

Please don't group unrelated changes in a massive PR like this, I'm busy as is...

@clbr
Copy link
Owner

clbr commented Oct 29, 2019

At least the *xcb changes are a no. That's just added complexity for no discernible reason.

@trek00
Copy link
Contributor Author

trek00 commented Oct 29, 2019 via email

@clbr
Copy link
Owner

clbr commented Oct 30, 2019

Yes, it's an important feature that an X-enabled build runs without X installed. These changes enable a binary that hard depends on X, which is not wanted (non-DL define). Packagers declaring a hard dep is unfortunate, but anyone setting up such a system can download the package only.

If you're debugging radeontop etc, you have root rights anyway; the unlikely case of hacking radeontop on someone else's system does not outweigh the uglier code, increased LOC and decreased efficiency (multiple dynamic symbol resolutions vs one).

@trek00
Copy link
Contributor Author

trek00 commented Nov 5, 2019 via email

@trek00
Copy link
Contributor Author

trek00 commented Mar 4, 2020

any news? can I help in some way? ciao :)

@dgcampea
Copy link

dgcampea commented Apr 3, 2020

any news? can I help in some way? ciao :)

Splitting this patchset into multiple branches/PRs? Makes it simpler to review/accept the changes.

@trek00
Copy link
Contributor Author

trek00 commented Apr 3, 2020 via email

@dgcampea
Copy link

dgcampea commented Apr 3, 2020

do you mean a single merge request for each patch?

no, single merge request per feature

@userofryzen
Copy link

@trek00 maybe its time yo start using your version.. too much time without updates here

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

Successfully merging this pull request may close these issues.

4 participants