You are not logged in.

#1 2015-08-17 17:03:11

d3x0r
Member
Registered: 2015-08-17
Posts: 42

X Fails to start (or configure) (VMWare and i3 4400)

I've tried several options from searches on this problem already.

VM Workstation 10.0.2  x86_64  (did have bios option for virtualization disabled, but now that it's enabled, was able to install x64)

Xorg :0 -configure fails ending with...
1) xf86-video-vmware :
   No devices to configure.  Configuration Failed.
   
2) xf86-video-vesa : (gets further, creates an xorg.conf.new, loads font paths)
   Number of created screens does not match number of detected devices.
   Configuration failed.

lspci -v | grep -e VGA -e 3D shows
   VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller])
            Subsystem: VMware SVGA II Adapter

I have toggled the option in vmware display driver for accelerated 3D but that didn't change behavior
I tried setting number of monitors and max resolution options instead of 'Use host setting for monitors' but that didn't change anything either.

if I run Xorg alone (or X) it goes to a black screen with a cursor underline in upper left and becomes unresponsive to keyboard.

Last edited by d3x0r (2015-08-24 10:08:12)

Offline

#2 2015-08-20 12:40:43

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

Same results on the hardware I was getting too. It's a Core i3; reports 4th generation video, results always with
'No devices to configure. Configuration Failed.'
But scouring the net for other hints reveals nothing useful just a few one-offs that had the same problem and the threads all just died off probably without solution.

Offline

#3 2015-08-24 04:25:38

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

I decided to spend some time debugging this.
Figured I could just download xf86-video-intel sources and build them but I keep getting

configure.ac:55: error: must install xorg-server macros before running autoconf/autogen.
  Hint: either install from source, git://anongit.freedesktop.org/xorg/xserver or,
  depending on your distribution, try package 'xserver-xorg-dev' or 'xorg-x11-server-devel'

which I did; make them and installed and nwo there's xorg-macros.m4 in /usr/share/aclocal but they're still not found.  I also found that there's /usr/share/aclocal-1.15 so I copied them there, and it still complains.

I figured maybe you're building from modified sources so I found how to get the sources of  a package
http://stackoverflow.com/questions/4468 … arch-linux

but that has the same error (actually the above was copied from the makepkg output).

(while posting found xorg-util-macros; which conflicted with the manually installed /usr/share/aclocal/xorg-macros.m4 so at least I found the correct version of that )

Hmm... and while writing this I realized had copied /var/abs/extra/xf86-video-intel to the wrong location... ~/addons instead of ~/addons/srcpit so I moved that directory.... them makepkg kept complaining that ~/addons/xf86-video-intel/xf86-video-intel was not a valid GIT repsoritory... how did it know that that's the location it used to be in?

And if I'm supposed to copy each of these various projects, how will it ever find xorg-macros in the right place?

Offline

#4 2015-08-24 07:24:33

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

Reading a little further 'makepkg -s' will auto install dependancies also... so having done that it nearly configured.  But there's a missing dependency on 'pkg-config' for xf86-video-intel

makepkg also missing dependency fakeroot

Last edited by d3x0r (2015-08-24 07:34:27)

Offline

#5 2015-08-24 08:12:03

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: X Fails to start (or configure) (VMWare and i3 4400)

VM Ware and the like is virtualization software.  It doesn't provide a real graphics card like the intel you're trying to - futility - build.  Virtualization software provides virtual devices.  In this case for graphics your initial post, xf86-video-vmware, would be the correct driver to get working.  From your 4 posts in this thread I do believe however that basic virtualization and Linux operations need some more review for yourself.

Edit: Also, you probably need base-devel installed to get fakeroot.

Last edited by headkase (2015-08-24 08:13:44)

Offline

#6 2015-08-24 10:01:19

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

makepkg failed to verify the signature of  xorg-server-1.17.2.tar.bz2 with  xorg-server-1.17.2.tar.bz2.sig(?) I tried to manually use 'gpg --verify  xorg-server-1.17.2.tar.bz2.sig  xorg-server-1.17.2.tar.bz2' and it said 'no public key'


For Intel made 2 changes to xorg-server


xf86Configure.c

        XF86ConfMonitorPtr monitor_ptr;
        XF86ConfScreenPtr screen_ptr;

        ConfiguredMonitor = NULL;

// add test to see if screen has a PreInit Method before calling it.
        if ((*xf86Screens[dev2screen[j]]->PreInit )&& 
            (*xf86Screens[dev2screen[j]]->PreInit) (xf86Screens[dev2screen[j]],
                                                    PROBE_DETECT) &&
//        if ((*xf86Screens[dev2screen[j]]->PreInit) (xf86Screens[dev2screen[j]],
//                                                    PROBE_DETECT) &&
            ConfiguredMonitor) {
            monitor_ptr = configureDDCMonitorSection(j);
        }
        else {
            monitor_ptr = configureMonitorSection(j);
        }

xf86pciBus.c

#ifdef XSERVER_PLATFORM_BUS
        if ((p->bus.type == BUS_PLATFORM) && (p->bus.id.plat->pdev)) {
            struct pci_device *ud = p->bus.id.plat->pdev;
		 if (MATCH_PCI_DEVICES(ud, d))
		 {
               // quick hack... don't return FALSE; unsure why this works yet.  But it does.
			 //return FALSE;
		 }
        }
#endif

Although this fixes intel; and vmware behaves better - it finishes a -configure, and runs, but the screen stays black...
needs more digging.

---
Edit: (core i3 system) well, Xorg :0 from a ssh terminal works; although systemd-logind gives errors claiming devices, but Xorg:0 from a console shell doesn't work ... one can do a modeset the other can't

Last edited by d3x0r (2015-08-24 11:07:09)

Offline

#7 2015-08-24 10:07:21

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

headkase wrote:

VM Ware and the like is virtualization software.  It doesn't provide a real graphics card like the intel you're trying to - futility - build.  Virtualization software provides virtual devices.  In this case for graphics your initial post, xf86-video-vmware, would be the correct driver to get working.  From your 4 posts in this thread I do believe however that basic virtualization and Linux operations need some more review for yourself.

Edit: Also, you probably need base-devel installed to get fakeroot.

Oh I see; base-devel was something I thought I had installed already.  was only missing bison, flex and sudo at this point wink


why futitily?  I managed to get it to build once I did 'makepkg -s' and pulled a bunch of '*proto*' packages... though it turned out adding tracing that intel was returning everything as 'yes I have a card, and monitors and screens' but X was still saying 'nothing to configure'

Yes; I should change the topic of the thread to be non vmware specific...

Offline

#8 2015-08-24 22:00:49

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: X Fails to start (or configure) (VMWare and i3 4400)

Well, in your virtual machine you don't have and intel card.  You have the virtual VM Ware display device..

Offline

#9 2015-08-25 03:23:55

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

headkase wrote:

Well, in your virtual machine you don't have and intel card.  You have the virtual VM Ware display device..

In the second response I indicated that the same problem existed on the real hardware I was going to be using.  I installed on VMware only to familiarize myself with Arch while waiting for delivery. 

Kind of surprised any system works that's configured with --enable-config-udev.

Offline

#10 2015-08-25 03:37:31

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: X Fails to start (or configure) (VMWare and i3 4400)

Ah, I didn't see that.  In your virtual machine however do not bother with the intel graphics.  That just doesn't apply.

For your bare-metal machine however you should open a different thread for it.  This one is for the VM and the other would be for xf86-video-intel.  One topic a thread. wink

Offline

#11 2015-08-25 03:51:28

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

It is one topic; X Fails to start (or configure) ... on two systems....  (VMWare and i3 4400)
updated name last night to reflect that...

I started a Xorg bug thread since it's not really Arch's fault I think.
I did all the things suggested in other similar threads... except the ones that ended up with 'stuff an xorg.conf file from some other working dirstro' since they didn't list the contents.  I think that might also bypass the problem.  And/or don't use -configure just use X and allow it to do it's own thing... although that resulted in a blank screen with just a cursor underscore (or a blank screen depending on the blink state of the cursor probably).

Offline

#12 2016-03-01 03:31:34

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

It IS one topic.  fails to start.  On a variety of test platforms.
vmware never worked, I don't know if core I3 worked; think it doesn't?  did find a mouse for it.

Offline

#13 2016-03-01 08:44:45

d3x0r
Member
Registered: 2015-08-17
Posts: 42

Re: X Fails to start (or configure) (VMWare and i3 4400)

THe only solution is to have a static configuration at this point I guess...

/etc/X11# cat 20-intel.conf

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

I dunno maybe that helped.

Offline

Board footer

Powered by FluxBB