WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (solved) Xorg start slow due to mga failed loading; workaround?  (Read 4151 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
(solved) Xorg start slow due to mga failed loading; workaround?
« on: December 20, 2011, 04:14:49 PM »
hello,
the boot time on my desktop is increasing from 46s (xorg74) to 69s (xorg76).
xorg76 is good because it goes to 1000x700 (instead of 800x600 at xorg74).
Has somebody any idea how to speed up the xorg setup at boot?
It seems to be hanging a bit at a mga module loding.
see log file.
Any idea ist welcome.
(xorg74 is for allowing to receive skype video.
xvesa boot time is quicker and approx 36s but dont work with skype).
« Last Edit: December 22, 2011, 06:10:05 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #1 on: December 20, 2011, 10:34:24 PM »
xorg76 is good because it goes to 1000x700 (instead of 800x600 at xorg74).

you should be able to get the same thing with the right xorg.conf in xorg74, no?

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #2 on: December 21, 2011, 03:59:17 AM »
With the same conf file
- after long months of try with xorg74 I could not get a better resolution than 800x600
- xorg76 goes immediatly to higher definition (with the first cold start this morning, It needed only 54s: funny, probably the hardware has an influence)
Perhaps there is a solution; but did not find it. Except changing to xorg76.
Here is my conf file in the attachment (a bit dirty I must say..).
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #3 on: December 21, 2011, 04:24:11 AM »
you could try xorg76 without a conf file at all and see if that's faster

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #4 on: December 21, 2011, 05:44:24 AM »
According to the log, it's trying to load the DRM mga module. Make sure you have the graphics- extension loaded - it's only a dep of those drivers that absolutely require it.

edit: And the matrox firmware too (firmware.tcz).
The only barriers that can stop you are the ones you create yourself.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #5 on: December 22, 2011, 06:09:36 AM »
Thanks to curaga and juanito.

a) correct:  in Xorg76, the grafics.. extension has to be loaded. Time saving at boot approx 13s

b) in xorg76 the firmware.tcz at boot only make it slower by 2s (I could not see any advantage)

c) I had a look again at xorg74.
     by looking at my screen specs I had in the xorg conf file
           ....  #        HorizSync    27-96
                 #        VertRefresh  50-160

       and looking at the xorg76 log file
           .... Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
                Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)

      and looking at the xorg74 log file, I saw the xorg76 scanned automatically a larger frequency than xorg74.
      so, I activated the parameters
          ....    HorizSync    27-96
                  VertRefresh  50-160
      and it goes automaticcaly to a very large pixel (too large).

      so, I reduced the scanning area in xorg.conf with
        HorizSync    45-50
        VertRefresh  55-65
           (according some frequency informations which are in the xorg76 log file "Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz")

      and now, it goes automatically into 1024x768 for both xorg74 and 7.6.
      Good.

I stay with xorg74: less RAM ressources and same boot time than xorg76 (no firmware.tcz loaded).
Boot time: from the "return" key activation in the grub menue, till the background appear on the screen: 51s.

Info: I did not test xorg76 without xorg.conf file because I remember xorg74 did not start without xorg.conf file.
« Last Edit: December 22, 2011, 06:24:42 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #6 on: December 22, 2011, 06:44:04 AM »
Info: I did not test xorg76 without xorg.conf file because I remember xorg74 did not start without xorg.conf file.

xorg76 is much better in this regard, it's worth a try

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #7 on: December 23, 2011, 12:24:12 PM »
Info: I did not test xorg76 without xorg.conf file because I remember xorg74 did not start without xorg.conf file.

xorg76 is much better in this regard, it's worth a try
interesting, I confirm, it works confless.
so, I learned something today.
xorg76 confless gives 4,8s according log file but it stay with us keyboard and I have a german keyboard. so I have to config. test was =  I started with xorg76 and conf file.. deleted it .. and made startx at exit/prompt and had a look into the log file.
xorg76 with config gives 6,6s according log file.
links extension dont work similar than xorg74. bug...?
so, I would change to xorg76 if there is a way to have my -de- keyboard outside of the xorg configuration.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Xorg start slow due to mga failed loading; workaround?
« Reply #8 on: December 23, 2011, 12:44:14 PM »
so, I would change to xorg76 if there is a way to have my -de- keyboard outside of the xorg configuration.

I'd think there's a way to only include the keyboard setting in a conf file and leave the rest up to xorg76, but I've never bothered to find out if it's possible or how to do it..

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: (solved) Xorg start slow due to mga failed loading; workaround?
« Reply #9 on: December 23, 2011, 01:46:34 PM »
Yes, with recent Xorg you can only have some sections there, like the keyboard one.

Though, I prefer to always have full configs, just because it's usually faster to just read & do as the file says than to autoprobe.
The only barriers that can stop you are the ones you create yourself.