You are not logged in.

#1 2020-09-20 08:07:06

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

Running dedicated NVIDIA GPU in ThinkPad T420s

Hi.
I have 2 GPUs on my ThinkPad - Intel HD Graphics 2nd Generation and NVIDIA NVS 4200M.
I tried to play Minecraft, but seems that Minecraft uses HD Graphics.
Now - what I did:
- Installed "nvidia", "nvidia-utils" and "nvidia-dkms" packages
- I tried to change GPU in bios to Discrette GPU, but i cannot run Xorg and resolution was small
- I tried to remove xf86-video-intel, but everything was the same
- I changed GPU in bios to NVIDIA Optimus, but Minecraft still uses Integrated GPU (GPU Driver in neofetch is i915)
- I runned nvidia-xconfig, but Xorg server crashed (config was generated, but server terminated)
- Installed gpu-switch from aur and runned gpu-switch -d
what else can I do to run this graphics card?

Offline

#2 2020-09-20 08:10:07

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: Running dedicated NVIDIA GPU in ThinkPad T420s


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2020-09-20 08:27:37

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

Sadly, no. Still displays Integrated Graphics in Minecraft D:

Offline

#4 2020-09-20 09:33:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

It doesn't matter what minecraft displays, what do you get for

glxinfo -B

while in a supposedly graphics switched setup?

Offline

#5 2020-09-20 10:10:14

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

I gets:

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 3000 (SNB GT2) (0x126)
    Version: 20.1.8
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    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 3000 (SNB GT2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

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

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

Offline

#6 2020-09-20 10:53:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

So and what do you intend to do now? What's your end goal here? Are you plugged into a wall and don't need the integrated GPU directly at all? FWIW that reads like this is a fermi GPU so you'll need to install nvidia-390xx set of packages anyway and then opt for one of the approaches mentioned in: https://wiki.archlinux.org/index.php/NVIDIA_Optimus . PRIME Render offload will indeed not work so from that aspect this was expected to not work.

Offline

#7 2020-09-20 10:57:19

flortsch
Member
From: Linz, Austria
Registered: 2015-07-21
Posts: 39
Website

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

For this old nvidia device, you have to use the old nvidia driver [nvidia-390xx-dkms](https://aur.archlinux.org/packages/nvidia-390xx-dkms/) if you want to get max. performance (also check out the nvidia wiki).
Note however, that PRIME GPU offloading won't work with this old driver, so you can only use either the integrated or the dedicated GPU (but you can switch this in the BIOS).

Offline

#8 2020-09-20 14:44:16

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

Sorry for that long answer time, but i had a few things to do;
Now i'm trying to install nvidia-390xx-dkms from aur, when everything will be done i will write a reply.

Offline

#9 2020-09-20 15:01:00

kocotian
Member
From: Łaguszów, Poland
Registered: 2020-07-24
Posts: 40
Website

Re: Running dedicated NVIDIA GPU in ThinkPad T420s

And now... works! Switched to dedicated GPU big_smile
Unfortunately fonts are very small :c
But thanks for answers!

Offline

Board footer

Powered by FluxBB