I have bought a new monitor. It works fine with windows, but I cannot use it on Manjaro. The problem is HDMI does not appear on xrandr command. I tried to use this post to fix the problem, but it didn’t help much…although I might messed something up, I’m not sure
Hi and thanks for your response. this is the results of journalctl for me
Nov 07 09:09:39 legioncommander systemd-timedated[2552]: Changed local time to Mon 2022-11-07 09:09:39 +0330
Nov 07 09:09:39 legioncommander systemd-journald[357]: Time jumped backwards, rotating.
Nov 07 09:09:42 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=19 len=4
Nov 07 09:09:42 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=20 len=4
Nov 07 09:09:43 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=21 len=4
Nov 07 09:09:43 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=22 len=4
Nov 07 09:09:43 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=23 len=4
Nov 07 09:09:43 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=24 len=4
Nov 07 09:09:44 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=25 len=4
Nov 07 09:09:44 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=26 len=4
Nov 07 09:09:44 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=27 len=4
Nov 07 09:09:44 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=28 len=4
Nov 07 09:09:44 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=29 len=4
Nov 07 09:09:44 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:09:44 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:09:45 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=30 len=4
Nov 07 09:09:49 legioncommander kded5[1360]: Registering ":1.61/StatusNotifierItem" to system tray
Nov 07 09:09:49 legioncommander plasmashell[1395]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Nov 07 09:09:50 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:09:50 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:09:52 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=31 len=4
Nov 07 09:09:53 legioncommander kernel: RTL871X: rtl8188f_c2h_packet_handler: C2H, ID=12 seq=32 len=4
Nov 07 09:09:56 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:09:56 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:02 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:02 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:08 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:08 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:09 legioncommander systemd[1]: systemd-timedated.service: Deactivated successfully.
Nov 07 09:10:09 legioncommander audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 07 09:10:09 legioncommander kernel: audit: type=1131 audit(1667799609.445:168): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=s>
Nov 07 09:10:09 legioncommander audit: BPF prog-id=0 op=UNLOAD
Nov 07 09:10:09 legioncommander audit: BPF prog-id=0 op=UNLOAD
Nov 07 09:10:09 legioncommander audit: BPF prog-id=0 op=UNLOAD
Nov 07 09:10:09 legioncommander kernel: audit: type=1334 audit(1667799609.515:169): prog-id=0 op=UNLOAD
Nov 07 09:10:09 legioncommander kernel: audit: type=1334 audit(1667799609.515:170): prog-id=0 op=UNLOAD
Nov 07 09:10:09 legioncommander kernel: audit: type=1334 audit(1667799609.515:171): prog-id=0 op=UNLOAD
Nov 07 09:10:11 legioncommander plasmashell[2495]: [2495:23:1107/091011.731850:ERROR:srtp_transport.cc(216)] Failed to unprotect RTP packet: size=129, seqnum=14693, SSRC=6666, previous failure count: 0
Nov 07 09:10:14 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:14 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:20 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:20 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:26 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:26 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:32 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:32 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:38 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:38 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:44 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
Nov 07 09:10:44 legioncommander kernel: RTL871X: Station is not found
Nov 07 09:10:50 legioncommander kernel: RTL871X: cfg80211_rtw_dump_station(wlp6s0f3u2u2)
I am a bit naive using Manjaro, so can you please help me in more details on how to fix it ?
thanks again
If you are using a Hybrid setup (AMD CPU + NVIDIA GPU), it is possible that only the discrete GPU (NVIDIA in this case) is connected to HDMI output.
I think you should install the drivers though driver manager, in case you havent done that yet. In case you install the hybrid driver you should also install optimus-manager and use hybrid mode. That’s what I did and it works (I have a Lenovo Legion like you, I suppose after reading your journalctl output).
thank you so much for your response…and yes…I have a Lenovo Legion
I tried to install optimus-manager, but it hasn’t run successfully on my laptop. this it the result of optimus-manager and also optimus-manager --status:
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20221220T215622.log
If your login manager is GDM, make sure to follow those instructions:
https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting
Cannot execute command because of previous errors.
i couldn’t make the head or tail of this. so please help me with this.
also thank you @TriMoon
As said here, there are some extra steps if you are on
GNOME and GDM, or
Manjaro KDE
Depending of your setup, you may need to follow that extra steps. If you have already done that or you don’t have that setup, then I don’t know how to help sorry.
PS: you are on linux kernel 5.15, if nothing keeps you on that version I suggest you to upgrade to 6.1 (the latest version) after dealing with optimus-manager. Newer kernels add support for newer hardware.
thank you again for your help
I followed the instructions for KDE, which I have, and now optimus-manager is working without any conflict, and i switched it to hybrid-mode and reboot; but still i don’t have HDMI on xrandr and the monitor says “no signal”
i couldn’t upload any pictures of my “hardware configuration” on “system settings”, but this is the result of mhwd
> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
network-r8168 2016.04.20 true PCI
> 0000:01:00.0 (0300:10de:2560) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime 2021.11.04 false PCI
video-hybrid-amd-nvidia-470xx-prime 2021.11.04 false PCI
video-nvidia 2021.11.04 false PCI
video-nvidia-470xx 2021.11.04 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
> 0000:06:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime 2021.11.04 false PCI
video-hybrid-amd-nvidia-470xx-prime 2021.11.04 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
at the moment I have “video-hybrid-amd-nvidia-prime”,“video-linux” and “video-modesetting” installed.
Does it have anything to do with them? should I change them?
prime-run is used to run programs on GPU, so you should wrote prime-run minecraft or similar. I suggested that to check if the dGPU is available.
Regarding the kernel, yes I believe it is your best chance, and it should not break anything (idk how docker works though). Even if it does, you can always go back to an installed (older) kernel.
Regardless, it is a good practice to make backups.
I don’t have minecraft on, so the result of calling that command was “command not found”
I tried the prime-run glxinfo command and here is the result:
name of display: :0
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
i will try to change the kernel and inform you after I do. if you have any material on making backups on Manjaro, please also provide me with that. thanks again
thank you so much for you suggestion. I have changed the kernel to 6.1 and using optimus-manager on nvidia, the monitor finally works; although I cant use monitor on “integrated mode” and on “hybrid-mode”, i can use the monitor but the icons on program bar and application launcher doesn’t show and the whole system runs slower and bit of lag.
when i try to put it on “hybrid-mode”, this warning pops out:
No power management option is currently enabled
Switching between GPUs will work but you will likely experience poor battery life.
Follow these instructions to enable power management.
any idea on how to fix that on integrated and hybrid mode too?
and once again thank you so much @Volt for your help. I was trying for about 3 days and became really frustrated with my laptop and everything!
your help meant so much to me
About the system lagging, it is strange to be honest. Since you have probably tweaked some configs, maybe a future clean install may help?
Regarding power management: according to this, and because your GPU is the same as mine, you should already support Runtime D3 power management. With this, using “integrated mode” would made no sense, since RD3 can completely turn off the card when not used, therefore you should use "hybrid or “nvidia” (use “hybrid” for better battery life, then use prime-run when needed).
I believe you can ignore that message (source) if cat /proc/driver/nvidia/gpus/0000:01:00.0/power prints fine-grained (as it should by default, at least on my pc).
If I helped you, please mark this thread as solved .
Edit: I forgot sorry, I also installed TLP for a slightly better power management.
thanks you so much again for your help.
I marked the post regarding kernel change as the solution. should I do anything more than that to mark this thread as solved? I am a bit new here:)
about the hybrid mode, after I turned it off for a while and starting it again, it works fine now. If anything strange happens again, I will mention it in a new thread
and thanks for your advice on power management. I’ll try to check them out.