Hooray wrote in Thu Aug 27, 2015 5:28 pm:In one case, it's just a glGetIntegerV() value, so should be supported by modern cards/drivers, you could try running the ATI snippet at: http://www.geeks3d.com/20100531/program ... in-opengl/
Ah, you'll have to differentiate between the proprietary vs. open source drivers here! The link above is for the proprietary drivers only. I'm not sure how it is done with the open source drivers, but I remember hearing that something was being developed in Mesa to be driver independent. Anyway, I guess the following approach is not of much use:
- Code: Select all
[edward@localhost ~]$ lspci | grep ATI
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]
[edward@localhost ~]$ lspci -v -s 02:00.0
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 2327
Flags: bus master, fast devsel, latency 0, IRQ 40
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at fbe20000 (64-bit, non-prefetchable) [size=128K]
I/O ports at e000 [size=256]
Expansion ROM at fbe00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon
Regards,
Edward