YaLTeR/niri

Second monitor display

AleitoG opened this issue · 11 comments

runing niri msg outputs dont recognize the second monitor at HDMI-1-0

System Information

  • niri version: niri 0.1.3

  • GPU: NVIDIA GTX 1650

  • CPU: INTEL CORE I5 12500H

That's weird; does it work on other compositors like sway?

I never try another compositor, this is the first one, my previous setup was using dwm in x11 and i dont have any issues with the monitors , my linux distribution is void-glibc

NVIDIA with Wayland is still a bit incomplete, which is why I'm asking to try a different (more established) compositor. It might be an NVIDIA driver issue.

I have it working very well now, but not sure if I'm using the integrated Intel or the dedicated GTX 1650. Any tip to know it?

niri 0.1.4 , previous versions had several issues.

GPUs:
  GPU 0:
    Name: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q]
    IDs: D=1f91 V=10de SD=1332 SV=1025
    Driver: nvidia
  GPU 1:
    Name: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
    IDs: D=3e9b V=8086 SD=1331 SV=1025
    Driver: i915
OS: Nobara Linux 39 (GNOME Edition) (linux)

The niri log should say which device it uses for rendering, I guess that would be nvidia

@AleitoG could you try again? And also try on sway or other Wayland compositor?

@AleitoG could you try again? And also try on sway or other Wayland compositor?

I already use the newest version of niri and nvidia drivers (555.42.02_1) as well and the 2nd monitor works properly without another configuration, it's worth say that the nvidia driver version, isn't in production yet, its a beta; Unfortunately it only displays the mouse, I tried to move a single window, a column, and a workspace, but no one show on the second monitor as i said only the mouse works. and niri msg output already show the monitor, here it is the niri msg outputs ...
Output "HDMI-A-1" (27_8_30 - LG FULL HD - HDMI-A-1)
Current mode: 1920x1080 @ 60.000 Hz
Variable refresh rate: not supported
Physical size: 480x270 mm
Logical position: 1920, 0
Logical size: 1920x1080
Scale: 1
Transform: normal
Available modes:
1920x1080@74.973 (preferred)
1920x1080@60.000 (current)
1920x1080@59.939
1920x1080@50.000
1680x1050@59.954
1400x1050@59.978
1600x900@60.000
1280x1024@75.025
1280x1024@60.020
1440x900@59.887
1280x800@59.810
1152x864@75.000
1280x720@60.000
1280x720@59.943
1280x720@50.000
1024x768@75.029
1024x768@60.004
800x600@75.000
800x600@60.317
720x576@50.000
720x480@59.940
640x480@75.000
640x480@59.940
640x480@59.929

Output "eDP-1" (11_24_6 - 10642 - eDP-1)
Current mode: 1920x1080 @ 144.149 Hz (preferred)
Variable refresh rate: not supported
Physical size: 340x190 mm
Logical position: 0, 0
Logical size: 1920x1080
Scale: 1
Transform: normal
Available modes:
1920x1080@144.149 (current, preferred)
1920x1080@60.201

Is the second monitor connected to NVIDIA or to the Intel iGPU?

the nvdia gpu, I already update into the last commit ( 2ac8d84 ) and now its working but with the (mpvpaper-1.6_1) , at the moment of resize, at the moment of spawn ( kickoff-0.7.2_1 ) there is a bug that the video seems weird like in the image...
WhatsApp Image 2024-05-25 at 5 44 23 PM

Alright, that's probably missing explicit sync (waiting for a Smithay PR). Looks like there's no niri-specific issue here after all?

yeah thanks, I fix it using (render-drm-device "/dev/dri/renderD129") on the debug section in the niri config.kdl