Skip to content

Instantly share code, notes, and snippets.

@Hansimov
Last active December 19, 2023 09:42
Show Gist options
  • Save Hansimov/70bbe878483b35ee79cdc74c7a089a89 to your computer and use it in GitHub Desktop.
Save Hansimov/70bbe878483b35ee79cdc74c7a089a89 to your computer and use it in GitHub Desktop.
Enable using Intel Arc 770 GPU in Ubuntu

List GPUs in machine

sudo lshw -C display
  *-display UNCLAIMED
       description: VGA compatible controller
       product: GP102 [TITAN Xp]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:4b:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:ce000000-ceffffff ioport:c000(size=128) memory:cf000000-cf07ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:4e:00.0
       logical name: /dev/fb0
       version: 08
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1200
       resources: irq:46 memory:cc000000-ccffffff memory:b0000000-bfffffff memory:c0000-dffff

View motherboard info

sudo dmidecode -t 2
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Gigabyte Technology Co., Ltd.
        Product Name: X99P-SLI-CF
        Version: x.x
        Serial Number: Default string
        Asset Tag: Default string
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Default string
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Verify Resizable BAR

lspci -v | grep -A8 VGA
4b:00.0 VGA compatible controller: NVIDIA Corporation GP102 [TITAN Xp] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation GP102 [TITAN Xp]
        Physical Slot: 6
        Flags: fast devsel, IRQ 16, NUMA node 0
        Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
        Memory at <ignored> (64-bit, prefetchable)
        Memory at <ignored> (64-bit, prefetchable)
        I/O ports at c000 [size=128]
        Expansion ROM at cf000000 [disabled] [size=512K]
--
4e:00.0 VGA compatible controller: Intel Corporation Device 56a0 (rev 08) (prog-if 00 [VGA controller])
        Subsystem: Device 1ef7:1513
        Flags: bus master, fast devsel, latency 0, IRQ 46, NUMA node 0
        Memory at cc000000 (64-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment