neofetch icon indicating copy to clipboard operation
neofetch copied to clipboard

Incorrect GPU

Open Xeronel opened this issue 9 years ago • 6 comments

Description

The GPU that is detected is incorrect. It is instead grabbing my sound card.

Neofetch version

Neofetch 2.0

Screenshot

Incorrect GPU

Verbose log

Verbose Log

Xeronel avatar Dec 04 '16 00:12 Xeronel

What's the output of lspci | awk '/Display|3D|VGA/ {print}' ?

konimex avatar Dec 04 '16 02:12 konimex

output

Xeronel avatar Dec 04 '16 17:12 Xeronel

It's matching the 3D in the sound card name!

I'll update the awk command to fix this.

Thanks

dylanaraps avatar Dec 04 '16 22:12 dylanaraps

@Xeronel, does this command fix your issue?

PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}'

dylanaraps avatar Dec 04 '16 22:12 dylanaraps

Looks good to me! :) screenshot

Xeronel avatar Dec 05 '16 01:12 Xeronel

I'll merge the fix into master, thanks for being patient. :)

dylanaraps avatar Dec 05 '16 01:12 dylanaraps