Score:0

Am I using the wrong driver or openGL renderer for Xeon E3-1200 v3 in Ubuntu 21.10? If so, where can I get the correct one?

ky flag

I am encountering crashes in a computer game that may be due to my graphics card driver not being up-to-date. I notice, moreover, that the driver might not even be for the correct hardware, which may be due to the fact that I cloned my hard drive from another computer recently.

sudo lshw gives:

        *-display
             description: VGA compatible controller
             product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list
             configuration: driver=i915 latency=0
[...]

glxinfo -B gives:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2) (0x162)
    Version: 21.2.2
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 21.2.2
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 21.2.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Curiously, while lshw says:

             product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller

glxinfo -B says:

    Device: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2) (0x162)

These point to two different devices, so I assume I am not using the correct driver. Is that true? If so, where can I get the appropriate driver? Is one even available for Ubuntu 21.10?

EDIT: It may be that I simply need to reconfigure OpenGL to use the renderer for the Xeon processor instead of the HD Graphics 4000 processor. How could I do that?

in flag
This might be easier to answer if the question included a brand/model for the computer or a more complete spec listing
Score:0
br flag

Run sudo ubuntu-drivers devices to see which binary driver is recommended for your specific card. Try using that one:

sudo apt-get install <your_recommended_driver> # this will install the driver if no installed
software-properties-gtk # this will open Software & Updates app

There, you select the driver you have just installed.

Andrei Pambuccian avatar
ky flag
I tried `sudo ubuntu-drivers devices` but it doesn't return any output.
Iván Araolaza avatar
br flag
Try ```$ sudo apt update && sudo apt upgrade -y``` ```$ sudo ubuntu-drivers autoinstall``` and then the rest mentioned above.
Andrei Pambuccian avatar
ky flag
Tried that, update and upgrade worked fine, but `sudo ubuntu-drivers autoinstall` reported `no drivers found for installation`. Am I supposed to add a repository for intel drivers?
Iván Araolaza avatar
br flag
You're not, as far as I know, but you can try anyway. I'm afraid I can't provide any further useful information, I'm sorry. I wish you good luck.
Iván Araolaza avatar
br flag
You may want to check the following site: https://unix.stackexchange.com/questions/16136/how-to-switch-between-gpus
Andrei Pambuccian avatar
ky flag
I have found a way to upgrade my drivers here, using a different repository: https://askubuntu.com/questions/1082499/how-to-get-and-install-intel-i915-drivers-on-ubuntu-18-04#1082529 Sadly, the game still crashes. I suspect it's because the OpenGL renderer doesn't match my actual device. Thanks for all your help, anyway.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.