Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg: screens found but not usable:no screens found[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Wed Mar 21, 2007 12:09 am    Post subject: Xorg: screens found but not usable:no screens found[SOLVED] Reply with quote

I'm having troubles with xorg, it keeps saying "no screen found" and the message "found screens but they are unusable"
Someone told me that they used apt-reconfigure to solve this problem and that I should find a portage equivilent for it, does anyone know about one?
And does anyone know HOW apt-reconfigure would help with xorg.


Last edited by Black Zer0 on Mon Mar 26, 2007 6:58 pm; edited 2 times in total
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Wed Mar 21, 2007 12:17 am    Post subject: Reply with quote

If you post your xorg.conf and the log (/var/log/Xorg.0.log), we can probably point out the problem.
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Wed Mar 21, 2007 12:17 am    Post subject: Reply with quote

the "apt" family of commands is what the debian project uses as there software packet manager.
the gentoo equivalent would be portage with the emerge command, but that will not help you here.
what you need to do is configure your /etc/X11/xorg.conf manually and make sure that the right drivers for your setup are available and that the parameters in the kernel are set correctly.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Wed Mar 21, 2007 12:47 am    Post subject: Reply with quote

xorg.conf:
Section "ServerLayout"
   Identifier   "X.Org Configured"
   Screen   0   "Screen0" 0 0
   InputDevice   "Keyboard0" "CoreKeyboard"
   InputDevice   "PS/2 Mouse" "AlwaysCore"
# Serial Mouse not detected
   InputDevice   "USB Mouse" "AlwaysCore"
#No Synaptics touchpad found
EndSection

Section "ServerFlags"
   Option   "AllowMouseOpenFail" "true"
   
EndSection

Section "Files"
   FontPath   "/usr/share/fonts/util"
   FontPath   "/usr/share/fonts/encodings"
   FontPath   "/usr/share/fonts/misc"
   FontPath   "/usr/share/fonts/local"
   FontPath   "/usr/share/fonts/terminus"
   FontPath   "/usr/share/fonts/corefonts"
   FontPath   "/usr/local/share/fonts"
   FontPath   "/usr/share/fonts/default"
   FontPath   "/usr/share/fonts/TTF"
   FontPath   "/usr/share/fonts/type1"
   FontPath   "/usr/share/fonts/100dpi"
   FontPath   "/usr/share/fonts/75dpi"
   FontPath   "/usr/share/fonts/arphicfonts"
   FontPath   "/usr/share/fonts/jisx0213"
   FontPath   "/usr/share/fonts/shinonome"
   FontPath   "/usr/share/fonts/baekmuk-fonts"
   FontPath   "/usr/share/fonts/kacst-fonts"
   FontPath   "/usr/share/fonts/sgi-fonts"
   FontPath   "/usr/share/fonts/unfonts"
   FontPath   "/usr/share/fonts/default/ghostscript"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
   Load   "ddc"
   Load   "vbe"
   Load   "GLcore"
   Load   "dbe"
   Load   "dri"
   Load   "extmod"
   Load   "glx"
   Load   "bitmap"
   Load   "type1"
   Load   "freetype"
   Load   "record"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver   "kbd"
   Option   "CoreKeyboard"
   Option   "XkbRules" "xorg"
   Option   "XkbModel" "pc104"
   Option   "XkbOptions" "grp:toggle,grp_led:scroll"
   Option   "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
   Identifier   "Serial Mouse"
   Driver   "mouse"
   Option   "Protocol" "Microsoft"
   Option   "Device" "/dev/ttyS0"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
   Identifier   "PS/2 Mouse"
   Driver   "mouse"
   Option   "Protocol" "IMPS/2"
   Option   "Device" "/dev/misc/psaux"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
   Option   "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier   "USB Mouse"
   Driver   "mouse"
   Option   "Device" "/dev/input/mice"
   Option   "SendCoreEvents" "true"
   Option   "Protocol" "IMPS/2"
   Option   "ZAxisMapping" "4 5"
   Option   "Buttons" "5"
EndSection

Section "InputDevice"
   Identifier   "Synaptics"
   Driver   "synaptics"
   Option   "Protocol" "event"
   Option   "Device" ""
   Option   "LeftEdge" "1900"
   Option   "RightEdge" "5400"
   Option   "TopEdge" "1900"
   Option   "BottomEdge" "4000"
   Option   "FingerLow" "25"
   Option   "FingerHigh" "30"
   Option   "MaxTapTime" "180"
   Option   "MaxTapMove" "220"
   Option   "VertScrollDelta" "100"
   Option   "MinSpeed" "0.02"
   Option   "MaxSpeed" "0.10"
   Option   "AccelFactor" "0.0010"
   Option   "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
   Identifier   "Monitor0"
   HorizSync    28.0 - 96.0
   VertRefresh  50.0 - 75.0
EndSection

Section "Device"
   ### Available Driver options are:-
   # sw_cursor is needed for some ati and radeon cards
   #Option     "sw_cursor"
   #Option     "hw_cursor"
   #Option     "NoAccel"
   #Option     "ShowCache"
   #Option     "ShadowFB"
   #Option     "UseFBDev"
   #Option     "Rotate"
   Identifier  "Card0"
   # The following line is auto-generated by x11-misc/mkxf86config
   Driver      "i810"
   VendorName  "All"
   BoardName   "All"
#   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Card0"
   Monitor   "Monitor0"
   DefaultColorDepth 24
   SubSection "Display"
      Depth   1
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   4
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   8
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   15
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   16
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   24
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth   32
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection

Xorg.0.log looks WAAAAY too long too show you, if theres a certain part you were looking for just say so
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Wed Mar 21, 2007 1:00 am    Post subject: Reply with quote

Well, any lines with errors might be enough, but it'd be best if you just posted the entire log to http://pastebin.ca/ or a similar site, and linked to it here.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Wed Mar 21, 2007 1:16 am    Post subject: Reply with quote

Xorg.0.log

Last edited by Black Zer0 on Wed Mar 21, 2007 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Wed Mar 21, 2007 3:28 am    Post subject: Reply with quote

Ok, one more thing: can you post the output of
Code:
lspci | grep -i 'vga\|display'
?
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Wed Mar 21, 2007 12:00 pm    Post subject: Reply with quote

Code:
(chroot) livecd / # lspci | grep -i 'vga\|display'
pcilib: Cannot open /proc/bus/pci
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Wed Mar 21, 2007 6:26 pm    Post subject: Reply with quote

Black Zer0,

Fixing your Xorg is a two step process. First we make it work with the vesa driver, so change the line
Code:
 Driver      "i810"
to
Code:
 Driver      "vesa"
in xorg.conf and
Code:
emerge x11-drivers/xf86-video-vesa

That should get you a working but sub-optimal Xorg.

The i810 driver needs correct kernel support, that includes VM_86, agpgart and DRM options, if you don't have that, i810 just won't start.

The idea from here on is to use vesa for posting logs from the machine, which you capture when you try i810 and it fails.

This looks a bit odd too
Code:
(II) Loading /usr/lib/xorg/modules/drivers//i740_drv.so
(II) Module i740: vendor="X.Org Foundation"

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Sun Mar 25, 2007 12:45 am    Post subject: Reply with quote

Yeah I tried i710 as well one time, it didnt work either.

uhoh:
livecd gentoo # emerge xf86-video-vesa
Calculating dependencies
emerge: there are no ebuilds to satisfy "xf86-video-vesa".


EDIT: oops I just wasnt in chroot thats all :oops:

So if i810 isnt starting then I would get the no screens error right?

I managed to find the "enable vm_86" option and enabled it and agpgart is permenently enabled but where is DRM I already "gentoo-wiki"ed it with no results.

This time the result os startx was a black screen with some "static" at the bottom (about an inch from the bottom) then it went black and didnt exit and I had to reboot.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Sun Mar 25, 2007 10:08 am    Post subject: Reply with quote

Black Zer0,

DRM is in character devices, just under agpgart. It probably called Direct Rendering, or something like that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Sun Mar 25, 2007 2:55 pm    Post subject: Reply with quote

I didn't actualy have to have it enabled(either that or it is enabled already) startx brings me into fluxbox (as planned[I LOVE fluxbox]) however my usb mouse doesnt' work this time(logitech) it did work with my PS/2 mouse (which sucks and I would rather die than use it) works. I enabled Device Drivers>Input Devices>Mouses>Logitech busmouse, tried as a module then loading logibm on startup and building into the kernel and neither worked.







[sort of off topic]I've been having a lot more errors with i686(currently running) than i386(ran before) however I (and you smart forums people) have managed to solve all these problems. Does this mean my computer is incompatible with i686(highly doubt it)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Sun Mar 25, 2007 4:15 pm    Post subject: Reply with quote

Black Zer0,

Under USB, you need HID Support. Your mouse will be at /dev/input/mice

If your mouse has lots of buttons, yo umay want to try the event interface.
That needs input event support in the kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Sun Mar 25, 2007 5:08 pm    Post subject: Reply with quote

It still isn't working :cry:

Does it make a difference that I am in i686, because when I was in i386 I didn't have so many problems

I enabled HID it made no difference.

In my last install it was /dev/input/mouse0

ls /dev/input/:
event0 mice
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Sun Mar 25, 2007 5:15 pm    Post subject: Reply with quote

Black Zer0,

/dev/input/mice is all your pointers together. mouse0 is your first mouse.

What does
Code:
cat /dev/input/mice
get you when you operate your USB mouse ?
Nothing, means you have a kernel issue. Jibberish means your have an xorg.conf issue

ctrl-c and enter reset to recover the mess you get if it works.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Sun Mar 25, 2007 6:22 pm    Post subject: Reply with quote

Ok so cat didn't bring up anything so I assume its a kernel error.
It didn't "finish" so I had to do ctrl c like you said.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54420
Location: 56N 3W

PostPosted: Sun Mar 25, 2007 7:01 pm    Post subject: Reply with quote

Black Zer0,

Yep, that a kernel error.

Under USB
You need USB 1.1 support, that UHCI-HCD or OHCI-HCD ... check your chipset.
You need HID support

You also need input device support, which it sounds like you have since your PS/2 mouse works
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Sun Mar 25, 2007 10:34 pm    Post subject: Reply with quote

Thank you VERY much. Its working now(except for removable media drives being absent but whatever) that one ochd-hcd made not only the mouse show up but-naturally-all my other usb devices.
ls /dev/input/:
event0  event1  event2  event3  js0  js1  mice  mouse0







Seriously though what makes i686 so much more difficult then i386.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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