Problem with Nvidia Graphic Card and Second Monitor | F40 | Nvidia

Hi guys

I just installed Fedora KDE 40 in my HP laptop, but I am having problems with the Nvidia Card. I already installed the drivers and the RPM fusion free and non-free repositories as suggested in the official documentation, however, the graphics drives is still the one from the intel processor.
This is the information about my laptop:


and this is the result from executing nvidia-smi:

dalvarez@fedora:~$ nvidia-smi
Sun Jul 21 02:06:26 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:01:00.0 Off |                  N/A |
| N/A   29C    P8             N/A / ERR!  |       2MiB /   3072MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

This is how the nvidia x server panel looks like:


I have tried to reboot my laptop while having the 2nd monitor connected but so far I have been unable to use the second monitor.
This is the result from inxi -Fzxx command:

dalvarez@fedora:~$ inxi -Fzxx
System:
  Kernel: 6.9.9-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.2 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-dk0xxx
    v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 85FA v: 42.47 serial: <superuser required>
    part-nu: 4PF89LA#ABM UEFI: Insyde v: F.65 date: 10/23/2023
Battery:
  ID-1: BAT1 charge: 26.9 Wh (100.0%) condition: 26.9/49.9 Wh (53.9%)
    volts: 13.1 min: 11.6 model: Hewlett-Packard PABAS0241231 serial: <filter>
    status: full
CPU:
  Info: quad core model: Intel Core i5-9300H bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 800 min/max: 800/4100 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 bogomips: 38400
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 ports: active: eDP-1
    empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3e9b
  Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q]
    vendor: Hewlett-Packard driver: nvidia v: 555.58.02 arch: Pascal pcie:
    speed: 2.5 GT/s lanes: 8 ports: active: none empty: DP-2,HDMI-A-2
    bus-ID: 01:00.0 chip-ID: 10de:1c91
  Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD
    Integrated Webcam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 1-5:3 chip-ID: 05c8:03bc
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.1
    compositor: kwin_wayland driver: N/A display-ID: 0
  Monitor-1: eDP-1 res: 1536x864 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: iris
    device: 3 drv: swrast surfaceless: drv: nvidia wayland: drv: iris x11:
    drv: iris inactive: gbm,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.2 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    device-ID: 8086:3e9b display-ID: :0.0
  API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 8086:3e9b device: 1
    type: discrete-gpu driver: N/A device-ID: 10de:1c91 device: 2 type: cpu
    driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a348
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 10de:0fb9
  API: ALSA v: k6.9.9-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 4000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
    vendor: Hewlett-Packard driver: rtw_8822be v: N/A pcie: speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 05:00.0 chip-ID: 10ec:b822
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter driver: btusb v: 0.8 type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-14:4 chip-ID: 0bda:b00b
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 bus-ID: 00:17.0 chip-ID: 8086:282a
Drives:
  Local Storage: total: 1.36 TiB used: 5.69 GiB (0.4%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB
    size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 30.9 C
  ID-2: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 464.17 GiB used: 5.31 GiB (1.1%) fs: btrfs dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 374.1 MiB (38.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 464.17 GiB used: 5.31 GiB (1.1%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 34.0 C pch: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 24 GiB available: 23.31 GiB used: 4.61 GiB (19.8%)
  Processes: 321 Power: uptime: 31m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: Compilers: gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: konsole
    inxi: 3.3.34

I would appreciate any help that allow me to use the second monitor and set the laptop graphic card as main graphics processor.

Removed audio, bluetooth, kde, server, wireplumber

I edited your post and added the preformatted text tags on the inxi results so it retains the on-screen formatting. The nvidia-smi output should have also been posted as text the same way.

Those tags are available with the </> button on the toolbar and it is encouraged as much as possible to copy & paste text from the screen using that button to retain formatting and make the text searchable for later readers.

Hi Jeff. Thank you so much for your prompt reply and suggestions. I’ll keep them in mind in future posts. I edited the previous comment and now it is possible to see the results from nvidia-smi command as proper code.

Please post the results of : dnf list installed \*nvidia\* for us.


Note:

  • Also keep in mind once we see the driver come up, that there is a switcherooctl in effect to optimize for battery useage, The Nvidia card does not need to be on all the time. Heavy applications can make use of it.
  • Once we know the driver is loaded properly, we can begin to troubleshoot from there.
  • The next steps would be to understand if the Intel driver is loading before the Nvidia driver.

Removed pipewire, wayland

Hi, Thank you so much for your help. This is the terminal result of executing dnf list installed \*nvidia\*

dalvarez@fedora:~$ dnf list installed \*nvidia\*
Installed Packages
akmod-nvidia.x86_64                         3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
kmod-nvidia-6.9.9-200.fc40.x86_64.x86_64    3:555.58.02-1.fc40     @@commandline             
nvidia-gpu-firmware.noarch                  20240709-1.fc40        @updates                  
nvidia-modprobe.x86_64                      3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                  3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
nvidia-settings.x86_64                      3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                  3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64             3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64        3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64          3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64             3:555.58.02-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64            3:555.58.02-1.fc40     @rpmfusion-nonfree-updates

Things look about right, Is there an application which you know you need the Nvidia driver for?

  • Blender
  • Inkscape
  • Krita
  • Steam

If you have such, can you run one of them and test by running nvidia-smi or launch the application like this:
Screenshot from 2024-06-21 16-01-30

If the application uses the Nvidia driver natively, it will look ike this:

Screenshot from 2024-06-21 16-01-17

Hi Hammerhead, sorry for my late reply, I installed Krita, opened it and checked the result of nvidia-smi while executing Krita, but there was no difference with the previous result. The only change was the temperature field of the graphics card, slightly higher, at 31C. I checked Krita’s system information for bug reports and this is the result:

Krita

 Version: 5.2.2
 Hidpi: true

Qt

  Version (compiled): 5.15.12
  Version (loaded): 5.15.14

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 6.9.9-200.fc40.x86_64
  Pretty Productname: Fedora Linux 40 (KDE Plasma)
  Product Type: fedora
  Product Version: 40
  Desktop: KDE
  Appimage build: No

Locale

  Languages: en_US, en, en_Latn_US
  C locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=en_US.UTF-8;LC_TIME=es_CO.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8

OpenGL Info
 
  Vendor:  "Intel" 
  Renderer:  "Mesa Intel(R) UHD Graphics 630 (CFL GT2)" 
  Driver version:  "4.6 (Core Profile) Mesa 24.1.4" 
  Shading language:  "4.60" 
  Requested format:  QSurfaceFormat(version 3.3, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  Current format:  QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
  GL version: 4.6 
  Supports deprecated functions false 
  Is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: true 
  forceDisableTextureBuffers: false 
  Extensions: 
     GL_ARB_direct_state_access 
     GL_ARB_copy_image 
     GL_ARB_vertex_array_bgra 
     GL_EXT_framebuffer_blit 
     GL_ARB_shader_draw_parameters 
     GL_AMD_vertex_shader_layer 
     GL_ARB_shader_subroutine 
     GL_EXT_debug_label 
     GL_ARB_point_sprite 
     GL_ARB_gl_spirv 
     GL_ARB_vertex_array_object 
     GL_MESA_texture_const_bandwidth 
     GL_ARB_texture_cube_map_array 
     GL_ARB_shader_atomic_counter_ops 
     GL_ARB_buffer_storage 
     GL_EXT_memory_object_fd 
     GL_ARB_timer_query 
     GL_ARB_draw_buffers 
     GL_ARB_uniform_buffer_object 
     GL_ARB_spirv_extensions 
     GL_ARB_texture_rectangle 
     GL_S3_s3tc 
     GL_ARB_polygon_offset_clamp 
     GL_ARB_internalformat_query2 
     GL_ARB_query_buffer_object 
     GL_ARB_ES3_1_compatibility 
     GL_ARB_post_depth_coverage 
     GL_ARB_sample_shading 
     GL_ARB_shader_image_size 
     GL_ARB_shading_language_packing 
     GL_ARB_texture_non_power_of_two 
     GL_KHR_texture_compression_astc_sliced_3d 
     GL_ARB_shader_atomic_counters 
     GL_EXT_shader_framebuffer_fetch 
     GL_MESA_texture_signed_rgba 
     GL_ARB_vertex_type_2_10_10_10_rev 
     GL_NV_alpha_to_coverage_dither_control 
     GL_AMD_depth_clamp_separate 
     GL_EXT_blend_equation_separate 
     GL_ARB_shading_language_include 
     GL_ARB_half_float_pixel 
     GL_INTEL_blackhole_render 
     GL_EXT_memory_object 
     GL_ARB_shader_storage_buffer_object 
     GL_ARB_gpu_shader_int64 
     GL_ARB_get_program_binary 
     GL_ARB_separate_shader_objects 
     GL_EXT_texture_filter_anisotropic 
     GL_ARB_framebuffer_no_attachments 
     GL_ARB_ES3_2_compatibility 
     GL_ARB_pipeline_statistics_query 
     GL_ARB_texture_buffer_range 
     GL_ARB_draw_instanced 
     GL_ARB_texture_storage_multisample 
     GL_EXT_transform_feedback 
     GL_EXT_framebuffer_object 
     GL_ARB_ES3_compatibility 
     GL_ARB_vertex_shader 
     GL_ARB_half_float_vertex 
     GL_ARB_texture_stencil8 
     GL_ARB_parallel_shader_compile 
     GL_ARB_texture_multisample 
     GL_ARB_fragment_layer_viewport 
     GL_ARB_fragment_coord_conventions 
     GL_ANGLE_texture_compression_dxt3 
     GL_ARB_blend_func_extended 
     GL_NV_texture_barrier 
     GL_ARB_clear_buffer_object 
     GL_EXT_packed_depth_stencil 
     GL_INTEL_conservative_rasterization 
     GL_ARB_clear_texture 
     GL_EXT_draw_buffers2 
     GL_EXT_texture_compression_dxt1 
     GL_ARB_viewport_array 
     GL_ARB_map_buffer_alignment 
     GL_EXT_texture_array 
     GL_KHR_robust_buffer_access_behavior 
     GL_ARB_shader_bit_encoding 
     GL_EXT_texture_sRGB 
     GL_NV_compute_shader_derivatives 
     GL_EXT_EGL_sync 
     GL_ARB_texture_view 
     GL_ARB_seamless_cubemap_per_texture 
     GL_3DFX_texture_compression_FXT1 
     GL_ARB_transform_feedback3 
     GL_ARB_texture_compression_bptc 
     GL_ARB_fragment_shader_interlock 
     GL_ARB_vertex_attrib_64bit 
     GL_EXT_provoking_vertex 
     GL_ARB_shader_clock 
     GL_AMD_vertex_shader_viewport_index 
     GL_ARB_texture_rgb10_a2ui 
     GL_KHR_blend_equation_advanced 
     GL_ARB_texture_compression_rgtc 
     GL_NV_depth_clamp 
     GL_ARB_shader_viewport_layer_array 
     GL_ARB_texture_query_lod 
     GL_ARB_transform_feedback_instanced 
     GL_ARB_enhanced_layouts 
     GL_ARB_explicit_attrib_location 
     GL_ARB_indirect_parameters 
     GL_ARB_texture_filter_anisotropic 
     GL_AMD_texture_texture4 
     GL_ARB_arrays_of_arrays 
     GL_ARB_sync 
     GL_ARB_draw_indirect 
     GL_ARB_shader_texture_lod 
     GL_ARB_robust_buffer_access_behavior 
     GL_ARB_shader_precision 
     GL_EXT_vertex_attrib_64bit 
     GL_NV_conditional_render 
     GL_ARB_gpu_shader_fp64 
     GL_EXT_texture_shared_exponent 
     GL_EXT_texture_integer 
     GL_AMD_seamless_cubemap_per_texture 
     GL_EXT_abgr 
     GL_MESA_pack_invert 
     GL_ARB_get_texture_sub_image 
     GL_ARB_gpu_shader5 
     GL_AMD_pinned_memory 
     GL_ARB_fragment_shader 
     GL_ARB_texture_swizzle 
     GL_ARB_shading_language_420pack 
     GL_ANGLE_texture_compression_dxt5 
     GL_EXT_texture_shadow_lod 
     GL_ARB_texture_buffer_object 
     GL_ARB_shader_objects 
     GL_EXT_semaphore 
     GL_ARB_cull_distance 
     GL_ARB_provoking_vertex 
     GL_EXT_texture_sRGB_decode 
     GL_NV_copy_image 
     GL_IBM_multimode_draw_arrays 
     GL_EXT_timer_query 
     GL_ARB_stencil_texturing 
     GL_EXT_demote_to_helper_invocation 
     GL_KHR_blend_equation_advanced_coherent 
     GL_EXT_packed_float 
     GL_AMD_query_buffer_object 
     GL_ARB_shader_image_load_store 
     GL_AMD_conservative_depth 
     GL_EXT_framebuffer_multisample 
     GL_ARB_robustness 
     GL_ATI_texture_float 
     GL_EXT_texture_swizzle 
     GL_ARB_depth_clamp 
     GL_KHR_debug 
     GL_ARB_draw_elements_base_vertex 
     GL_EXT_texture_compression_s3tc 
     GL_AMD_draw_buffers_blend 
     GL_ARB_texture_query_levels 
     GL_EXT_texture_snorm 
     GL_MESA_framebuffer_flip_y 
     GL_NV_fragment_shader_interlock 
     GL_ARB_framebuffer_sRGB 
     GL_EXT_shader_samples_identical 
     GL_ARB_compressed_texture_pixel_storage 
     GL_AMD_shader_stencil_export 
     GL_KHR_texture_compression_astc_ldr 
     GL_NV_packed_depth_stencil 
     GL_EXT_pixel_buffer_object 
     GL_EXT_framebuffer_multisample_blit_scaled 
     GL_ATI_blend_equation_separate 
     GL_ARB_texture_storage 
     GL_ARB_vertex_attrib_binding 
     GL_EXT_shader_integer_mix 
     GL_ARB_shader_texture_image_samples 
     GL_ARB_framebuffer_object 
     GL_EXT_draw_instanced 
     GL_ARB_texture_mirror_clamp_to_edge 
     GL_ARB_sampler_objects 
     GL_ARB_explicit_uniform_location 
     GL_KHR_robustness 
     GL_ARB_texture_rg 
     GL_EXT_polygon_offset_clamp 
     GL_ARB_debug_output 
     GL_AMD_shader_trinary_minmax 
     GL_OES_EGL_image 
     GL_EXT_texture_compression_rgtc 
     GL_ARB_occlusion_query2 
     GL_ARB_conservative_depth 
     GL_ARB_draw_buffers_blend 
     GL_ARB_compute_shader 
     GL_ARB_shader_group_vote 
     GL_ARB_derivative_control 
     GL_EXT_vertex_array_bgra 
     GL_ARB_tessellation_shader 
     GL_INTEL_shader_atomic_float_minmax 
     GL_ARB_multi_draw_indirect 
     GL_ARB_base_instance 
     GL_ARB_shader_stencil_export 
     GL_EXT_shader_framebuffer_fetch_non_coherent 
     GL_INTEL_shader_integer_functions2 
     GL_ARB_seamless_cube_map 
     GL_EXT_texture_storage 
     GL_EXT_framebuffer_sRGB 
     GL_ARB_transform_feedback_overflow_query 
     GL_ARB_invalidate_subdata 
     GL_ARB_internalformat_query 
     GL_ARB_multi_bind 
     GL_ARB_conditional_render_inverted 
     GL_ARB_transform_feedback2 
     GL_KHR_parallel_shader_compile 
     GL_ARB_depth_buffer_float 
     GL_ARB_texture_gather 
     GL_ARB_vertex_buffer_object 
     GL_MESA_shader_integer_functions 
     GL_ARB_pixel_buffer_object 
     GL_ARB_texture_barrier 
     GL_AMD_gpu_shader_int64 
     GL_ARB_clip_control 
     GL_EXT_EGL_image_storage 
     GL_INTEL_performance_query 
     GL_KHR_no_error 
     GL_ARB_copy_buffer 
     GL_EXT_semaphore_fd 
     GL_ARB_map_buffer_range 
     GL_ARB_program_interface_query 
     GL_ARB_shader_ballot 
     GL_ARB_instanced_arrays 
     GL_ARB_texture_buffer_object_rgb32 
     GL_AMD_performance_monitor 
     GL_ARB_compute_variable_group_size 
     GL_ARB_vertex_type_10f_11f_11f_rev 
     GL_ARB_ES2_compatibility 
     GL_EXT_texture_sRGB_R8 
     GL_ARB_texture_border_clamp 
     GL_KHR_context_flush_control 
     GL_ARB_texture_float 
     GL_AMD_multi_draw_indirect 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 
  Detected renderers: 
    (Supported) Mesa Intel(R) UHD Graphics 630 (CFL GT2) (OpenGL ES 3.2 Mesa 24.1.4) 
    (Supported) Mesa Intel(R) UHD Graphics 630 (CFL GT2) (4.6 (Core Profile) Mesa 24.1.4)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 23865 Mb
  Number of Cores: 8
  Swap Location: /tmp
  Built for: xsimd not available, unvectorized
  Base instruction set: xsimd not available, unvectorized
  Supported instruction sets: 

Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: 
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts


Display Information
Number of screens: 1
	Screen: 0
		Name: eDP-1
		Depth: 24
		Scale: 1
		Physical DPI141.585
		Logical DPI120
		Physical Size: 344, 194
		Position: 0, 0
		Resolution in pixels: 1920x1080
		Manufacturer: 
		Model: 
		Refresh Rate: 60.0495
		Serial Number: 


It seems like the program is not using the Nvidia Graphics card neither it detects it…

Did you right click on it and specify to launch with the discrete GPU ?

Should look like this:

nvidia-smi
Sun Jul 28 10:28:23 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   39C    P8              4W /   60W |      96MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      8319      G   /usr/bin/gnome-shell                            1MiB |
|    0   N/A  N/A     10320      G   ptyxis                                          1MiB |
|    0   N/A  N/A     15600      G   inkscape                                       70MiB |
|    0   N/A  N/A     40507      G   krita                                           1MiB |
+-----------------------------------------------------------------------------------------+

It looks like you are on KDE, I’m not sure what the command is there, but it should be a right click option ? :thinking:

Ok, It looks like there is no graphic option for that in KDE, but an alternative might be using DRI_PRIME=1 krita command. When executing the command, the terminal looks like this:

dalvarez@fedora:~$ DRI_PRIME=1 krita
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
glx: failed to create dri3 screen
failed to load driver: nouveau
krita.lib.pigment: Replacing color space factory "LABA" "L*a*b* (16-bit integer/channel, unmanaged)" with "LABA" "L*a*b*/Alpha (16-bit integer/channel)"
krita.lib.pigment: Replacing color space factory "RGBA" "RGB (8-bit integer/channel, unmanaged)" with "RGBA" "RGB/Alpha (8-bit integer/channel)"
krita.lib.pigment: Replacing color space factory "RGBA16" "RGB (16-bit integer/channel, unmanaged)" with "RGBA16" "RGB/Alpha (16-bit integer/channel)"
QObject::startTimer: Timers cannot have negative intervals
/usr/lib64/krita-python-libs/krita added to PYTHONPATH
/usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:429: SyntaxWarning: invalid escape sequence '\d'
  svgRegExp = re.compile('[MLCSQHVATmlzcqshva]\d+\.?\d* \d+\.?\d*')
/usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:539: SyntaxWarning: invalid escape sequence '\<'
  string = re.sub("\<.*?\>", " ", string)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:510: SyntaxWarning: invalid escape sequence '\<'
  string = re.sub("\<\/*?text.*?\>",'', str(v["text"]))
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:511: SyntaxWarning: invalid escape sequence '\s'
  string = re.sub("\s+?", " ", string)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:49: SyntaxWarning: invalid escape sequence '\<'
  text = re.sub("\<.*?\>", " ", text)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:50: SyntaxWarning: invalid escape sequence '\s'
  key += str(re.sub("\s+", " ", text)).strip()
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:114: SyntaxWarning: invalid escape sequence '\<'
  key = re.sub("\<.*?\>", " ", key)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:115: SyntaxWarning: invalid escape sequence '\s'
  key = re.sub("\s+", " ", key)
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\+'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\%'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\+'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\*'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\%'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\^'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\|'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\&'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\~'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\{'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\}'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\('
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\)'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\['
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\]'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/editor/pythoneditor.py:274: SyntaxWarning: invalid escape sequence '\)'
  """The return key has just been pressed (and processed by the editor)

Then, by executing nvidia-smi, terminal looks like this:

dalvarez@fedora:~$ nvidia-smi
Sun Jul 28 23:54:44 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:01:00.0 Off |                  N/A |
| N/A   32C    P8             N/A / ERR!  |       3MiB /   3072MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

Tnat is not going to work as Device 1 is the intel card. See below. Change it to 2

Hi, thank you for your comment. this is the result from executing DRI_PRIME=2 krita:

dalvarez@fedora:~$ DRI_PRIME=2 krita
Inconsistent value (2) for DRI_PRIME. Should be < 2 (GPU devices count). Using: 1
glx: failed to create dri3 screen
failed to load driver: nouveau
Inconsistent value (2) for DRI_PRIME. Should be < 2 (GPU devices count). Using: 1
glx: failed to create dri3 screen
failed to load driver: nouveau
Inconsistent value (2) for DRI_PRIME. Should be < 2 (GPU devices count). Using: 1
glx: failed to create dri3 screen
failed to load driver: nouveau
Inconsistent value (2) for DRI_PRIME. Should be < 2 (GPU devices count). Using: 1
glx: failed to create dri3 screen
failed to load driver: nouveau
krita.lib.pigment: Replacing color space factory "LABA" "L*a*b* (16-bit integer/channel, unmanaged)" with "LABA" "L*a*b*/Alpha (16-bit integer/channel)"
krita.lib.pigment: Replacing color space factory "RGBA" "RGB (8-bit integer/channel, unmanaged)" with "RGBA" "RGB/Alpha (8-bit integer/channel)"
krita.lib.pigment: Replacing color space factory "RGBA16" "RGB (16-bit integer/channel, unmanaged)" with "RGBA16" "RGB/Alpha (16-bit integer/channel)"
QObject::startTimer: Timers cannot have negative intervals
/usr/lib64/krita-python-libs/krita added to PYTHONPATH
/usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:429: SyntaxWarning: invalid escape sequence '\d'
  svgRegExp = re.compile('[MLCSQHVATmlzcqshva]\d+\.?\d* \d+\.?\d*')
/usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:539: SyntaxWarning: invalid escape sequence '\<'
  string = re.sub("\<.*?\>", " ", string)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:510: SyntaxWarning: invalid escape sequence '\<'
  string = re.sub("\<\/*?text.*?\>",'', str(v["text"]))
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:511: SyntaxWarning: invalid escape sequence '\s'
  string = re.sub("\s+?", " ", string)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:49: SyntaxWarning: invalid escape sequence '\<'
  text = re.sub("\<.*?\>", " ", text)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:50: SyntaxWarning: invalid escape sequence '\s'
  key += str(re.sub("\s+", " ", text)).strip()
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:114: SyntaxWarning: invalid escape sequence '\<'
  key = re.sub("\<.*?\>", " ", key)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:115: SyntaxWarning: invalid escape sequence '\s'
  key = re.sub("\s+", " ", key)
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\+'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\%'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\+'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\*'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\%'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\^'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\|'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\&'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\~'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\{'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\}'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\('
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\)'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\['
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\]'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/editor/pythoneditor.py:274: SyntaxWarning: invalid escape sequence '\)'
  """The return key has just been pressed (and processed by the editor)

Then, while running Krita, this is the result from nvidia-smi:

dalvarez@fedora:~$ nvidia-smi
Mon Jul 29 18:21:23 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:01:00.0 Off |                  N/A |
| N/A   32C    P8             N/A / ERR!  |       3MiB /   3072MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

It seems to not work with DRI_PRIME= as either 1 or 2 so have you tried with using 0 instead?
Inconsistent value (2) for DRI_PRIME. Should be < 2 (GPU devices count). Using: 1

Hi, thank you for your suggestion. The result is pretty much similar when running DRI_PRIME=0 krita :

dalvarez@fedora:~$ DRI_PRIME=0 krita
Invalid value (0) for DRI_PRIME. Should be > 0
Qt: Session management error: Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication rejected
Invalid value (0) for DRI_PRIME. Should be > 0
Qt: Session management error: Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication rejected
Invalid value (0) for DRI_PRIME. Should be > 0
Qt: Session management error: Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication rejected
Invalid value (0) for DRI_PRIME. Should be > 0
Qt: Session management error: Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication rejected
krita.lib.pigment: Replacing color space factory "LABA" "L*a*b* (16-bit integer/channel, unmanaged)" with "LABA" "L*a*b*/Alpha (16-bit integer/channel)"
krita.lib.pigment: Replacing color space factory "RGBA" "RGB (8-bit integer/channel, unmanaged)" with "RGBA" "RGB/Alpha (8-bit integer/channel)"
krita.lib.pigment: Replacing color space factory "RGBA16" "RGB (16-bit integer/channel, unmanaged)" with "RGBA16" "RGB/Alpha (16-bit integer/channel)"
QObject::startTimer: Timers cannot have negative intervals
/usr/lib64/krita-python-libs/krita added to PYTHONPATH
/usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:429: SyntaxWarning: invalid escape sequence '\d'
  svgRegExp = re.compile('[MLCSQHVATmlzcqshva]\d+\.?\d* \d+\.?\d*')
/usr/share/krita/pykrita/comics_project_management_tools/comics_exporter.py:539: SyntaxWarning: invalid escape sequence '\<'
  string = re.sub("\<.*?\>", " ", string)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:510: SyntaxWarning: invalid escape sequence '\<'
  string = re.sub("\<\/*?text.*?\>",'', str(v["text"]))
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py:511: SyntaxWarning: invalid escape sequence '\s'
  string = re.sub("\s+?", " ", string)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:49: SyntaxWarning: invalid escape sequence '\<'
  text = re.sub("\<.*?\>", " ", text)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:50: SyntaxWarning: invalid escape sequence '\s'
  key += str(re.sub("\s+", " ", text)).strip()
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:114: SyntaxWarning: invalid escape sequence '\<'
  key = re.sub("\<.*?\>", " ", key)
/usr/share/krita/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py:115: SyntaxWarning: invalid escape sequence '\s'
  key = re.sub("\s+", " ", key)
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\+'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\%'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:33: SyntaxWarning: invalid escape sequence '\*'
  '\+', '-', '\*', '/', '//', '\%', '\*\*',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\+'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\*'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:35: SyntaxWarning: invalid escape sequence '\%'
  '\+=', '-=', '\*=', '/=', '\%=',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\^'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\|'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\&'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:37: SyntaxWarning: invalid escape sequence '\~'
  '\^', '\|', '\&', '\~', '>>', '<<',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\{'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\}'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\('
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\)'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\['
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/syntax/syntax.py:42: SyntaxWarning: invalid escape sequence '\]'
  '\{', '\}', '\(', '\)', '\[', '\]',
/usr/share/krita/pykrita/scripter/ui_scripter/editor/pythoneditor.py:274: SyntaxWarning: invalid escape sequence '\)'
  """The return key has just been pressed (and processed by the editor)

After running that command, this is the result of executing nvidia-smi while running Krita:

Tue Jul 30 20:10:04 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:01:00.0 Off |                  N/A |
| N/A   30C    P8             N/A / ERR!  |       2MiB /   3072MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

I would remove the driver and reinstall at this point. There’s not much more to do really.

  • Remove current driver: sudo dnf remove \*nvidia\* --exclude nvidia-gpu-firmware
  • Install the new drivers by following the documentation.

Hi, thank you for your reply. I reinstalled the driver following this documentation instructions:
https://rpmfusion.org/Howto/NVIDIA
Also I followed the sub thread on the signing of the akmods keys
https://rpmfusion.org/Howto/Secure%20Boot
Now when I run nvidia-smi this is the result on the terminal:

dalvarez@fedora:~$ nvidia-smi
Thu Aug  1 16:54:23 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:01:00.0  On |                  N/A |
| N/A   34C    P8             N/A / ERR!  |      33MiB /   3072MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      8506      G   /usr/bin/kwin_wayland                           2MiB |
+-----------------------------------------------------------------------------------------+

Now it is possible to see the Wayland process running, however, the wattage on the graphics card reading remains unavailable.
Also, after running DRI_PRIME=0 krita, Krita does not appear on the processes, only Wayland.
When I check onto the details of the system, looks like the processors graphic card is still the main graphics processor

Please note that posting images should be avoided as it hides some text from web searches, so may mean others with similar hardware and issues can’t find this topic.

Some laptops are designed to offload intensive graphics operations to the dGPU, but then pass the results to the iGPU for display. Also, many laptops are only tested with Windows. inxi does show 3 ports for the iGPU, including the display (eDP-1) along with DP-1 and HDMI-A-1, while the dGPU has just DP-2 and HDMI-A-2.

  • do you dual boot with Windows and if so can you use the dGPU as the “main” graphics processor in Windows?
  • is the external monitor connected directly or thru an adapter, docking station, or external USB hub, and what type of connection is used on the monitor (HDMI, DVI, DP, etc.)?
  • what graphics ports are provided (note that some laptops use USB3 ports for DisplayPort ) that require a 3rd party package:
% dnf info displaylink.x86_64
Last metadata expiration check: 0:01:12 ago on Thu 01 Aug 2024 07:49:35 AM.
Installed Packages
Name         : displaylink
Version      : 1.14.4
Release      : 2.github_evdi
Architecture : x86_64
Size         : 15 M
Source       : displaylink-1.14.4-2.github_evdi.src.rpm
Repository   : @System
From repo    : @commandline
Summary      : DisplayLink VGA/HDMI driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx adapters
License      : GPLv2 and LGPLv2 and MIT and ASL 2.0 and Proprietary
Description  : This adds support for HDMI/VGA adapters built upon the DisplayLink DL-7xxx,
             : DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx series of chipsets. This includes
             : numerous docking stations, USB monitors, and USB adapters.

Fedora packages are available from CrashDummy copr repo and upstream DisplayLink-rpm on github.

Check once again, The Device number is the number you need to use for DRI_PRIME=

On Gnome we have switcherooctl which basically just works, bbut I believe this is a gnome only things. . .

The GTX 1050 does not support differing power levels and only performs at full power 100% of the time. You cannot get that reduced power info.

Note that I have 2 different cards in this system and they report differently as well. (one does not report fan speed)

$ nvidia-smi
Thu Aug  1 10:14:29 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02              Driver Version: 555.58.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:04:00.0 Off |                  N/A |
|  0%   33C    P8             N/A /   70W |      16MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce GTX 1050        Off |   00000000:07:00.0 Off |                  N/A |
| 45%   29C    P8             N/A /   75W |       5MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1915      G   /usr/bin/gnome-shell                            2MiB |
|    0   N/A  N/A      1975      G   /usr/bin/Xwayland                               2MiB |
|    0   N/A  N/A      2362    C+G   /usr/libexec/mutter-x11-frames                  6MiB |
|    1   N/A  N/A      1915      G   /usr/bin/gnome-shell                            1MiB |
+-----------------------------------------------------------------------------------------+

An additional item of note.
the nvidia settings app shows different (limited) information when using wayland than it does when using X11.