LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zorin OS (https://www.linuxquestions.org/questions/zorin-os-107/)
-   -   Black screen on boot/installation Zorin OS 15.1 (https://www.linuxquestions.org/questions/zorin-os-107/black-screen-on-boot-installation-zorin-os-15-1-a-4175667547/)

Shualik 01-12-2020 05:42 AM

Black screen on boot/installation Zorin OS 15.1
 
Hi. First of all, I'm new in Linux, so sorry for possible dumb questions.
I had black screen (no signal according to the monitor) when tried to install the Zorin os first time. Before it there was dull display of warnings but it was so quick, I could not read it. After the number of restarts install began like it should and I get the system working.

I have no issues at all after the boot, but if I boot roughly 50% times I have the same black screen (without any warnings) and have to press reset. I tried to see something at logs at the settings but could not find anything related. (Once again, I'm new to this and may be missed something). The GPU is AMD Radeon (does't remember exact model)

What can I do with this?

Thank you.

phantom_cyph 01-12-2020 06:54 AM

Given that Zorin is a paid OS, have you contacted their support channels?

More will support the "free" (as in money) systems (here) faster as we'd have to buy a copy of Zorin just to know what they changed..

That being said, you would need to be looking through the Xorg.log file in /var/log for an indication as to the cause.

hazel 01-12-2020 07:28 AM

To flesh out phantom cyph's post a little:

Linux logs just about everything. Most of the logs are cumulative but the Xorg log is not. It represents a single attempt to get X up and running. The previous log is also stored as Xorg.log.0. So if you have a successful boot after an unsuccessful one, look at the ends of both these files and see where the previous unsuccessful one broke off. My guess is that it's a video driver problem.

Also when you get the black screen, is your keyboard alive? You can check by putting down the caps lock and seeing if the indicator light comes on. If you have a working keyboard, try pressing ctrl+alt+F2 and you should see a login prompt. You can log in there and examine /var/log/Xorg.log.

Shualik 01-12-2020 09:12 AM

1 Attachment(s)
Ok, I promised the dumb questions so here is one. I couldn't locate xorg.log file inside /var/logs/
Here is the screenshot of what I have.

Speaking about the paid Os, I don't have it. I use Zorin core which is free.

phantom_cyph 01-12-2020 10:45 AM

Sounds like Freespire/Linspire all over again... :)
It's /var/log not /var/logs..

While "logs" would make more sense in English as it stores multiple logs therefore making it plural, Linux is a very programmer/developer centric system. As such it uses the programming nomenclature, lowercase and always singular. It reduces confusion in the long run because in reference it would be seen as "/var/log/Xorg.log" rather than "/var/logs/Xorg.log" which gets confusing as you're seemingly selecting a singular object from a "plural" location.

hazel 01-12-2020 11:11 AM

Did you look at the attached thumbnail? That's /var/log all right. And the OP is right, there's no X log. Which means that it is not even starting X. That is seriously weird.

If it crashed earlier in the boot process, surely you should get thrown back to console 1 with some messages.

phantom_cyph 01-12-2020 11:32 AM

Quote:

Originally Posted by hazel (Post 6077524)
Did you look at the attached thumbnail? That's /var/log all right. And the OP is right, there's no X log. Which means that it is not even starting X. That is seriously weird.

If it crashed earlier in the boot process, surely you should get thrown back to console 1 with some messages.

Yeah.. West Africa isn't known for it's decent WiFi connections, so text logs help.. as such I generally avoid screenshots/image downloads.

I did however look at the screenshot this time as it sounded odd that it's missing a xorg log. I'd recommend checking "faillog","boot.log", "lastlog" and the "kernel" logs.. the last one is interesting as (just looking at my install), I have none.. so their creation could indicate an issue which required logging..

If you want to try and search these log files easily, open a terminal in that folder and try something like:
Code:

grep -r -H "Xorg"
or
Code:

grep -r -H "<name_of_video_driver>"
And it will bring back files which mention them. That may give a better indication of what's going on. If Xorg isn't even starting.. that seems odd and it's going to be logged somewhere else.

Shualik 01-12-2020 03:36 PM

Thanks, I'll try it.

Shualik 01-13-2020 03:37 PM

Ok, I tried.

Code:

grep -r -H "ATI Radeon HD 5670"
returned this two strings from the each boot

Code:

syslog.1:Jan 12 17:15:44 HomeDesktop /usr/lib/gdm3/gdm-x-session[1319]: #011ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
syslog.1:Jan 12 17:15:44 HomeDesktop /usr/lib/gdm3/gdm-x-session[1319]: (--) RADEON(0): Chipset: "ATI Radeon HD 5670" (ChipID = 0x68d8)

Doesn't look like any error.

Code:

grep -r -H "Xorg"
returned the following

Code:

syslog:Jan 13 10:43:56 HomeDesktop /usr/lib/gdm3/gdm-x-session[1298]: (--) Log file renamed from "/home/vika/.local/share/xorg/Xorg.pid-1300.log" to "/home/vika/.local/share/xorg/Xorg.0.log"
syslog:Jan 13 10:43:56 HomeDesktop /usr/lib/gdm3/gdm-x-session[1298]: (==) Log file: "/home/vika/.local/share/xorg/Xorg.0.log", Time: Mon Jan 13 10:43:56 2020

So, I located the Xorg.0.log inside /home/.local/share/xorg/
I didn't find any error there. What should I look for?

I noticed one additional thing. Inside /var/log there is file kern.log Looks like there is nothing inside it about unsuccessful boot but I can see that at each susscesfull boot I have the same error

Code:

Jan 13 10:43:56 HomeDesktop kernel: [    0.298337] ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - LNKC (20181213/dspkginit-440)
And this string repeats itself many times. I tried to google it but didn't understand anything except this seems to be connected to the some Bios issue. May be this is my problem?

And, to clarify things, when the problem happens the keyboard doesn't work. And it's not just black screen, there is no signal going to the screen.

hazel 01-14-2020 06:00 AM

ACPI errors aren't usually significant. They arise because most computers use the Microsoft version of the ACPI control language, which is often incorrect in its syntax and the Linux kernel doesn't like that. Kern.log btw is the output of messages from the kernel.

The Xorg log is in your home directory and not in /var/log because you have a distro that runs X in your name and not as root. That's not traditional but some modern distros do it. Look at the end of the file. If there is a break, that's where it will show.

This may sound patronising, but have you checked your physical video connection? Both ends of it?

colorpurple21859 01-14-2020 08:10 AM

it appears you have hybrid graphics.
try this as root edit your /etc/default/grub
Code:

sudo nano /etc/default/grub
and change this line
Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to this
Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash fbcon=map:0"
then run
Code:

sudo update-grub
reboot. If it makes things worst at the boot menu e to edit, find the fbcon:map=1 on te line that begins with Linux and delete it. Then reverse what was previously done.

Shualik 01-14-2020 04:11 PM

Ok, I'll try it, thanks.
Meanwhile, I looked at Xorg.log.old file and I saw something at the end. Which is not at Xorg.log I guess, that Xorg.log is the last successful boot, and the Xorg.log.old is the previous unsuccessful?
Here is what is at the end of Xorg.log.old:

Code:

40.066] (**) Option "fd" "25"
[    40.066] (II) event1  - Power Button: device removed
[    40.066] (**) Option "fd" "28"
[    40.066] (II) event0  - Power Button: device removed
[    40.066] (**) Option "fd" "29"
[    40.066] (II) event3  - DELL Dell USB Entry Keyboard: device removed
[    40.066] (**) Option "fd" "30"
[    40.066] (II) event2  - USB Optical Mouse: device removed
[    40.067] (II) UnloadModule: "libinput"
[    40.067] (II) systemd-logind: releasing fd for 13:66
[    40.120] (II) UnloadModule: "libinput"
[    40.120] (II) systemd-logind: releasing fd for 13:67
[    40.244] (II) UnloadModule: "libinput"
[    40.244] (II) systemd-logind: releasing fd for 13:64
[    40.245] (II) UnloadModule: "libinput"
[    40.245] (II) systemd-logind: releasing fd for 13:65
[    40.247] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[    40.247] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[    40.247] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[    40.370] (II) Server terminated successfully (0). Closing log file.

Needless to say, i have absolutely no idea what that means.

Shualik 01-14-2020 05:53 PM

Quote:

Originally Posted by colorpurple21859 (Post 6078261)
it appears you have hybrid graphics.
try this as root edit your /etc/default/grub
Code:

sudo nano /etc/default/grub
and change this line
Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to this
Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash fbcon=map:0"
then run
Code:

sudo update-grub
reboot. If it makes things worst at the boot menu e to edit, find the fbcon:map=1 on te line that begins with Linux and delete it. Then reverse what was previously done.

Tried it. Didn't felt that it did anything. Two times I had the same issue, from the third time system booted successfully. So I reverted the changes.

colorpurple21859 01-15-2020 05:09 AM

you need to post the whole xorg.log file

hazel 01-15-2020 05:52 AM

Quote:

Originally Posted by colorpurple21859 (Post 6078573)
you need to post the whole xorg.log file

I don't know if there's any point in that. The end shows that it closed down successfully, presumably at system shut-down. If it had broken at some point, it would have ended at the break. At least that's always been my experience with X logs.

colorpurple21859 01-15-2020 12:28 PM

what is output of
Code:

lspci -vnn | grep '\''[030[02]\]'
cat /sys/kernel/debug/vgaswitcheroo/switch

Quote:

I don't know if there's any point in that.
I want to see what drivers are loaded at start of X

Shualik 01-16-2020 05:13 PM

1 Attachment(s)
Here you go:

And the output is

Code:

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730] [1002:68d8] (prog-if 00 [VGA controller])
For
Code:

cat /sys/kernel/debug/vgaswitcheroo/switch
I've got 'permission denied'.

BTW, I don't know if it's important, since I made this thread I switched from Zorin to Ubuntu 18.04. The boot problem still remains.

hazel 01-17-2020 05:32 AM

There's something odd about that log. Usually when the keyboard and mouse have been configured, that's it until X shuts down. But this log continues with another set of video messages. It looks almost as if the graphics card has been reinitialised. Now why would that happen, I wonder?

I looked again and there are two monitor outputs.
Code:

[ 52127.221] (II) RADEON(0): EDID for output DVI-0
[ 52127.221] (II) RADEON(0): Manufacturer: SAM  Model: 27f  Serial#: 1296380466
..............
[ 52127.222] (II) RADEON(0): Monitor name: SyncMaster
[ 52127.222] (II) RADEON(0): Serial No: HVJPC05521
......

and then at the end:
Code:

[ 52201.893] (II) RADEON(0): EDID vendor "SAM", prod id 639
[ 52201.893] (II) RADEON(0): Using EDID range info for horizontal sync
[ 52201.893] (II) RADEON(0): Using EDID range info for vertical refresh

Which is the one that isn't giving a signal?

colorpurple21859 01-17-2020 05:59 AM

I don't think this will show anything, but just in case, the output of
Code:

sudo cat /sys/kernel/debug/vgaswitcheroo/switch

Shualik 01-18-2020 02:37 AM

Quote:

Which is the one that isn't giving a signal?
There is only one. SyncMaster.

Code:

sudo cat /sys/kernel/debug/vgaswitcheroo/switch
Code:

cat: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory

colorpurple21859 01-18-2020 09:19 AM

When you get a black screen press alt-ctrl-f1, do you get a console login screen?

Shualik 01-18-2020 05:44 PM

Quote:

Originally Posted by colorpurple21859 (Post 6079984)
When you get a black screen press alt-ctrl-f1, do you get a console login screen?

No. The keyboard is dead as well.

colorpurple21859 01-18-2020 07:04 PM

open a terminal post the output of
Code:

xrandr

colorpurple21859 01-18-2020 07:11 PM

when you get a black screen does ctrl-alt-f1 ctrl-atl-delete reboot the computer, may take 20-30 seconds to reboot.

Shualik 01-24-2020 05:14 PM

Quote:

Originally Posted by colorpurple21859 (Post 6080178)
open a terminal post the output of
Code:

xrandr

Code:

Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
XWAYLAND0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 470mm x 300mm
  1680x1050    59.85*+

Quote:

when you get a black screen does ctrl-alt-f1 ctrl-atl-delete reboot the computer, may take 20-30 seconds to reboot.
No, it doesn't.

Shualik 06-16-2020 05:36 AM

I'm not sure it would be of any help to anybody but I'll post it here anyway. It seems that the problem had nothing to do with software. One day i just put the graphic card in another slot on motherboard and it solved this thing. Anyway, thanks guys for your time.

colorpurple21859 06-16-2020 07:52 AM

Thanks for the update


All times are GMT -5. The time now is 09:33 AM.