Very slow startup of X (AntiX 21)
This only happens occasionally but I'd still like to know what causes it.
When X comes up initially, it's just a uniform light grey screen. Then the slim greeter screen comes up to collect login and password. Normally this happens very quickly. But twice now, it got stuck on the blank grey screen for half a minute or so. Is there an incipient problem here? |
I guess you need to check what's going on in the background. What processes are running, what about the RAM. Or probably there is a hardware issue somewhere.... Did you read the logs?
|
RAM is very short on that machine, about 1 GB. The only processes at this stage are daemons; I already got rid of those I think I don't need. Haven't looked at the logs yet. AntiX runs X headless so I can't just switch back to tty1 to read live output.
|
Owning older gear myself < ide drives >
Just wondering if hard drive is failing. Or maybe just needs a gentle can of air cleaning. Living in the desert out here. Dust is a problem. smartctl is in antiX. Here is a older readout from a post in the forum Code:
root@antix1:/home/roland/Desktop# smartctl --health /dev/sdc1 |
Quote:
Today I did an update and everything was normal. No disk errors and no retardation of X. But I shall definitely run your smartctl command and see what happens. |
So I switched it on again and got another long wait. I'm now going through the Xorg log and there are two gaps:
Code:
29.685] (II) AIGLX: Screen 0 is not DRI2 capable PS: just ran smartctl. PASSED. And no disk errors reported on boot. |
Quote:
|
Good thing smarctl gave your drive a thumbs up. I only mentioned this because on my motorcycle shop wireless IBM M57 desktop running AntiX 21. My boot errors are is a long list of failure to communicate to tpm chip.
Shop stays dusty so I ignore the error. Aint broke down yet. Used mostly for work orders, manuals, search for solution to a motorcycle problem, and jukebox. Also a loaner for folks that hang out. Here is what I mean by dusty < Losing cause in my case > https://ibb.co/vczhkrC https://ibb.co/BBLjjXm I'm not paranoid about the setup breaking down. I have a older spare free Dell Server from City Hall sitting under the jury table I use in my computer room in the house. If it breaks. I have a spare. Wondering if dmesg and kernel logs are going to be of use for you. Hardware trouble shooting can be hard. At least for me. If a power supply croaks, or capacitor cracks open. I replace the box. If harddrive, bios battery, or ram is the culprit. I can fix that. Since this is one of your main boxes. I would just go through sata and ide cables. Depending on connector used. And re-seating the connections. Don't cost nothing and is easy to do. Same with ram sticks and power supply connectors. Just on the motherboard. Nothing too complicated. Reboot and cross fingers. Good luck with it. |
Quote:
|
I am now in a position to show you the difference between a slow and a normal X startup. Here is the slow one:
Code:
29.685] (II) AIGLX: Screen 0 is not DRI2 capable Code:
30.466] (II) AIGLX: Screen 0 is not DRI2 capable Two further observations that may be of interest. A) X always comes up in 3 stages: 1) a light grey speckled screen that looks like the visual equivalent of electronic noise 2) a dark grey smoothly shaded screen 3) the same with login boxes. If there is a hold-up, it invariably occurs between 1) and 2). I believe that 2) is already a GLX rendered image. The lighter screen at 1) looks to me more like direct output to the video card. B) The openchrome driver used in AntiX-21 is definitely not the same one as in AntiX-19. The latter would not work at all unless the kernel was set to boot with "iomem=relaxed". This one does not need special boot parameters. So something that was wrong has been fixed, and these occasional blips are probably the results of the fix. |
Just food for thought. xorg and open chrome drivers have to be compatible .
Which is probably probably why you noticed antiX 19 worked better than 21 or 22. When I had my via issues. It was because the Open Chrome driver developer had not updated his drivers to match the newer xorg. He handles via also. I had to run vesa on my via chip. Just wondering if taking out splash might fix your issue Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet/splash/vga=current/loglevel=3/gfxmode=text" |
I think there should be something else in the logs (syslog, dmesg, ??) before that line (in time) which will be definitely different in the two cases.
|
Quote:
|
Quote:
|
I don't know if my present graphics problems are an extension of the earlier ones described here but I thought I would continue this thread in case it's all one big problem.
Now I can no longer get X to load at all via the display manager slimski. There is a slimski log but it is really a bad joke with hardly any information in it. Code:
envlang received as: en_GB.UTF-8 Code:
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) Code:
[ 166.637] (II) CHROME(0): Entered viaMapMMIO. What do I have to do to get this to work? And, more important, why has it suddenly stopped working? It was fine a week ago apart from the occasional slowdowns. I have checked the previous update and it contained nothing relevant to X. Is the inability to use startx as a normal user due to some kernel setting that I could change using sysctl or a boot line argument? |
All times are GMT -5. The time now is 09:36 PM. |