Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second monitor display #260

Closed
AleitoG opened this issue Mar 22, 2024 · 11 comments
Closed

Second monitor display #260

AleitoG opened this issue Mar 22, 2024 · 11 comments
Labels
bug Something isn't working question Further information is requested

Comments

@AleitoG
Copy link

AleitoG commented Mar 22, 2024

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

@AleitoG AleitoG added the bug Something isn't working label Mar 22, 2024
@YaLTeR
Copy link
Owner

YaLTeR commented Mar 22, 2024

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

@AleitoG
Copy link
Author

AleitoG commented Mar 22, 2024

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

@YaLTeR
Copy link
Owner

YaLTeR commented Mar 22, 2024

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.

@YaLTeR YaLTeR added the question Further information is requested label Mar 29, 2024
@megatux
Copy link

megatux commented Apr 15, 2024

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)

@YaLTeR
Copy link
Owner

YaLTeR commented Apr 15, 2024

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

@YaLTeR
Copy link
Owner

YaLTeR commented May 21, 2024

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

@AleitoG
Copy link
Author

AleitoG commented May 24, 2024

@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

@YaLTeR
Copy link
Owner

YaLTeR commented May 24, 2024

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

@AleitoG
Copy link
Author

AleitoG commented May 25, 2024

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

@YaLTeR
Copy link
Owner

YaLTeR commented May 26, 2024

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

@AleitoG
Copy link
Author

AleitoG commented May 26, 2024

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

@YaLTeR YaLTeR closed this as completed May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants