Two monitor setup broken after upgrade to Mageia 9

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Two monitor setup broken after upgrade to Mageia 9

Postby magchris » Sep 14th, '23, 14:58

After upgrading an old machine (32 bit, Xfce) with Mageia 9, 32 bit, my 2-monitor setup is broken. Always when I plug in the external monitor my system becomes unusable. (The Display on the laptop screen becomes compressed and no reaction on mouse clicks). I can not interact with the UI and have no chance to change the monitor setting. Also when I unplug the external monitor the system stays unusable and I have to shutdown the system by logging in via tty terminal.

Therefore I have the question how I can reset the monitor setup to decide that only the external monitor is used when I plug in the external monitor. Currently I have no idea how I can achieve this as the system hangs when I plug in the monitor.
(Btw.) The same happens when I use the Mageia 9 live system and chose to mirror the two monitors. If I use the live system and chose in the shown dialog to use one only the external monitor when I plug in the external monitor then the system works.
magchris
 
Posts: 20
Joined: Nov 19th, '17, 20:47

Re: Two monitor setup broken after upgrade to Mageia 9

Postby morgano » Sep 14th, '23, 17:33

Do you remember what graphics driver was used in Mageia 8?
And which one is it now?
Some proprietary drivers are not supported anymore with security updates from manufacturers so Mageia have to drop them.

You may need to experiment https://wiki.mageia.org/en/Setup_the_graphical_server

Good you experiment on the Live. For further experiments (not to mess up the installed system), have you enabled persistence?
https://wiki.mageia.org/en/Persistent_live_systems
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1489
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Two monitor setup broken after upgrade to Mageia 9

Postby magchris » Sep 14th, '23, 17:45

Intel 810 is used in Mageia 9. I assume there were no change, but I don't know.

My main issue is that I can not change the monitor setup when I plug in the external monitor. I want to switch to a setup where only the external monitor is used when I plug in the monitor.
Last edited by doktor5000 on Sep 14th, '23, 17:48, edited 1 time in total.
Reason: removed fullquote
magchris
 
Posts: 20
Joined: Nov 19th, '17, 20:47

Re: Two monitor setup broken after upgrade to Mageia 9

Postby doktor5000 » Sep 14th, '23, 17:57

How is the external monitor connected, via HDMI, DP, VGA, ... ?
Also, during initial installation the monitor was unplugged and you only used the laptop screen, correct?

Apart from that, only helpful information would be to login to that box via ssh, then either leave journalctl -af running and plugin the external monitor, then check the added output for any hints.

Or try to use xrandr to switch to the external monitor. Although if you use xrandr directly you'd have to always poll to determine if an external monitor was connected.
Have a look at e.g. https://unix.stackexchange.com/question ... 0110#60110
or something like https://github.com/phillipberndt/autorandr
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Two monitor setup broken after upgrade to Mageia 9

Postby magchris » Sep 14th, '23, 19:36

The external monitor is connected via VGA. It was also plugged in during the upgrade to Mageia 9.

When I use xrandr while the monitor isn't connected there is no entry for the monitor shown (VGA1 disconneted). When I plug in the monitor I can not start xrandr because I can not interact with the system and using xrandr in the tty command windows is not possible.

I'm looking for the place or file where the information is stored that the screens are mirrored. I assume if I can delete the information then the system will show the dialog again how to use the two screens (mirror, expand, use only on of the monitors) as it happen by plugging in the external monitor if I run the Live system of Mageia 9. I assume that I than can select the option to use only the external monitor. In the Live system this has the expected result.
Last edited by doktor5000 on Sep 15th, '23, 00:24, edited 1 time in total.
Reason: removed fullquote
magchris
 
Posts: 20
Joined: Nov 19th, '17, 20:47


Re: Two monitor setup broken after upgrade to Mageia 9

Postby magchris » Sep 14th, '23, 20:30

I already deleted the file "display.xml"" but it hadn't any effect. There has to be another place where the information is stored, but I don't know where.
magchris
 
Posts: 20
Joined: Nov 19th, '17, 20:47

Re: Two monitor setup broken after upgrade to Mageia 9

Postby doktor5000 » Sep 15th, '23, 00:29

As mentioned in the link, you'd want to only remove this when xfconfd is not running, otherwise it will probably simply be recreated with the in-memory configuration.

magchris wrote:The external monitor is connected via VGA. It was also plugged in during the upgrade to Mageia 9.

Then you should probably also check the Xorg configuration, so /etc/X11/xorg.conf itself and everything below /etc/X11/xorg.conf.d - you can also post them here if unsure.
Best case there are no resolutions or something like that configured there, as that should only be done dynamically during runtime.

Also xrandr -q output would be helpful.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Two monitor setup broken after upgrade to Mageia 9

Postby magchris » Sep 15th, '23, 07:51

doktor5000 wrote:Then you should probably also check the Xorg configuration, so /etc/X11/xorg.conf itself and everything below /etc/X11/xorg.conf.d - you can also post them here if unsure.
Best case there are no resolutions or something like that configured there, as that should only be done dynamically during runtime.

Also xrandr -q output would be helpful.


Output of xrandr -q
Code: Select all
Screen 0: minimum 8 x 8, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected primary 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 130mm
   1024x600      60.00*+  65.00 
   1024x600_120 120.00 
   1024x600_100 100.00 
   1024x600_85   85.00 
   1024x600_75   75.00 
   1024x600_60   60.00 
   1024x600_50   50.00 
   1024x576      59.90    59.82 
   960x540       59.63    59.82 
   800x600      186.01    94.87    60.32    56.25 
   768x576       99.99    79.37 
   864x486       59.92    59.57 
   640x480      116.65    59.94 
   720x405       59.51    58.99 
   640x360       59.84    59.32 
   512x300       60.00 
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


Content of /etc/X11/xorg.conf
Code: Select all
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
   
    # Apple iMac modes
    ModeLine "1024x768"   78.525 1024 1049 1145 1312   768  769  772  800 +hsync +vsync
    ModeLine "800x600"    62.357  800  821  901 1040   600  601  604  632 +hsync +vsync
    ModeLine "640x480"    49.886  640  661  725  832   480  481  484  514 +hsync +vsync
   
    # Apple monitors tend to do 832x624
    ModeLine "832x624"    57      832  876  940 1152   624  625  628  667 -hsync -vsync
   
    # Apple PowerBook G3
    ModeLine "800x600"    100     800  816  824  840   600  616  624  640 -hsync -vsync
   
    # Apple TI Powerbook
    ModeLine "1152x768"   78.741 1152 1173 1269 1440   768  769  772  800 +vsync +vsync
   
    # Pismo Firewire G3
    ModeLine "1024x768"   65     1024 1032 1176 1344   768  771  777  806 -hsync -vsync
   
    # iBook2
    ModeLine "1024x768"   65     1024 1048 1184 1344   768  771  777  806 -hsync -vsync
   
    # 17" Apple Studio Display
    ModeLine "1024x768"   112.62 1024 1076 1248 1420 768 768 780 808 +hsync +vsync
   
    # HiRes Apple Studio Display
    ModeLine "1280x1024"  135    1280 1288 1392 1664  1024 1027 1030 1064
   
    # Another variation
    ModeLine "1280x1024"  134.989 1280 1317 1429 1688  1024 1025 1028 1066 +hsync +vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1024x600_120"  107.41  1024 1096 1208 1392  600 601 604 643  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1024x600_100"  87.51  1024 1088 1200 1376  600 601 604 636  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1024x600_85"  72.83  1024 1080 1192 1360  600 601 604 630  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1024x600_75"  63.20  1024 1080 1184 1344  600 601 604 627  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1024x600_60"  48.96  1024 1064 1168 1312  600 601 604 622  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1024x600_50"  39.55  1024 1048 1152 1280  600 601 604 618  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection


Below /etc/X11/xorg.conf.d there is only the file "00-keyboard.conf"
magchris
 
Posts: 20
Joined: Nov 19th, '17, 20:47


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest