Page 1 of 2
[DONE]Upgrade from 6 to 7 couse black screen

Posted:
Jul 3rd, '19, 09:59
by mackowiakp
I just upgraded M6 to M7 using on-line method over Internet, according to the way described in Mageia WIKI. After reboot (KDE, Plasma display) screen become black. One time it started normally (in rescue mode) but after next reboot only Mageia login screen is display and no action is taken after enter a password.
So I try to resolve the problem according to
https://wiki.mageia.org/en/Mageia_7_Errataand
https://bugs.mageia.org/show_bug.cgiNothing help. Below listing of my graphic card. This is laptop equipped in in-processor GPU and NVIDIA as add-on:
- Code: Select all
[root@piotr-l ~]# lspcidrake -v|grep Card
Card:Intel 810 and later: Intel Corporation|4th Gen Core Processor Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0416 subv:1043 subd:185d) (rev: 06)
Card:NVIDIA GeForce 635 series and later: NVIDIA Corporation|GM107M [GeForce GTX 950M] [DISPLAY_3D] (vendor:10de device:139a subv:1043 subd:185d) (rev: a2)
X server is set to "Intel 810 and later" and it worked properly under M6. What I can I to do to back system to life? If any additional info needed, I will send it ASAP.
Be so kind to help
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 4th, '19, 09:49
by martinw
If you select IceWM Session instead of Plasma, does that get you to a working desktop?
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 4th, '19, 10:06
by mackowiakp
No. It still hangs after entering password on M7 login screen. Does not matter Plasma or IceWM i choose.
But the system is alive itself. It is possible to login to ones over ssh for example.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 4th, '19, 19:58
by martinw
If you can get in via ssh, there's three places I'd look for helpful error messages after an attempt to log in:
1. The .xsession-errors file in your home directory
2. /var/log/Xorg.0.log
3. As root, running 'journalctl -b'
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 5th, '19, 05:29
by mackowiakp
So You have. Files are zipp`ed because it was not possible to add files one by one (I really dont know why).
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 5th, '19, 09:09
by ITA84
In the Xorg.0.log file there's this error message at the end
(EE) Failed to open authorization file "/var/run/sddm/{a9fd7e86-375d-4277-a1af-b7e0fef66543}": No such file or directory
Not sure what it means, though. It's probably related to some changes in how sessions are managed, but I couldn't find much about it; some other people had a similar problem in the transition from KDM to SDDM, and here
https://bugzilla.opensuse.org/show_bug.cgi?id=1128891there are a couple things but no definitive solution. Maybe you should open a bug report
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 5th, '19, 13:21
by mackowiakp
So the only solution is restore M6 from ISO files I created before upgrade M6 to M7. And wait.....
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 5th, '19, 16:14
by doktor5000
And wait for what? That issue will probably not magically fix itself ...
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 5th, '19, 19:41
by kbulgrien
For what its worth, I also cannot get a graphical desktop working with an NVIDIA card. I tried upgrading and doing all the tricks I've used in the past since Mageia all too often breaks NVIDIA graphics support. I even did an install from installation media with the same results. I have an NVIDIA 750Ti.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 6th, '19, 13:10
by martinw
@makowiakp You could try switching to a different DM. That would show whether this is a SDDM problem or something else. Via ssh, you can run drakdm (it will run in text mode). xdm should already be installed and available for selection.
@kbulgrien, you should start a new thread for that. makowiakp can get to a login screen, so this is a different problem.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 6th, '19, 13:29
by mackowiakp
I restored from M7 to M6 back. According to
https://bugzilla.opensuse.org/show_bug.cgi?id=1128891its a potential bug. Will wait....
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 12th, '19, 08:53
by magfan
After reboot (KDE, Plasma display) screen become black. One time it started normally (in rescue mode) but after next reboot only Mageia login screen is display and no action is taken after enter a password.
Once I had the same (?) problem. In my case I had to switch to a console (e.g., Atl+Ctrl+F2), login and remove all ".Xauthority*" files in my $HOME directory. After that login from the graphical login screen worked.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 12th, '19, 16:40
by mackowiakp
Does not work for me

Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 15th, '19, 09:34
by magfan
There is still another possibility. On one laptop I had to rename $HOME/.config and $HOME/.local. After that I could login again. OK, I had to reconfigure my desktop after that but at least I had a desktop again...
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 15th, '19, 15:16
by mackowiakp
Yep. It help for me too. It was probably the "magical issue" what the doktor5000 wrote about

Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 15th, '19, 16:10
by mackowiakp
I think that I found the reason why screen is black. After deletion of $HOME/.config and $HOME/.local, screen work properly. But whe I try to change the resolution form "System settings" (not globally but only for particular session) to lower, screen became to black again. After next deletion of $HOME/.config and $HOME/.local dirs, screen is active again with default (maximum) resolution. Because of my eyes, I want to lower resolution. What file is respossible for keeping resolution parameters for session?
Below my graphics cards config:
- Code: Select all
[root@piotr-l ~]# lspcidrake -v|grep Card
Card:Intel 810 and later: Intel Corporation|4th Gen Core Processor Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0416 subv:1043 subd:185d) (rev: 06)
rtsx_pci : Realtek Semiconductor Co., Ltd.|RTL8411B PCI Express Card Reader (vendor:10ec device:5287 subv:1043 subd:202f) (rev: 01)
Card:NVIDIA GeForce 635 series and later: NVIDIA Corporation|GM107M [GeForce GTX 950M] [DISPLAY_3D] (vendor:10de device:139a subv:1043 subd:185d) (rev: a2)
As I wrote, it is laptop with only one monitor output. So NVIDA is add-on.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 15th, '19, 16:55
by ITA84
If you need to lower the resolution because you want everything to look bigger, then you could try display scaling (I haven't tried it myself, I've read it's not perfect): System Settings -> Display and Monitor -> Display Configuration -> Scale Display. You might have to scale fonts and icons separately, in their respective sections of System Settings
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 15th, '19, 17:03
by mackowiakp
Yes. It is not perfect solution especialy for 3 ty party apps not supported by Mageia. Example Dassault CAD very importand for me.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 15th, '19, 20:41
by magfan
Yes, screen resolution can be a challenging topic. On my Intel/Nvidia-Laptop I have added
- Code: Select all
Option "DPI" "96 x 96"
to the Nvidia screen section in /etc/X11/xorg.conf:
- Code: Select all
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "DPI" "96 x 96"
Option "AllowEmptyInitialConfiguration" "on"
EndSection
This helps a lot with many 3rd party programs. But KDE/Plasma has to be configured separately.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 16th, '19, 09:22
by ITA84
By the way, I'm not 100% sure, but the config file with the screen settings for Plasma should be arandomly-named file inside ~/.local/share/kscreen
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 16th, '19, 11:57
by mackowiakp
I will try. But the still the problem exist. How to change resolution without black screen effect? I set globally (via MCC) resolution to lower but it does not effect for KDE session of course.
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 16th, '19, 22:55
by doktor5000
See above, the hint about kscreen. You should not use MCC to change the X server configuration, but leave it at the default and also at an plug&play monitor,
then use xrandr frontends like kscreen or xrandr directly to change resolution dynamically.
What's the output of
- Code: Select all
kscreen-console
xrandr -q
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 17th, '19, 08:13
by mackowiakp
Current output from kscreen-console
- Code: Select all
START: Requesting Config
Received config. Took 12 milliseconds
Screen:
maxSize: QSize(32767, 32767)
minSize: QSize(8, 8)
currentSize: QSize(1920, 1080)
-----------------------------------------------------
Id: 67
Name: "eDP1"
Type: "Panel (Laptop)"
Connected: true
Enabled: true
Primary: true
Rotation: 1
Pos: QPoint(0,0)
MMSize: QSize(340, 190)
FollowPreferredMode: false
Size: QSize(1920, 1080)
Scale: 1
Clones: None
Mode: "73"
Preferred Mode: "73"
Preferred modes: ("73")
Modes:
"292" "" QSize(1920, 1080) 59.9339
"293" "" QSize(1680, 1050) 59.8833
"294" "" QSize(1400, 1050) 59.9756
"295" "" QSize(1600, 900) 59.9996
"296" "" QSize(1600, 900) 59.946
"297" "" QSize(1600, 900) 59.8248
"298" "" QSize(1280, 1024) 76.2498
"299" "" QSize(1280, 1024) 75.0186
"300" "" QSize(1280, 1024) 60.0197
"301" "" QSize(1400, 900) 59.9641
"302" "" QSize(1400, 900) 59.8798
"303" "" QSize(1280, 960) 60
"304" "" QSize(1368, 768) 60
"305" "" QSize(1368, 768) 59.882
"306" "" QSize(1368, 768) 59.8532
"307" "" QSize(1280, 800) 59.8103
"308" "" QSize(1280, 800) 59.9095
"309" "" QSize(1280, 768) 120.002
"310" "" QSize(1280, 768) 99.9989
"311" "" QSize(1280, 768) 84.9985
"312" "" QSize(1280, 768) 75.0023
"313" "" QSize(1280, 768) 60.003
"314" "" QSize(1280, 768) 50.0012
"315" "" QSize(1280, 720) 59.8551
"316" "" QSize(1280, 720) 59.9995
"317" "" QSize(1280, 720) 59.7447
"318" "" QSize(1152, 768) 68.3516
"319" "" QSize(1024, 768) 98.1558
"320" "" QSize(1024, 768) 74.8142
"321" "" QSize(1024, 768) 60.0038
"322" "" QSize(1024, 768) 60.0038
"323" "" QSize(1024, 576) 59.9989
"324" "" QSize(1024, 576) 59.8992
"325" "" QSize(1024, 576) 59.8195
"326" "" QSize(832, 624) 74.1817
"327" "" QSize(960, 540) 59.9991
"328" "" QSize(960, 540) 59.629
"329" "" QSize(960, 540) 59.8182
"330" "" QSize(800, 600) 186.012
"331" "" QSize(800, 600) 94.8713
"332" "" QSize(800, 600) 60.3165
"333" "" QSize(800, 600) 56.25
"334" "" QSize(768, 576) 99.9867
"335" "" QSize(768, 576) 79.3651
"336" "" QSize(864, 486) 59.9998
"337" "" QSize(864, 486) 59.9153
"338" "" QSize(864, 486) 59.5703
"339" "" QSize(800, 480) 120.001
"340" "" QSize(800, 480) 99.9993
"341" "" QSize(800, 480) 84.9962
"342" "" QSize(800, 480) 74.993
"343" "" QSize(800, 480) 59.9971
"344" "" QSize(800, 480) 50.0083
"345" "" QSize(640, 480) 116.652
"346" "" QSize(640, 480) 59.9405
"347" "" QSize(720, 405) 59.5062
"348" "" QSize(720, 405) 60
"349" "" QSize(720, 405) 58.9879
"350" "" QSize(640, 360) 59.8404
"351" "" QSize(640, 360) 59.3249
"352" "" QSize(640, 360) 59.9971
"73" "" QSize(1920, 1080) 60.0962
EDID Info:
Device ID: "xrandr-unknown"
Name: ""
Vendor: ""
Serial: ""
EISA ID: "156HL01-102"
Hash: "ee939423154f0da39a41c727e7ca7448"
Width: 34
Height: 19
Gamma: 2.2
Red: QQuaternion(scalar:1, vector:(0.620117, 0.355469, 0))
Green: QQuaternion(scalar:1, vector:(0.299805, 0.580078, 0))
Blue: QQuaternion(scalar:1, vector:(0.150391, 0.0898438, 0))
White: QQuaternion(scalar:1, vector:(0.313477, 0.329102, 0))
-----------------------------------------------------
Id: 68
Name: "DP1"
Type: "DisplayPort"
Connected: false
-----------------------------------------------------
Id: 69
Name: "HDMI1"
Type: "HDMI"
Connected: false
-----------------------------------------------------
Id: 70
Name: "HDMI2"
Type: "HDMI"
Connected: false
-----------------------------------------------------
Id: 71
Name: "VIRTUAL1"
Type: "Unknown"
Connected: false
And current output from xrandr
- Code: Select all
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 60.10*+ 59.93
1680x1050 59.88
1400x1050 59.98
1600x900 60.00 59.95 59.82
1280x1024 76.25 75.02 60.02
1400x900 59.96 59.88
1280x960 60.00
1368x768 60.00 59.88 59.85
1280x800 59.81 59.91
1280x768_120 120.00
1280x768_100 100.00
1280x768_85 85.00
1280x768_75 75.00
1280x768_60 60.00
1280x768_50 50.00
1280x720 59.86 60.00 59.74
1152x768 68.35
1024x768 98.16 74.81 60.00 60.00
1024x576 60.00 59.90 59.82
832x624 74.18
960x540 60.00 59.63 59.82
800x600 186.01 94.87 60.32 56.25
768x576 99.99 79.37
864x486 60.00 59.92 59.57
800x480_120 120.00
800x480_100 100.00
800x480_85 85.00
800x480_75 74.99
800x480_60 60.00
800x480_50 50.01
640x480 116.65 59.94
720x405 59.51 60.00 58.99
640x360 59.84 59.32 60.00
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Screen resolution set to default "Automatic" and moniter set to "Plug&Play" in MCC.
I want to lower default maximum resolution from 1920 x 1080 (maximum monitor resolution) to 1280x768.
UPDATE - 1
Command
- Code: Select all
xrandr -s 1280x768_60
change the current session resolution, without black screen effect. But how make it permanent?
Update -2
I place this command in $HOME/.bashrc and it work. But from my point of view, such possibility should be available from "System settings", as in M^. And /etc/X11/xorg.conf file does not contain any definition for Nvidia. So - so far "DONE".
Re: Upgrade from 6 to 7 couse black screen

Posted:
Jul 18th, '19, 00:31
by doktor5000
mackowiakp wrote:But from my point of view, such possibility should be available from "System settings", as in M^.
But it does offer that, under systemsettings > display and monitor > displays you can select resolutions available via xrandr. In case that doesn't work or offer all resolutions, there's usually some unnecessary modeline definition in xorg.conf.
Re: [DONE]Upgrade from 6 to 7 couse black screen

Posted:
Jul 18th, '19, 17:34
by mackowiakp
I think that the problem could be that this laptop is equipped in "combo" graphic card Intel and NVIDIA. In ver M6 there was Nvidia driver in kernel. After upgrade to M7 it disappear. Looking to the desktop PC equipped only in Nvidia (without Intel) such packages are present:
- Code: Select all
rpm -qa|grep nvidia
nvidia340-doc-html-340.107-9.mga7.nonfree
nvidia-current-cuda-opencl-430.26-1.mga7.nonfree
dkms-nvidia340-340.107-9.mga7.nonfree
x11-driver-video-nvidia-current-430.26-1.mga7.nonfree
nvidia-nsight-10.1.168-1.mga7.nonfree
nvidia-current-utils-430.26-1.mga7.nonfree
nvidia-current-doc-html-430.26-1.mga7.nonfree
dkms-nvidia-current-430.26-1.mga7.nonfree
x11-driver-video-nvidia340-340.107-9.mga7.nonfree
nvidia-current-devel-430.26-1.mga7.nonfree
Extremely important for me is presence of Nvidia-CUDA because it dramatically increase computing performance of 3D CAD system from Dassault Systemes (very important for me).
How do You think. Can I simply install above packages?