Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"startx" and "X -configure" both fail.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Peter-W
n00b
n00b


Joined: 25 May 2011
Posts: 6

PostPosted: Wed May 25, 2011 11:07 am    Post subject: "startx" and "X -configure" both fail. Reply with quote

I've installed Xorg by following the handbook, however I have a seemingly unsolvable problem with it. After the install I ran "startx" and got the "Fatal server error: no screens found", so I decided to check my xorg.conf file. However when I saw the file was not there, I tried to generate on with "X -configure" only to get another error.

Quote:

List of video drivers:
radeon
ati
No devices to configure. Configuration failed.


Has anyone encountered this problem before?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10652
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed May 25, 2011 11:36 am    Post subject: Reply with quote

Well, let's start with:
  • What video card do you have? What's the output of
    Code:
    lspci
  • Did you install any video card drivers? If so, which ones?
  • What's the VIDEO_CARDS variable in /etc/make.conf set to?
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Peter-W
n00b
n00b


Joined: 25 May 2011
Posts: 6

PostPosted: Wed May 25, 2011 11:42 am    Post subject: Reply with quote

John R. Graham wrote:
Well, let's start with:
  • What video card do you have? What's the output of
    Code:
    lspci
  • Did you install any video card drivers? If so, which ones?
  • What's the VIDEO_CARDS variable in /etc/make.conf set to?
- John


It's a Radeon X300SE according to lspci(Display controller: ATI Technologies Inc RV370 [Radeon X300SE]), and I have installed the xf86-video-ati drivers. The VIDEO_CARDS variable in make.conf is set as "radeon".
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1327
Location: sweden

PostPosted: Thu May 26, 2011 4:58 pm    Post subject: Reply with quote

Peter-W

post the output of

lspci -k

lsmod

and your kernel conf is set to radeon etc :?:
Back to top
View user's profile Send private message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Fri May 27, 2011 3:15 am    Post subject: intel same problem Reply with quote

I just upgraded xorg and am having the same exact problem with an intel chipset. X would go through the init process, detect my screen video card, mouse, and keyboard. Load the intel driver, start the screen on vt7 then claim there were no screens and no devices and exit even though it had detected them and started on vt 7. My only recourse was to switch from using the intel driver to the fbdev driver. Neither intel or vesa work.

I cannot stress this enough, if you have a working xorg are are not using nvidia don't upgrade. Who ever pushed a higher rev of xorg, shouldn't have. I'm trolling the fourms for similar problems. No luck in finding anything. My google skills have failed me. If the issues are related they are xorg and not hardware issues if I were to venture a guess.

Code:

lspci -vv

0:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Dell Device 0263
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 40
   Region 0: Memory at f6c00000 (64-bit, non-prefetchable) [size=4M]
   Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
   Region 4: I/O ports at efe8 [size=8]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
      Address: fee0300c  Data: 4151
   Capabilities: [d0] Power Management version 3
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
   Subsystem: Dell Device 0263
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Region 0: Memory at f6b00000 (64-bit, non-prefetchable) [size=1M]
   Capabilities: [d0] Power Management version 3
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-


xrog.conf
Code:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "ServerFlags"
        Option "AllowEmptyInput" "off"
EndSection

Section "Module"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "extmod"
        Load  "dri2"
        Load  "record"
        Load "synaptics"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "AccelMethod"               # [<str>]
        #Option     "DRI"                       # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "Tiling"                    # [<bool>]
        #Option     "Shadow"                    # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
                Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
                Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
                Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes "1280x800"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x800"
        EndSubSection
EndSection

Xorg.0.log
Code:

[  2481.258] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  2481.323] (II) Module intel: vendor="X.Org Foundation"
[  2481.323]    compiled for 1.9.5, module version = 2.14.0
[  2481.323]    Module class: X.Org Video Driver
[  2481.323]    ABI class: X.Org Video Driver, version 8.0
[  2481.323] (II) LoadModule: "mouse"
[  2481.323] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[  2481.323] (II) Module mouse: vendor="X.Org Foundation"
[  2481.323]    compiled for 1.9.5, module version = 1.7.0
[  2481.323]    Module class: X.Org XInput Driver
[  2481.323]    ABI class: X.Org XInput driver, version 11.0
[  2481.323] (II) LoadModule: "kbd"
[  2481.324] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[  2481.324] (II) Module kbd: vendor="X.Org Foundation"
[  2481.324]    compiled for 1.9.5, module version = 1.6.0
[  2481.324]    Module class: X.Org XInput Driver
[  2481.324]    ABI class: X.Org XInput driver, version 11.0
[  2481.324] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge
[  2481.325] (--) using VT number 7

[  2481.326] (EE) No devices detected.
[  2481.326]
Fatal server error:
[  2481.326] no screens found
[  2481.326]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2481.326] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2481.326]



lsmod

Code:

ipv6                  209898  14
arc4                    1242  2
ecb                     1793  2
b43                   163005  0
ssb                    30964  1 b43
mmc_core               47454  2 b43,ssb
mac80211              134952  1 b43
cfg80211              121981  2 b43,mac80211
rfkill                 13364  1 cfg80211
led_class               2099  1 b43
tg3                   105722  0
libphy                 14394  1 tg3
e1000                  82348  0
fuse                   53050  0
jfs                   138265  0
raid10                 18195  0
raid456                43766  0
async_raid6_recov       1161  1 raid456
async_memcpy            1134  1 raid456
async_pq                3010  1 raid456
async_xor               2121  2 raid456,async_pq
xor                     4140  1 async_xor
async_tx                1622  5 raid456,async_raid6_recov,async_memcpy,async_pq,async_xor
raid6_pq               77394  2 async_raid6_recov,async_pq
raid1                  18057  0
raid0                   6835  0
dm_snapshot            24224  0
dm_crypt               10019  0
dm_mirror              11490  0
dm_region_hash          6344  1 dm_mirror
dm_log                  7312  2 dm_mirror,dm_region_hash
dm_mod                 54705  4 dm_snapshot,dm_crypt,dm_mirror,dm_log
scsi_wait_scan           663  0
sbp2                   17219  0
ohci1394               23843  0
ieee1394               59936  2 sbp2,ohci1394
sl811_hcd               8630  0
usbhid                 29429  0
ohci_hcd               17757  0
uhci_hcd               17900  0
usb_storage            38585  0
ehci_hcd               30365  0
usbcore               108907  7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
aic94xx                63851  0
libsas                 34286  1 aic94xx
lpfc                  379053  0
qla2xxx               281563  0
megaraid_sas           37241  0
megaraid_mbox          23533  0
megaraid_mm             6897  1 megaraid_mbox
megaraid               35797  0
aacraid                60255  0
sx8                    11077  0
DAC960                 62624  0
cciss                  38540  0
3w_9xxx                28650  0
3w_xxxx                20468  0
mptsas                 42731  0
scsi_transport_sas     20845  3 aic94xx,libsas,mptsas
mptfc                  11973  0
scsi_transport_fc      35443  3 lpfc,qla2xxx,mptfc
scsi_tgt                8338  1 scsi_transport_fc
mptspi                 13143  0
mptscsih               23931  3 mptsas,mptfc,mptspi
mptbase                74718  4 mptsas,mptfc,mptspi,mptscsih
atp870u                23521  0
dc395x                 27548  0
qla1280                19240  0
dmx3191d                9041  0
sym53c8xx              62527  0
gdth                   72977  0
advansys               50310  0
firmware_class          4997  7 b43,tg3,aic94xx,libsas,qla2xxx,qla1280,advansys
initio                 15329  0
BusLogic               19220  0
arcmsr                 23468  0
aic7xxx               104744  0
aic79xx               119490  0
scsi_transport_spi     18315  5 mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx
sg                     23390  0
pdc_adma                5202  0
sata_inic162x           6519  0
sata_mv                23518  0
ata_piix               20548  0
ahci                   19337  1
libahci                15819  1 ahci
sata_qstor              5001  0
sata_vsc                3822  0
sata_uli                2857  0
sata_sis                3570  0
sata_sx4                7854  0
sata_nv                18743  0
sata_via                7672  0
sata_svw                3998  0
sata_sil24             10545  0
sata_sil                7060  0
sata_promise            9513  0
pata_sl82c105           3145  0
pata_cs5530             4061  0
pata_cs5520             3523  0
pata_via                7479  0
pata_jmicron            2248  0
pata_marvell            2689  0
pata_sis                9776  1 sata_sis
pata_netcell            2078  0
pata_sc1200             2786  0
pata_pdc202xx_old       4120  0
pata_triflex            2878  0
pata_atiixp             3449  0
pata_opti               2615  0
pata_amd                9908  0
pata_ali                8839  0
pata_it8213             3247  0
pata_ns87415            3065  0
pata_ns87410            2621  0
pata_serverworks        5261  0
pata_platform           3232  0
pata_artop              4572  0
pata_it821x             8157  0
pata_optidma            4358  0
pata_hpt3x2n            4515  0
pata_hpt3x3             2917  0
pata_hpt37x             9930  0
pata_hpt366             4846  0
pata_cmd64x             5432  0
pata_efar               3363  0
pata_rz1000             2610  0
pata_sil680             4313  0
pata_radisys            2743  0
pata_pdc2027x           5771  0
pata_mpiix              2715  0
libata                133427  52 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix






-darkseer
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1327
Location: sweden

PostPosted: Fri May 27, 2011 6:35 pm    Post subject: Reply with quote

darkseer

i dont se your gpu driver in lsmod.whats your kernel conf.and post :

lspci -k

this will give us the modules that the gpu are using


regards hedmo
Back to top
View user's profile Send private message
alecjw
n00b
n00b


Joined: 27 Mar 2010
Posts: 41
Location: Hertfordshire, UK

PostPosted: Sun May 29, 2011 10:41 am    Post subject: Reply with quote

I'm having the same problem in a new installation. startx says "no screens found" and X -configure says no devices to configure. I have an intel chipset ("VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)") which lspci says isn't using any modules. lsmod returns an empty list. I tried it with the xf86-video-intel driver and got nothing. I also tried it with the vesa driver and got the same result. Graphics work fine under debian.
_________________
ACTA is a war on your digital freedom
Back to top
View user's profile Send private message
Peter-W
n00b
n00b


Joined: 25 May 2011
Posts: 6

PostPosted: Tue May 31, 2011 9:33 am    Post subject: Reply with quote

Just for anyone having the same problem. In the end it turns out that udev wasn't running.
Back to top
View user's profile Send private message
alecjw
n00b
n00b


Joined: 27 Mar 2010
Posts: 41
Location: Hertfordshire, UK

PostPosted: Tue May 31, 2011 10:29 am    Post subject: Reply with quote

I think I tried starting udev, to no avail. I managed to fix it though by reinstalling from an un-broken stage3.
_________________
ACTA is a war on your digital freedom
Back to top
View user's profile Send private message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Tue May 31, 2011 1:04 pm    Post subject: results of lspci -k Reply with quote

Sorry, was on travel.

lspci -k
Code:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
        Subsystem: Dell Device 0263
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
        Subsystem: Dell Device 0263
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
        Subsystem: Dell Device 0263
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: uhci-hcd
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: uhci-hcd
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: uhci-hcd
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 02)
        Subsystem: Dell Device 0263
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 02)
        Subsystem: Dell Device 0263
        Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Dell Device 0263
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
        Subsystem: Dell Device 0263
02:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
        Subsystem: Dell Device 0263
        Kernel modules: ohci1394
02:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
        Subsystem: Dell Device 0263
        Kernel modules: sdhci-pci
02:01.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
        Subsystem: Dell Device 0263
        Kernel modules: sdhci-pci
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761e Gigabit Ethernet PCIe (rev 10)
        Subsystem: Dell Device 0263
        Kernel modules: tg3
0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
        Subsystem: Dell Wireless 1397 WLAN Mini-Card
        Kernel modules: ssb
Back to top
View user's profile Send private message
darkseer
n00b
n00b


Joined: 09 Aug 2005
Posts: 60

PostPosted: Thu Jun 02, 2011 7:46 pm    Post subject: Reply with quote

yup, udev for me as well.

-darkseer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum