[i915] GPU not being detected when I try to run any game

Bug #2049697 reported by Justin Klassen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Undecided
Unassigned

Bug Description

I ran ran apport-bug xorg and it took me here. Trying to figure out an issue where any time I open a game, it crashes and gives the error message "GPU not detected". From everything I've tried it seems like the computer has no problem detecting the GPU and it seems to be working fine, but games are still not working. Any help is appreciated!

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-35.35~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-35-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 17 18:34:19 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus: bcmwl/6.30.223.271+bdcom, 6.2.0-35-generic, x86_64: installed
DpkgLog:

ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Device [8086:0d22] (rev 08) (prog-if 00 [VGA controller])
   Subsystem: Apple Inc. Device [106b:0122]
InstallationDate: Installed on 2023-10-25 (84 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
MachineType: Apple Inc. iMac14,1
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-35-generic root=UUID=773b635d-a617-4aa4-8333-273b3ed7b502 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/10/2020
dmi.bios.release: 0.1
dmi.bios.vendor: Apple Inc.
dmi.bios.version: 146.0.0.0.0
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-031B6874CF7F642A
dmi.board.vendor: Apple Inc.
dmi.board.version: iMac14,1
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-031B6874CF7F642A
dmi.modalias: dmi:bvnAppleInc.:bvr146.0.0.0.0:bd06/10/2020:br0.1:svnAppleInc.:pniMac14,1:pvr1.0:rvnAppleInc.:rnMac-031B6874CF7F642A:rvriMac14,1:cvnAppleInc.:ct13:cvrMac-031B6874CF7F642A:skuSystemSKU#:
dmi.product.family: iMac
dmi.product.name: iMac14,1
dmi.product.sku: System SKU#
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.0.4-0ubuntu1~22.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Justin Klassen (justink2586) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report. It looks like the i915 kernel graphics driver is crashing a lot, which may or may not be related. Please run these commands in a Terminal:

  sudo apt install mesa-utils
  glxinfo > glxinfo.txt

and attach the resulting text file here.

affects: xorg (Ubuntu) → linux-hwe-6.2 (Ubuntu)
summary: - GPU not being detected when I try to run any game
+ [i915] GPU not being detected when I try to run any game
Changed in linux-hwe-6.2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Justin Klassen (justink2586) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It looks like the GPU driver is working correctly there. Next please try:

  sudo apt install glmark2
  glmark2

Does it render smoothly and display correct driver information in the Terminal?

affects: linux-hwe-6.2 (Ubuntu) → ubuntu
Revision history for this message
Justin Klassen (justink2586) wrote :
Download full text (3.3 KiB)

It looks like that ran well, every image was rendered and ran smoothly. All of the information looks correct but honestly, I'm not a computer guy so I'm not sure if I'm missing anything. The glmark2 score looks low compared to what I see online but I don't need anything crazy, just want to play Hades and League of Legends which were running smoothly until a couple of months ago. Here is the output from glmark2:

=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR: Intel
    GL_RENDERER: Mesa Intel(R) Iris(R) Pro Graphics 5200 (HSW GT3)
    GL_VERSION: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
=======================================================
[build] use-vbo=false: FPS: 1136 FrameTime: 0.880 ms
[build] use-vbo=true: FPS: 1359 FrameTime: 0.736 ms
[texture] texture-filter=nearest: FPS: 1311 FrameTime: 0.763 ms
[texture] texture-filter=linear: FPS: 1290 FrameTime: 0.775 ms
[texture] texture-filter=mipmap: FPS: 1199 FrameTime: 0.834 ms
[shading] shading=gouraud: FPS: 1152 FrameTime: 0.868 ms
[shading] shading=blinn-phong-inf: FPS: 1219 FrameTime: 0.820 ms
[shading] shading=phong: FPS: 1212 FrameTime: 0.825 ms
[shading] shading=cel: FPS: 1305 FrameTime: 0.766 ms
[bump] bump-render=high-poly: FPS: 1146 FrameTime: 0.873 ms
[bump] bump-render=normals: FPS: 1368 FrameTime: 0.731 ms
[bump] bump-render=height: FPS: 1379 FrameTime: 0.725 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1169 FrameTime: 0.855 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 828 FrameTime: 1.208 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1220 FrameTime: 0.820 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 722 FrameTime: 1.385 ms
[desktop] effect=shadow:windows=4: FPS: 906 FrameTime: 1.104 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 664 FrameTime: 1.506 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 772 FrameTime: 1.295 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 755 FrameTime: 1.325 ms
[ideas] speed=duration: FPS: 1010 FrameTime: 0.990 ms
[jellyfish] <default>: FPS: 959 FrameTime: 1.043 ms
[terrain] <default>: FPS: 276 FrameTime: 3.623 ms
[shadow] <default>: FPS: 826 FrameTime: 1.211 ms
[refract] <default>: FPS: 440 FrameTime: 2.273 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1215 FrameTime: 0.823 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1059 FrameTime: 0.944 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1074 FrameTime: 0.931 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1214 FrameTime: 0.824 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1201 FrameTime: 0.833 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1215 FrameTime: 0.823 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1226 FrameTime: 0.816 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1150 FrameTime: 0.870 ...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The scores look correct compared to my own similar GPUs running glmark2.

I think you need to report a bug with the game(s) that are failing because I don't see anything wrong with Ubuntu here.

Changed in ubuntu:
status: Incomplete → Invalid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually one more thing to try that's related to games:

  sudo apt install vulkan-tools
  vkcube

Does it render smoothly and display correct GPU information in the Terminal?

Changed in ubuntu:
status: Invalid → Incomplete
Revision history for this message
Justin Klassen (justink2586) wrote :

That rendered smoothly and everything looks correct. I'll check with the games themselves but it's happening across every platform I try so it seemed like more of a system issue. Thanks for all your help, let me know if you think of anything else.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.