Bug 66202 - vesa driver finds no devices
Summary: vesa driver finds no devices
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86 (IA32) Linux (All)
: high blocker
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 10:58 UTC by rajeshvangari
Modified: 2018-12-17 17:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log file : Xorg.0.log (6.34 KB, text/plain)
2013-06-27 11:58 UTC, rajeshvangari
no flags Details
xorg-server-1.12.2 build configuration log (473.83 KB, text/plain)
2013-06-27 12:05 UTC, rajeshvangari
no flags Details
Xorg Configuration file(xorg.conf) (1.45 KB, text/plain)
2013-06-27 12:17 UTC, rajeshvangari
no flags Details

Description rajeshvangari 2013-06-26 10:58:15 UTC
Screen.c: In function 'xnestOpenScreen':
Screen.c:132: warning: declaration of 'index' shadows a global declaration
/opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/lib/gcc/i686-unknown-linux-gnu/4.1.2/../../../../i686-unknown-linux-gnu/sys-include/string.h:304: warning: shadowed declaration is here
Screen.c: In function 'xnestCloseScreen':
Screen.c:412: warning: declaration of 'index' shadows a global declaration
/opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/lib/gcc/i686-unknown-linux-gnu/4.1.2/../../../../i686-unknown-linux-gnu/sys-include/string.h:304: warning: shadowed declaration is here
  CC       Visual.o
cc1: warning: -Wuninitialized is not supported without -O
  CC       Window.o
cc1: warning: -Wuninitialized is not supported without -O
Window.c: In function 'xnestWindowExposurePredicate':
Window.c:383: warning: declaration of 'display' shadows a global declaration
../../include/opaque.h:52: warning: shadowed declaration is here
  CC       dpmsstubs.o
cc1: warning: -Wuninitialized is not supported without -O
  CC       stubs.o
cc1: warning: -Wuninitialized is not supported without -O
  CC       miinitext.o
cc1: warning: -Wuninitialized is not supported without -O
../../mi/miinitext.c:96: warning: redundant redeclaration of 'noTestExtensions'
../../include/globals.h:23: warning: previous declaration of 'noTestExtensions' was here
../../mi/miinitext.c:102: warning: redundant redeclaration of 'noDbeExtension'
../../include/globals.h:50: warning: previous declaration of 'noDbeExtension' was here
../../mi/miinitext.c:108: warning: redundant redeclaration of 'noGlxExtension'
../../include/globals.h:58: warning: previous declaration of 'noGlxExtension' was here
../../mi/miinitext.c:111: warning: redundant redeclaration of 'noScreenSaverExtension'
../../include/globals.h:62: warning: previous declaration of 'noScreenSaverExtension' was here
../../mi/miinitext.c:117: warning: redundant redeclaration of 'noRRExtension'
../../include/globals.h:70: warning: previous declaration of 'noRRExtension' was here
../../mi/miinitext.c:119: warning: redundant redeclaration of 'noRenderExtension'
../../include/globals.h:73: warning: previous declaration of 'noRenderExtension' was here
../../mi/miinitext.c:125: warning: redundant redeclaration of 'noResExtension'
../../include/globals.h:80: warning: previous declaration of 'noResExtension' was here
../../mi/miinitext.c:131: warning: redundant redeclaration of 'noXFree86DGAExtension'
../../include/globals.h:88: warning: previous declaration of 'noXFree86DGAExtension' was here
../../mi/miinitext.c:137: warning: redundant redeclaration of 'noXFree86VidModeExtension'
../../include/globals.h:96: warning: previous declaration of 'noXFree86VidModeExtension' was here
../../mi/miinitext.c:140: warning: redundant redeclaration of 'noXFixesExtension'
../../include/globals.h:100: warning: previous declaration of 'noXFixesExtension' was here
../../mi/miinitext.c:152: warning: redundant redeclaration of 'noXvExtension'
../../include/globals.h:118: warning: previous declaration of 'noXvExtension' was here
../../mi/miinitext.c:268: warning: redundant redeclaration of 'GEExtensionInit'
../../Xext/geext.h:81: warning: previous declaration of 'GEExtensionInit' was here
  CCLD     Xnest
../../dix/.libs/libdix.a(window.o): In function `get_window_name':
window.c:(.text+0x3b): undefined reference to `CompScreenPrivateKeyRec'
collect2: ld returned 1 exit status
make[4]: *** [Xnest] Error 1



I have downloaded X11R7.7 version package's and building xorg-server-1.22.2 package above error has occured.
All dependent packages are build and installed under /opt/ folder.

Can you please suggest the solution to move forward.
Comment 1 Alan Coopersmith 2013-06-26 16:31:15 UTC
There is no such thing as xorg-server-1.22.2 - the current Xorg server
stable release is 1.14.2 and 1.15 is under development.

What is the actual xorg server package you downloaded?
Comment 2 rajeshvangari 2013-06-27 11:58:43 UTC
Created attachment 81551 [details]
Xorg log file : Xorg.0.log
Comment 3 rajeshvangari 2013-06-27 12:01:26 UTC
I have downloaded X11R7.7/xorg-server-1.12.2.tar.bz2.

I tried with 
"./configure --disable-xnest --disable-dmx" configuration ,it got compiled.

But,xorg-server is giving fatal error ,no screens.

I have attached Xorg.0.log file for reference along with console output.

Console output :
----------------

rajesh#>> startx
xauth:  file /root/.serverauth.9177 does not exist

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/D400:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.12.1
Release Date: 2012-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30.9-102.fc11.i686.PAE i686
Current Operating System: Linux D400 2.6.35.13.D400-LEAF #1 PREEMPT Mon Apr 29 16:58:05 IST 2013 i686
Kernel command line: desktop showopts initrd=initrd.lrp init=/linuxrc root=/dev/ram0 rw boot=/dev/hda1:vfat ide_core.nodma=0.0 ide_core.nodma=1.0 PKGPATH=/dev/hda1 LRP=root,config,socat,ppp,perl,lib,msql,apache2,pam,ntp,secure,home,appl_list,pages,scim
Build Date: 27 June 2013  09:32:54AM

Current version of pixman: 0.22.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov  3 00:35:07 2011
(++) Using config file: "/etc/X11/xorg.kontron"
Parse error on line 9 of section Files in file /etc/X11/xorg.kontron
        Ignoring obsolete keyword "RgbPath".

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
Comment 4 rajeshvangari 2013-06-27 12:05:54 UTC
Created attachment 81552 [details]
xorg-server-1.12.2 build configuration log
Comment 5 rajeshvangari 2013-06-27 12:17:03 UTC
Created attachment 81554 [details]
Xorg Configuration file(xorg.conf)
Comment 6 Alan Coopersmith 2013-06-27 13:42:23 UTC
Okay, xorg server 1.12.2 makes much more sense than 1.22.2.

Your log file shows the vesa driver found no devices - your xorg.conf
file shows you specified an exact bus address for the graphics device
you are looking for.   Are you sure the specified address is correct?
Do you even need a xorg.conf file, considering most of the items you've
set in yours are either default or obsolete?
Comment 7 rajeshvangari 2013-06-27 14:28:15 UTC
Before upgrading to xorg-server-1.12.2 version,I have Xorg-server-1.0.2 running on  my device.

I used xorg-server-1.0.2 ,xorg.conf.

Can you please suggest the changes required for xorg-server-1.12.2 xorg.conf file.
Comment 8 rajeshvangari 2013-07-09 10:40:20 UTC
Hi Alan,

I have tried all possiblities,but still vesa driver found no devices.

Can you please let me know ,what might missing in it.
Comment 9 debguy 2014-11-28 02:46:18 UTC
did you go to http://www.kernel.org and make linux ?

perhaps an option to put your video card in "turbo mode with proprietary patches" is done at boot (which you can disable from the grub boot menu, option to kernel loading)

do you see small text when you boot?

if so the card itself (or driver) may not be able to switch

or perhaps you gave the wrong PCI option (or bus option, or didn't load kernel mods kernel needs to see bus, see lspci)

this page here has what you need to set up /dev/fb and /dev/dri if you haven't:

http://www.linuxquestions.org/questions/linux-hardware-18/dell-latitude-d510-sound-and-video-and-ethernet-4175522638/

for a time (was it 2000's) cards were being made without VGA/VESA in silicon.  the software had to setup the card to emulate it (was it nvidia's or ati made in china?)

there are quality cards with VGA,SVGA,VESA,GL,DVD/MPEG decoder completely in silicon (ie, you can memcpy mpegs or gl to these cards, no driver hardly needed, a few api hooks aside)

-----------------------------------
i agree cards should use video standards in silicon and shouldn't be broken

i see way too many "newbies" turned away by problems that had been solved in the 1980's and have, by new engineers, been transgressed and broken
Comment 10 debguy 2014-11-28 02:53:50 UTC
vesa driver?

looks to me like (if the output is correct)

there are symbols in Xnest conflicting with same symbols in (non-Xnest) server

meaning your trying to link the two together and ld ceraintail will try

but don't

-------------------
is that by jh-build ?  by git(1)?  is there a top level make your using to build things before xorg-server-xxx ?

i just built X11R7.6 from scratch w/o jh-build. wasn't easy but will soon post the full monte how.

------------------------
seems like autoreconf, autoconf, configure -> Makefiles ... something is wrong there your getting your leg pulled if your at link time and symbols are "shadowed"

shadow buffer DOES NOT mean shadowed make.  two different worlds.

never shadow linking

nm(1)

nm file.o | less -S.  look for (T) those the .o defines.  only one .o linking Xorg is allowed to have one.  the (U) are expected to be in libs -lXft your linking with.

OR nm Xorg if you have that

so the list of .o you link against cannot conflict.  if they do: your IDE environment (do you have one? which?) or git or jh-build or the development version is messed up.
Comment 11 debguy 2014-11-28 02:54:45 UTC
cc -c file.c -> file.o  exports symbol "foo"

cc -c file.c -> file2.o  exports symbol "foo"

cc -o Xorg file.o file2.o  # you can't
Comment 12 debguy 2014-11-28 05:03:37 UTC
STILL.  once you get all that figured out

(note if you tried XFree86 4.8.0 from scratch you dl,make,install,see desktop in less than 1 hr..  if you never done it before you might get a little familiar with that, run Xnest, then complain.  not saying you haven't.  maybe you know better than me)

so even if Xnest compiles you have to configure XDM or X will refuse (black screen)

http://sourceforge.net/p/xdm-options/

you can be running X logins with XDM and get a "phone list" (a chooser) to select X server ( -indirect) or select an X host to be in local desktop -query , using Xnest yes.  options for that you almost need a wrapper script for too.

HOWEVER.  your xdm has to have a list of Xaccess and also the chooser Xwilling.

else you'll get a black screen (an Xorg exclusive!)

not to mention to be running X logins using xdm it's hard to setup unless something (an xdm, kdm, gdm) package sets it up for you

(xdm-options requires you put hosts names in each of two files mentioned above like you would /etc/hosts.allow /etc/hosts.deny, and server restart so xdm reads it - which might boot you off your desktop if your not lucky)

--------------------------------
i compiles X11R7.6 from tarballs on X.org's releases.  wasn't easy.  i'm posting my list soon

Xnest is huge like 20MB i thik something
Comment 13 GitLab Migration User 2018-12-17 17:31:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/610.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.