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.


All times are GMT -5. The time now is 11:35 PM.