Good hardware, unexperienced user

Hello,

I just bought my very first gaming laptop. I have Intel i7 and Nvidia GEFORCE RTX GPU.

The thing is, I don’t know how to know if the GPU is… “active”? …and usable/used by my computer?
I want to make sure Tumbleweed has access to these ressources before launching my first game.

Maybe it’s a very naive question, please be kind, I know very, very little about hardware, drivers, …

Have you installed the corresponding nvidia driver?

https://en.opensuse.org/SDB:NVIDIA_drivers

I followed the tutorial to the very end, but when I reboot X is broken. If I change tty, log in and launch startx, I get an error like:

failed to enable io ports 0000-03ff operation not permitted

From what I read online, maybe my hardware is too new for these drivers?

As with your audio topic please share definitive hardware info…

inxi -GMa
1 Like
> inxi -GMa

Machine:
  Type: Laptop System: Micro-Star product: Cyborg 15 A12VF v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-15K1 v: REV:1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: E15K1IMS.30E date: 09/04/2023
Graphics:
  Device-1: Intel Alder Lake-P GT1 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 0000:00:02.0
    chip-ID: 8086:46a3 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
    vendor: Micro-Star MSI driver: N/A alternate: nouveau non-free: 545.xx+
    status: current (as of 2023-11) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ bus-ID: 0000:01:00.0
    chip-ID: 10de:28a0 class-ID: 0300
  Device-3: Bison HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 5986:211b
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    alternate: intel dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1521 built: 2020 res: 1920x1080
    hz: 144 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a3 memory: 30.33 GiB unified: yes
  API: Vulkan v: 1.3.268 layers: 1 device: 0 type: integrated-gpu name: Intel
    Graphics (ADL GT2) driver: mesa intel v: 23.2.1 device-ID: 8086:46a3
    surfaces: xcb,xlib

The above output suggests hybrid graphics. Someone familiar with such systems should be able to advise further here.

Anyone? Please, I want to try a game so bad, this is my first ever occasion to run such a recent game…

@ultome Hi, well since this is a hybrid system, did suse-prime https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime get installed? Also check need to check the nvidia rpms installed, as maybe the open version also got installed…

zypper se -si suse-prime nvidia

The other option is to use Prime Render Offload (I use that here on X11/Gnome), have a read here about this https://download.nvidia.com/XFree86/Linux-x86_64/545.29.06/README/primerenderoffload.html

This may be of value to you…
https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime

> zypper se -si suse-prime nvidia
Loading repository data...
wReading installed packages...
hites
S  | Name                          | Type    | Version              | Arch   | Repository
---+-------------------------------+---------+----------------------+--------+-----------
i  | kernel-firmware-nvidia        | package | 20231127-1.1         | noarch | repo-oss
i  | libnvidia-egl-wayland1        | package | 1.1.13-1.1           | x86_64 | repo-oss
i+ | openSUSE-repos-MicroOS-NVIDIA | package | 20230810.a7534f6-1.1 | x86_64 | repo-oss
i  | plasma5-applet-suse-prime     | package | 1.1-3.5              | noarch | repo-oss
i  | suse-prime                    | package | 0.8.14-2.2           | noarch | repo-oss

All these packages are installed. What now? :slightly_smiling_face:

As said above, following SDB:NVIDIA drivers led me to X failure, and I had to remove all the Nvidia drivers installed following this tutorial. It was somewhere suggested that the drivers from that page were too old?

@ultome so read the SDB link about suse-prime :wink:

I have a dual AMD GPU laptop, my desktops run a mixture of Nvidia/Nvidia and Intel/Nvidia and I only use Prime Render Offload to run applications with switcherooctl.

1 Like

Can you explain further? I don’t understand. Which command(s) should be run… when? Please :slightly_smiling_face:

@ultome Also not sure why you have openSUSE-repos-MicroOS-NVIDIA instead of openSUSE-repos-Tumbleweed-NVIDIA.

I also install the nvidia drivers via the hard way https://en.opensuse.org/SDB:NVIDIA_the_hard_way easier on an intel/nvidia setup.

Stop, stop, stop. According this terminal output there is not even any Nvidia driver installed! Soultome missed to install the drivers according the SDB.

If there are any drivers installed it should look like:

ich@rennsemmel:~> LANG=C zypper se -si suse-prime nvidia
Loading repository data...
Reading installed packages...

S  | Name                          | Type    | Version                 | Arch   | Repository
---+-------------------------------+---------+-------------------------+--------+------------------------
i+ | kernel-firmware-nvidia        | package | 20231127-1.1            | noarch | Haupt-Repository (OSS)
i  | libnvidia-egl-wayland1        | package | 1.1.13-1.1              | x86_64 | Haupt-Repository (OSS)
i+ | nvidia-compute-G06            | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-compute-G06-32bit      | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i  | nvidia-compute-utils-G06      | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-driver-G06-kmp-default | package | 545.29.06_k6.6.2_1-18.1 | x86_64 | nVidia Graphics Drivers
i+ | nvidia-gl-G06                 | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-gl-G06-32bit           | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-texture-tools          | package | 2.1.2-2.11              | x86_64 | Haupt-Repository (OSS)
i  | nvidia-utils-G06              | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-video-G06              | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
i+ | nvidia-video-G06-32bit        | package | 545.29.06-18.1          | x86_64 | nVidia Graphics Drivers
ich@rennsemmel:~> 

1 Like

Well, you’re right, but I have explained above why it is so… Twice ^^’

Precisely…

@ultome well you need to decide on the technology to use,

Option 1: suse-prime has intel/nvidia/offload so intel=intel only, nvidia=nvidia only and offload should run intel and use nvidia on demand.

Option 2: Use Prime Render Offload with the intel gpu always in use and nvidia when needed.

I suspect it will also depend on your Desktop environment is use as well as either X11 or Wayland.

@hui the user uninstalled them…

@ultome can you post the output from cat /etc/os-release

Do I understand correctly that my GPU is not just Nvidia but also Intel? Or is it just my CPU that’s Intel and my GPU Nvidia (that’s what I guessed so far)?

> cat /etc/os-release

NAME="openSUSE Tumbleweed"
# VERSION="20231129"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20231129"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20231129"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"