You are not logged in.
Hi! Im want use 2 monitors.
My system
- AMD PC with integrated video
- monitor1 - vga
- monitor2 - vga/dvi-d connector (vga on monitor, dvi-d on PC)
- xorg.conf: https://pastebin.com/D9EgnuZC
- dwm, xinit
problem
when im connect second monitor and power on my pc, both monitors display BIOS and arch boot. Next, both monitors display "no signal" (xrandr output on this time: https://pastebin.com/kZrAkHQt)
when im connect single monitor when vga/dvi connector, im run PC and login, next im connect second display and configure this with xrandr and both monitors correct work (https://pastebin.com/5ZkhgX4H). when im restart my PC im have a problem from previous paragraph
question
how to configure system for correct work two monitors?
Last edited by alfanobot (2020-08-13 17:32:01)
Offline
You can put the xrandr command in your xinitrc.
But why do you have that xorg.conf?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Trilby, xinitrc run after input username and password in console. Monitors print "no signal" before show username prompt. How to run command before login?
console hide on both monitors
Last edited by alfanobot (2020-08-13 17:40:51)
Offline
Oh, sorry, I misunderstood the problem. How can you have xrandr output from when x isn't running?
If this is in the console before X starts, X configuration and xrandr information is not relevant.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
How can you have xrandr output from when x isn't running?
1. im create script with lines "xrandr ... >> log" and line "shutdown now"
2. im poweroff PC
3. im connect second monitor and run PC
4. monitors show message "no signal"
5. im print "myusername <ENTER> mypassword <ENTER> <terminal_emulator_hotkey> ./script <ENTER> (monitors is disablen, but keyboard is enabled)
6. script is execute, this print xrandr output in file and poweroff pc
7. im disconnect second monitor, run PC and read file
If this is in the console before X starts, X configuration and xrandr information is not relevant.
what is relevant then?
Last edited by alfanobot (2020-08-13 17:58:54)
Offline
Offline
seth, im read your doc. i need change resolution in modedb?
Offline
Those are kernel parameters and I assume you're mostly interested in the
You can additionally specify which output the options matches to.
To force the VGA output to be enabled and drive a specific mode say::
part.
Offline
Also, if after login with 2 monitors, xrandrs --listactivemonitors print "Monitors: 2", why monitors no signal?
Offline
Because of reasons…
https://bbs.archlinux.org/viewtopic.php?id=57855
Please post the actual and complete output of
xrandr --listactivemonitors
xrandr -q
and also your xorg log.
Offline
Those are kernel parameters and I assume you're mostly interested in the...
im read archwiki:uvesafb and install it, in this article:
First edit /etc/default/grub Comment the GRUB_GFXPAYLOAD_LINUX=keep line in /etc/default/grub, and GRUB#Generate the main configuration file.
in archwiki:GRUB:
Use the grub-mkconfig tool to generate /boot/grub/grub.cfg:
# grub-mkconfig -o /boot/grub/grub.cfg
im execute:
$ sudo grub-mkconfig -o /grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
mv: cannot move '/grub/grub.cfg.new' to '/grub/grub.cfg': Operation not permitted
how to fix it?
Offline
i read archwiki:uvesafb and install it
Why?
What about the video kernel parameter? What about the xrandr outputs?
mv: cannot move '/grub/grub.cfg.new' to '/grub/grub.cfg': Operation not permitted
Post the outputs of
stat /boot/grub/grub.cfg
sudo lsattr /boot/grub/grub.cfg
mount
Offline
seth
Why?
What about the video kernel parameter?
Im press 'e' in grub and print 'video=DVI-0:1024x768@60me' in editor. Nothing has changed, everything is the same. I assumed it was because of the missing package uvesafb. It looks like I'm doing something wrong.
What about the xrandr outputs?
When connected 1 monitor: pastebin
When connected 2 monitors:
Next, both monitors display "no signal" (xrandr output on this time: https://pastebin.com/kZrAkHQt)
When connected 2 monitors and run:
xrandr --output VGA-0 --auto
xrandr --output VGA-0 --auto --right-of DVI-0
Both monitors print "no signal" and xrandr output: pastebin
$ stat /grub/grub.cfg
File: /grub/grub.cfg
Size: 5358 Blocks: 16 IO Block: 4096 regular file
Device: 821h/2081d Inode: 4718920 Links: 1
Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-02-24 14:56:04.325201043 +0300
Modify: 2020-02-24 14:56:04.321868053 +0300
Change: 2020-02-24 14:56:10.497902998 +0300
Birth: 2020-02-24 14:56:01.968776852 +0300
# lsattr /grub/grub.cfg
----i---------e----- /grub/grub.cfg
Last edited by alfanobot (2020-08-15 10:26:52)
Offline
grub.conf is immutable - for whatever reason
# lsattr /grub/grub.cfg
----i---------e----- /grub/grub.cfg
man chattr
Both outputs are active and driven w/ their default modelines.
The sumo GPU is a bit old-ish, what happens if you boot w/ the "nomodeset" kernel parameter? (Graphical environments like X11 won't work, see the 2nd link in my signature)
Offline
seth, with nomodeset, both monitors is work
Offline
Offline
seth, im do it:
1. input "amdgpu" in MODULES in /etc/mkinitcpio.conf (for early KMS start)
2. Nothing has changed
3. set GRUB_TERMINAL_OUTPUT=console
4. Nothing has changed
5. GRUB_GFXPAYLOAD_LINUX=text
6. this change resolution in console
7. before username prompt, both monitors print "no signal"
usually, resolution has change in moment, when console show message "arch start", next display message about number of blocks on disk, next show username prompt.
probably, in moment of resolution change when show message "arch start" there was problem.
I use the kernel parameters to specify the resolution at the early boot stage, but the error probably occurs later when the resolution changes again
Offline
Did you only edit mkinitcpio.conf or also run mkinitcpio?
https://wiki.archlinux.org/index.php/Mk … generation
Offline
seth, run mkinitcpio
Offline