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

Intel integrated GPU only show up when btop is run by root (either by logging in or su or sudo). #1040

Open
Rajneesh315 opened this issue Feb 16, 2025 · 2 comments

Comments

@Rajneesh315
Copy link

2025-02-16.21-21-29.mp4

I have Thinkpad T490 with Nvidia mx250 dedicated gpu.
When btop is run by root user it detects both the GPUs, but when it is run by user raj only the nvidia gpu is detected.

  • I tried copying the root's config, nothing changed .
  • Switched between KDE and Xfce, still no change.

If btop is able to detect both the GPUs, why is only the nvidia one shown ?
Even simply running sudo btop shows both the gpu.

@lane-ftw
Copy link

lane-ftw commented Feb 19, 2025

On my Proxmox system (Debian) I had to sudo setcap cap_dac_read_search,cap_sys_admin+ep /usr/local/bin/btop to get an Intel iGPU to show up when not run as sudo.

@Rajneesh315
Copy link
Author

Rajneesh315 commented Feb 23, 2025

On my Proxmox system (Debian) I had to sudo setcap cap_dac_read_search,cap_sys_admin+ep /usr/local/bin/btop to get an Intel iGPU to show up when not run as sudo.

Thank You for your reply and I am really sorry for the late reply, i got busy with college and other stuff.

For me sudo setcap cap_dac_read_search,cap_sys_admin+ep /usr/bin/btop this worked.

There was no btop directory in /usr/local/bin/ .
I guess we are elevating btop's privileges so that it can access restricted system data.

Again Thank You and I apologize.

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