[Solved] Screen working with Ubuntu and not with Mageia

[Solved] Screen working with Ubuntu and not with Mageia

Postby Lebarhon » Mar 6th, '16, 12:23

Hello,
A strange thing happens to me.
I have 2 desktops, PC1 with Mageia5 and a 24"screen, PC2 with Mageia5, Ubuntu and a 17" screen. Both have no graphic card and uses the Intel IGP.
I few days ago, PC1 began to blink all black from time to time and more and more often. I checked connections, but they were all fine. I swaped the screens, PC1 with the 17" works fine and PC2 with the 24" has problems. I can see the Mageia5 bootsplash, but the screen becomes black at the connection screen, stays black during all the session and works again during the powering off.
Why does the screen work during the powering on and off and not between ?
So, I tried to boot Ubuntu, and there, the 24" screen works fine.
In short, my screen doesn't work with Mageia 5 on 2 different PCs but works with Ubuntu !
What do you think ?
Thanks.
Last edited by Lebarhon on Mar 11th, '16, 15:37, edited 1 time in total.
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Screen working with Ubuntu and not with Mageia

Postby doktor5000 » Mar 6th, '16, 16:09

Maybe different modelines, driver versions and more between Mageia and Ubuntu?
At least a comparison of /etc/X11.xorg.conf and further files below /etc/X11.xorg.conf.d and a look at /var/log/Xorg.0.log would be necessary to determine what modes, refresh rates and such are used on both systems.
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screen working with Ubuntu and not with Mageia

Postby ozky » Mar 6th, '16, 16:45

Ubuntu/linux/xorg don't use xorg.conf it's depcrated many years ago but still works,instead of old xorg.conf it's using in these config files from.
Code: Select all
/etc/X11/xorg.conf.d/20-intel/nvidia/ati.conf
/etc/X11/xorg.conf.d/10-monitor.conf

Mageia use it because drakx11 generate it still automatically.
https://wiki.archlinux.org/index.php?ti ... did=113007
https://wiki.archlinux.org/index.php/Xorg
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Screen working with Ubuntu and not with Mageia

Postby doktor5000 » Mar 6th, '16, 16:55

And how does that help the OP?
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screen working with Ubuntu and not with Mageia

Postby ozky » Mar 6th, '16, 17:44

Op don't try to find it from ubuntu.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Screen working with Ubuntu and not with Mageia

Postby doktor5000 » Mar 6th, '16, 19:53

That's why I mentioned both config methods including files below /etc/X11.xorg.conf.d and the log /var/log/Xorg.0.log, which will have the resulting configuration X server chooses dynamically.
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screen working with Ubuntu and not with Mageia

Postby Lebarhon » Mar 6th, '16, 20:33

Thank you both,

Mageia was working since the beginning in 1920x1280 24 bit. The screen firstly doesn't work any more in this resolution, but was OK in any other resolution, or 1920x1280 16 bit.
I though as Ubuntu auto-configurated in 1680x1050, so it was working.

But it wasn't for long (a few hours) because now each resolution is bad for Mageia, on the 2 PCs (screen always black even if I hit Alt+Ctrl+F2) but OK for Ubuntu (except 1920x1280, but this resolution isn't proposed).
The 17" screen is still OK everywhere.
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Screen working with Ubuntu and not with Mageia

Postby doktor5000 » Mar 6th, '16, 20:36

Why don't you try with 1680x1050 on Mageia for the 24" screen? Can you show the output of
Code: Select all
xrandr -q
please from both Ubuntu and Mageia.
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screen working with Ubuntu and not with Mageia

Postby Lebarhon » Mar 6th, '16, 22:57

With Mageia, a lot of chance is needed to have time to do that before it crashes:
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x 32767
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 510mm x 286mm
1680x1050 59.95*+
1680x1050_120 120.00
1680x1050_100 100.00
1680x1050_85 85.00
1680x1050_75 75.00
1680x1050_60 60.00
1680x1050_50 50.00
1600x1000_120 120.00
1600x1000_100 100.00
1600x1000_85 85.00
1600x1000_75 75.00
1600x1000_60 60.00
1600x1000_50 50.00
1280x1024 75.02 70.00 60.02
1440x900_120 120.00
1440x900_100 100.00
1440x900_85 85.00
1440x900_75 75.00
1440x900 59.89
1440x900_60 60.00
1440x900_50 50.00
1280x960 60.00
1360x768 66.16
1280x800_120 120.00
1280x800_100 100.00
1280x800_85 85.00
1280x800_75 75.00
1280x800 59.81
1280x800_60 60.00
1280x800_50 50.00
1024x768 75.08 70.07 60.00
800x600 72.19 75.00 60.32 56.25
768x576 99.99 79.37
640x480 75.00 72.81 60.00
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


With Ubuntu
sam@sam-H81M-S2PV:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 32767 x 32767
VGA1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 510mm x 286mm
1680x1050 60.0*
1280x1024 75.0 70.0 60.0
1440x900 59.9
1280x960 60.0
1360x768 66.2
1280x800 59.8
1024x768 75.1 70.1 60.0
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
sam@sam-H81M-S2PV:~$
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Screen working with Ubuntu and not with Mageia

Postby doktor5000 » Mar 6th, '16, 23:17

Okay, Mageia seems to offer much higher refresh rates, maybe the modeline for the monitor is wrong. Can you attach or post your xorg.conf as mentioned previously, and also try after renaming it, that way you should get the same result as with Ubuntu.
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screen working with Ubuntu and not with Mageia

Postby Lebarhon » Mar 7th, '16, 10:17

I tried again this morning the 24" with Mageia in 1680x1050 and it is working! I don't know why, an unpredictable trouble on the screen, a configuration file that automatically changed, something I missed?
here is the 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"
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

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

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName ""
    HorizSync 30-83
    VertRefresh 60-75
   
    # Monitor supported modeline (66.2 Hz vsync, 52.6 kHz hsync, ratio 16/9, 63 dpi)
    ModeLine "1360x768" 85 1360 1424 1536 1616 768 771 777 795 +hsync +vsync
   
    # Monitor preferred modeline (59.6 Hz vsync, 66.8 kHz hsync, ratio 16/9, 90 dpi)
    ModeLine "1920x1080" 172 1920 2040 2248 2576 1080 1083 1089 1120 +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 "1680x1050_120"  313.20  1680 1816 2000 2320  1050 1051 1054 1125  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1680x1050_100"  256.20  1680 1808 1992 2304  1050 1051 1054 1112  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1680x1050_85"  214.51  1680 1800 1984 2288  1050 1051 1054 1103  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1680x1050_75"  188.07  1680 1800 1984 2288  1050 1051 1054 1096  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1680x1050_60"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1680x1050_50"  120.21  1680 1776 1952 2224  1050 1051 1054 1081  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x1000_120"  284.04  1600 1728 1904 2208  1000 1001 1004 1072  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x1000_100"  232.13  1600 1720 1896 2192  1000 1001 1004 1059  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x1000_85"  194.21  1600 1712 1888 2176  1000 1001 1004 1050  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x1000_75"  169.13  1600 1704 1880 2160  1000 1001 1004 1044  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x1000_60"  133.14  1600 1704 1872 2144  1000 1001 1004 1035  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1600x1000_50"  108.66  1600 1688 1856 2112  1000 1001 1004 1029  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_120"  229.75  1440 1552 1712 1984  900 901 904 965  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_100"  187.55  1440 1544 1704 1968  900 901 904 953  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_85"  156.79  1440 1536 1696 1952  900 901 904 945  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_75"  136.49  1440 1536 1688 1936  900 901 904 940  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_60"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_50"  87.41  1440 1512 1664 1888  900 901 904 926  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
   
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -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
   
    Subsection "Display"
        Depth 8
        Modes "1680x1050" "1600x1000" "1440x900" "1280x800"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "1680x1050" "1600x1000" "1440x900" "1280x800"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1680x1050" "1600x1000" "1440x900" "1280x800"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "1680x1050" "1600x1000" "1440x900" "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection
Last edited by doktor5000 on Mar 7th, '16, 20:16, edited 1 time in total.
Reason: added code tags
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Screen working with Ubuntu and not with Mageia

Postby jiml8 » Mar 7th, '16, 17:29

There might actually be an issue here.

A few days ago, I started seeing similar symptoms on my workstation. I have an nVidia GT 740 video card driving an HP 27" led display via HDMI. It has worked fine for years.

The symptoms I saw were the display going black for about 3 seconds, then returning. I would go for hours with no issue, then it would start doing it - and once it started, it would become more frequent.

My diagnosis included a number of things, including reinstalling the driver, then updating the nVidia driver to the latest version on their website (from 355.11 to 361.28). After unplugging and replugging the HDMI cable from the monitor, the display came up corrupted (a lot of tearing, that did not clear up) so I switched to a console and restarted the display manager. Since that time, the symptoms have not re-occured, but I only did this last evening.

The corrupted display when the HDMI was reconnected made me wonder if I had a fault appearing in my video card, but now that I see this post by someone else, I am forced to wonder if a recent software update has introduced a problem.
jiml8
 
Posts: 1253
Joined: Jul 7th, '13, 18:09

Re: Screen working with Ubuntu and not with Mageia

Postby doktor5000 » Mar 7th, '16, 20:21

@Lebarhon: You have a lot of modelines in your xorg.conf, which probably comes from the fact that you selected a specific monitor model in drakx11 or in installer.
I'd advise to not use those and choose plug&play monitor generic entry, let X auto-detect those and use the configuration tool of the desktop environment to change resulutions dynamically via xrandr.

E.g. I only have this in xorg.conf, with a 24" 1920x1200 display:

Code: Select all
Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
   
    # 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
EndSection


xrandr offers all the regular resolutions, not a huge list like in your case with refresh rates that may not all be supported by your display:

Code: Select all
[doktor5000@Mageia5]─[19:19:02]─[~] xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    59.99    59.94    50.00    60.05    60.00    50.04
   1680x1050     59.95
   1600x1200     60.00
   1440x900      59.89 
   1366x768      59.79 
   1280x1024     60.02 
   1280x960      60.00 
   1280x720      60.00    59.94    50.00 
   1024x768      60.00 
   800x600       60.32    56.25 
   720x576       50.00 
   720x480       59.94 
   640x480       59.94    59.93 
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
Unknown-0 disconnected (normal left inverted right x axis y axis)
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screen working with Ubuntu and not with Mageia

Postby Lebarhon » Mar 8th, '16, 10:40

hello,

Yesterday evening, I moved xorg.conf to xorg.conf.old and rebooted. In the MCC, I have Monitor: Customized/Plug and play and Resolution: Automatic (24bit).
Here is my new 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"
    ModelName ""
    HorizSync 30-83
    VertRefresh 60-75
   
    # Monitor supported modeline (66.2 Hz vsync, 52.6 kHz hsync, ratio 16/9, 63 dpi)
    ModeLine "1360x768" 85 1360 1424 1536 1616 768 771 777 795 +hsync +vsync
   
    # Monitor preferred modeline (59.6 Hz vsync, 66.8 kHz hsync, ratio 16/9, 90 dpi)
    ModeLine "1920x1080" 172 1920 2040 2248 2576 1080 1083 1089 1120 +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
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

So far, it is working
Wait and see :D
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Screen working with Ubuntu and not with Mageia

Postby Lebarhon » Mar 11th, '16, 15:36

For the last 3 days, the screen crashed about once or twice a day, mostly at the end of the day, may be a thermal problem, the screen is powered on from 8am to 13pm. At least, the behaviour is now the same for Ubuntu and Mageia, so the screen is probably dying slowly and I am going to by a new one. I set the post as solved.
Thanks again
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest

cron