#prime-run not working

39 messages · Page 1 of 1 (latest)

toxic patrol
#
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  50
  Current serial number in output stream:  51

anyone can help?

tranquil bramble
#

pacman -Qs "(mesa|nvidia|nouv|xf86-video|optim)"

tranquil bramble
#

lcpci -k | grep -iC 3 nvidia

toxic patrol
# tranquil bramble `pacman -Qs "(mesa|nvidia|nouv|xf86-video|optim)"`
    EGLStream-based Wayland external platform
local/glu 9.0.2-3
    Mesa OpenGL utility library
local/haskell-aeson 2.1.2.0-8
    A JSON parsing and encoding library optimized for ease of use and high performance
local/lib32-mesa 23.0.2-2
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-nvidia-utils 530.41.03-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 530.41.03-1
    NVIDIA NV-CONTROL X extension
local/mesa 23.0.2-2
    An open-source implementation of the OpenGL specification
local/mesa-utils 9.0.0-2
    Essential Mesa utilities
local/nvidia 530.41.03-4
    NVIDIA drivers for linux
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 530.41.03-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 530.41.03-1
    NVIDIA drivers utilities
local/opencl-mesa 23.0.2-2
    OpenCL support with clover and rusticl for mesa drivers
local/twolame 0.4.0-2
    An optimized MPEG Audio Layer 2 (MP2) encoder
local/xf86-video-amdgpu 23.0.0-1 (xorg-drivers)
    X.org amdgpu video driver
local/zsh-fast-syntax-highlighting-git r911.13d7b4e-1
    Optimized and extended zsh-syntax-highlighting
toxic patrol
#

i think u meant lspci

#

in that case

#
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M (rev a1)
        Subsystem: Acer Incorporated [ALI] Device 1447
        Kernel driver in use: nouveau
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
        Subsystem: Acer Incorporated [ALI] Device 1455
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
tranquil bramble
#

You are using nouveau as driver, not nvidia.

#

Do you use a different kernel than linux ?

toxic patrol
#

rebooted a cuple of times too

tranquil bramble
#

Yeah, if you are using linux and install nvidia, it should automatically use nvidia and not nouveau.
Let's try blacklisting nouveau.

#

In /etc/modprobe.d/blacklist.conf (or a similar file)

  • sudo mkinitcpio -P (Make sure /boot is mounted before this)
  • restart
  • check lspci -k to see if driver in use is nvidia
#

btw when you install / upgrade nvidia, mkinitcpio is needed, as far as I've experienced.

toxic patrol
#

boot partition?

#

my /mnt/boot/efi folder is gone so

tranquil bramble
#

I mean, you normally put /boot in fstab, so it is always mounted.
With systemd-boot you don't need to.
It needs to be mounted to update the kernel images there.
Just making sure.

Why is efi directory gone though?

toxic patrol
#

/mnt is empty

#

oh nvm

#

its here

#

im dumb

#

i was used to the mounting in iso

tranquil bramble
#

but your boot partition does not seem to be mounted.

#

if you are not using systemd-boot, you need to mount it before updates.

toxic patrol
#

I mounted it and did that command

#
        Subsystem: Acer Incorporated [ALI] Device 1447
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
tranquil bramble
#

nice

toxic patrol
#

seems to work

#

thanks

tranquil bramble
#

prime-run glxinfo / prime-run glxgears work fine?

toxic patrol
#

Let me see

toxic patrol
#

So it works

tranquil bramble
#

cool!