I have two graphic cards on my system, integrated and dedicated. AMD Ryzen 5 5600GT with Radeon Graphics integrated card and AMD Radeon R9 200 Series (RADV PITCAIRN) dedicated card. This dedicated card is older but it’s suitable for some games I play better than the integrated one. So, I have PC monitor hooked up on VGA motherboard output and a TV hooked up to motherboard HDMI. Both displays are connected on iGPU and iGPU is set as primary in BIOS. This setup works well cause Manjaro uses dGPU only for games and all the rest is done by iGPU (hardware decoding videos etc.)
All works well but one thing. System cant tell when TV is on or off. I am using X11 and have autorandr profiles set up, but they don’t switch automatically. xrandr --props shows HDMI as connected even when TV is switched off. I’ve set up TV resolution at fullHD, fixed overscan and everything and extended desktop to the right. So, when I turn TV on I have to manually extend the desktop, switch autorandr profile and must do the same thing when I switch TV off cause desktop stays extended until I do so. Can this be automated somehow in Plasma 6?
And, yeah… One more issue… After system suspend the only resolution i can choose for TV is 640x480. All other are gone. Does anybody know what’s wrong here?
However, with AMD graphics, you may likely be better served running Wayland, rather than X11.
Just something for consideration.
Welcome to the Manjaro community.
As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit:
The Update Announcements contain update related information and a Known Issues and Solutions section that should generally be checked before posting a request for support.
System Information:
Output of the following command (formatted according to forum requirements) may be useful for those wishing to help:
Yeah, I tried that. Problem with Wayland is that it doesnt allow apps to change refresh rate of TV and I’m using Kodi for streaming movies and tv shows, so I get stutter if refresh rate is not correct.
I’m using X11 now, and it certainly looks nice - but I’m curious why you’re streaming and getting stuttering - how is this related to the computer display…
Via HDMI mine’s smooth, and via WiFi it’s smooth too, even when my desktop isn’t logged in.
Plex for the 10 foot UI, and MPV for just direct playing from a file.
This with a Ryzen 5600G. I gave up with Kodi… too complicated to wrestle with.
For me that’s a positive, I don’t want everything moving over when I switch it off (I always have way too much open).
If you have displayport output then you could try a displayport to hdmi converter. I have one and on AMD I couldn’t get it to stay connected when the TV was off, now I’m on nvidia and it stays connected.
There’s a keyboard shortcut for changing the connected displays, it may or may not be laptop specific though (I only use KDE on a laptop).
System Settings → Keyboard → Shortcuts → Display Configuration
Alternatively you can make a script and bind it to a keyboard shortcut. You should also be able to make keyboard shortcuts to move windows between monitors/TVs.
Well, I got used to Kodi and never tried something else, though I heard for Plex and some other apps… Kodi stutters with wayland, it cant set refresh rate (24Hz for movies, example). That’s the Wayland issue. On X11 Kodi works fine.
Maybe I’ll try Plex one of these days, Kodi got really complicated, that’s for sure
Yeah, I made keyboard shortcuts and they work. I’m curious why it doesnt work automatically, autorandr should do it. On previous configuration I was on Ubuntu and autorandr worked like a charm. It extended or removed the screen when needed and autorandr set all xrandr properties i configured (overscan, TearFree…) Now on this config it doesnt work like that. Not even with Ubuntu GNOME (i tried…). TV is the same so I know it signals when it is in standby mode. Maybe because GPU is different or Motherboard, or maybe it’s another kernel I’m using right now, dont really know.
I don’t know, I’ve never used autorandr and I’ve never wanted the system to detect when a TV/monitor is off (always the opposite, I like stuff to stay where it is unless I move it).
What don’t you like about it staying extended all the time? Perhaps there’s another approach that could work.
I think that seems the most likely explanation.
Is this an option?
Puts moderator on:
Please don’t post multiple times in a row. Combine them into a single post, use quotes and/or mentions (@sinisab89) to indicate who you’re talking to. You can edit your post by clicking on the pencil icon.
Well, if I am using only monitor at the moment my mouse go offscreen to the right. I use TV only when i want to watch a movie or something…
Unfortunately, no. Motherboard has only 1xVGA and 1x HDMI output. Dedicated GPU has other outputs but it’s a whole another hell when I combine iGPU and dGPU outputs
If the resolution is different (specifically height-wise) then your mouse could get stuck. Otherwise it’s not a big problem (more something to get used to) and can actually be useful if you want your mouse out of the way.
Well you could probably just use the dGPU. Perhaps something to explore, but I wouldn’t spend any money (displayport to hdmi converter/lead) without exhausting other possibilities.
Using xrandr to turn it off via a keyboard shortcut may work, unfortuantely it may not be any better than a script.
Tried that… dGPU is old and cant accelerate some codecs properly, causes stuttering etc. But works games much better that iGPU. I guess faster VRAM or something…
Yeah, autorandr switch through keyboard shortcut works. I’ll use it like that for now. Missing resolution somehow solves itself when I set autorandr profile. Something is buggy but it’s not a big deal for now, as long as it responds to autorandr profiles I’ll get by. Thank you very much for your help. Maybe it’ll work itself out through kernel or mesa updates.
Thank you. I’ll try it as soon as i find some time to fiddle with it