Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Example spawns only non-responding black window [Ubuntu 20.10] #129

@jirislav

Description

@jirislav

When I follow the tutorial on setting up the example, I successfully compile the project and when I run it, it just spawns a black window, doing literally nothing (even if I wait really long enough).

  • Ubuntu takes notice and asks me if I want to kill the not responding process, but I patiently wait, without any luck.
  • No logs are written as there is no exception, can I turn on debug logging somehow?

Maybe it's correlated to the dmesg error message of NVIDIA I'm having after upgrade to Ubuntu 20.10? (I'm using 450.80.02)

[    5.288932] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[    5.290984] ucsi_ccg 0-0008: i2c_transfer failed -110
[    5.293078] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[    5.295171] ucsi_ccg: probe of 0-0008 failed with error -110
  • thus I assume the integrated GPU chip is currently in use (Intel(R) UHD Graphics 630):
$ lshw -C display

sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: TU106M [GeForce RTX 2070 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:166 memory:ac000000-acffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:4000(size=128) memory:ad000000-ad07ffff
  *-display
       description: VGA compatible controller
       product: UHD Graphics 630 (Mobile)
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:165 memory:ab000000-abffffff memory:40000000-4fffffff ioport:5000(size=64) memory:c0000-dffff

Just a side note: I had to solve these issues during installation first:

System Info

  • Rustc version: rustc 1.43.0
  • SPIR-V version:
SPIRV-Tools v2020.3 unknown hash, 2020-06-17T19:41:32
Targets:
  SPIR-V 1.0
  SPIR-V 1.1
  SPIR-V 1.2
  SPIR-V 1.3
  SPIR-V 1.4
  SPIR-V 1.5
  SPIR-V 1.2 (under OpenCL 2.2 Full Profile semantics)
  SPIR-V 1.0 (under Vulkan 1.0 semantics)
  SPIR-V 1.3 (under Vulkan 1.1 semantics)
  SPIR-V 1.4 (under Vulkan 1.1 semantics)
  SPIR-V 1.3 (under WIP WebGPU semantics)
  • Rust: 1.43.0+dfsg1+llvm-1~exp1ubuntu2
  • OS: Ubuntu 20.10
  • GPU: GeForce RTX 2070 Mobile | Intel(R) UHD Graphics 630
  • SPIR-V: SPIRV-Tools v2020.3 unknown hash, 2020-06-17T19:41:32

Metadata

Metadata

Assignees

No one assigned

    Labels

    g: intelIssues specific to Intelg: nvidiaIssues specific to Nvidia.p: linuxIssues specific to Linux.t: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions