View previous topic :: View next topic |
Author |
Message |
Trojan1313 n00b
Joined: 09 Aug 2005 Posts: 13 Location: Sweden, Göteborg (Gothenburg)
|
Posted: Thu Aug 11, 2005 2:47 pm Post subject: Problems configuring my X. |
|
|
After Gentoo was installed I used:
emerge gnome
emerge xorg-x11 (wich was of course already compiled as a gnome dependency)
env-update
source /etc/profile
Xorg -configure
X -config /root/xorg.conf.new (nope, didn't work)
xorgconfig
xorgcfg -textmode (tried the other mode too, but I hated it, especially since my mouse didn't work)
cp /root/xorg.conf.new /etc/X11/xorg.conf
startx (didn't work)
emerge nvidia-kernel nvidia-glx
startx (didn't work)
..and now were here.
This is what's visible from the error report (I don't know how to view the entire report
[/quote]
unresolved!
Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is
unresolved!
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
(EE) xf86OpernSerial: Cannot open device /dev/mouse
No such file or directory
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device Mouse0
No core pointer
Fatal server error:
Failed to initialize core devices
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 informati
on.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remainging[/quote]
Hmm... I suppose I now know where the log is... but how do I network it to my useble computer? _________________ Main PC: [OS: Ubuntu 5.04] - [Intel Pentium 4, 2538MHz, 512KB] - [512MB RAM] - [Compex Readylink Express 10/100] - [Sparkle - GeForce4 Ti4200] - [4x DVD-burner och 48x CD-burner]
I have a secondary to wich I am testing Gentoo with at the moment. |
|
Back to top |
|
|
opqdan Guru
Joined: 13 Dec 2004 Posts: 429 Location: Redmond, WA, USA
|
Posted: Thu Aug 11, 2005 2:58 pm Post subject: |
|
|
Try using for your mouse (??). As far as the nVidia drivers go, look in the documentation (I have ATI so can't help you).
For more help post your /etc/X11/xorg.conf and /var/log/Xorg.0.log (xorg output). |
|
Back to top |
|
|
Angelan n00b
Joined: 11 Aug 2005 Posts: 1
|
|
Back to top |
|
|
Trojan1313 n00b
Joined: 09 Aug 2005 Posts: 13 Location: Sweden, Göteborg (Gothenburg)
|
Posted: Thu Aug 11, 2005 3:01 pm Post subject: |
|
|
I'd love to post both of those documents, but I have no idea how. I'm not used to using a computer without a GUI.
I'll try with lynx... _________________ Main PC: [OS: Ubuntu 5.04] - [Intel Pentium 4, 2538MHz, 512KB] - [512MB RAM] - [Compex Readylink Express 10/100] - [Sparkle - GeForce4 Ti4200] - [4x DVD-burner och 48x CD-burner]
I have a secondary to wich I am testing Gentoo with at the moment. |
|
Back to top |
|
|
kyPixel Tux's lil' helper
Joined: 31 Jan 2005 Posts: 117
|
Posted: Thu Aug 11, 2005 3:37 pm Post subject: |
|
|
Make sure you emerge nvidia-glx, and have nvidia set as the driver in your /etc/X11/xorg.conf
Afterwards you may need to probe for your nvidia device as root:
Try and post your xorg.conf here, it would help alot... |
|
Back to top |
|
|
Trojan1313 n00b
Joined: 09 Aug 2005 Posts: 13 Location: Sweden, Göteborg (Gothenburg)
|
Posted: Thu Aug 11, 2005 4:41 pm Post subject: |
|
|
How do I copy the document and then post it with lynx? (emerge didn't find ebuilds for links2)
Seriously, I would've already posted the errorlog and xorg.conf in the first post if I knew how. =/ I tried to upload them to upl.silentwhisper.net, but they don't accept the file extension....
Tell me how and I'll post them in the blinx of an eye. _________________ Main PC: [OS: Ubuntu 5.04] - [Intel Pentium 4, 2538MHz, 512KB] - [512MB RAM] - [Compex Readylink Express 10/100] - [Sparkle - GeForce4 Ti4200] - [4x DVD-burner och 48x CD-burner]
I have a secondary to wich I am testing Gentoo with at the moment. |
|
Back to top |
|
|
Roguelazer Veteran
Joined: 10 Feb 2003 Posts: 1233 Location: San Francisco, CA
|
Posted: Thu Aug 11, 2005 4:49 pm Post subject: |
|
|
Add a .txt onto the end to upload it. Anyhow, just do this:
Code: |
# emerge nvidia-kernel nvidia-glx
# opengl-update nvidia (sometimes it needs to be done. I don't know why)
# modprobe nvidia
|
Then do another X -configure. And make sure that any lines in your xorg.conf file which reference to DRI are commented out. _________________ Registered Linux User #263260 |
|
Back to top |
|
|
Trojan1313 n00b
Joined: 09 Aug 2005 Posts: 13 Location: Sweden, Göteborg (Gothenburg)
|
|
Back to top |
|
|
Roguelazer Veteran
Joined: 10 Feb 2003 Posts: 1233 Location: San Francisco, CA
|
Posted: Thu Aug 11, 2005 5:41 pm Post subject: |
|
|
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
# Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "se"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.4 - 50.0
VertRefresh 50.0 - 90.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV11 [GeForce2 MX/MX 400]"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
Fixed, I think. I am, of course, assuming that you have a nvidia graphics card in your machine. You didn't specify. _________________ Registered Linux User #263260 |
|
Back to top |
|
|
Trojan1313 n00b
Joined: 09 Aug 2005 Posts: 13 Location: Sweden, Göteborg (Gothenburg)
|
Posted: Thu Aug 11, 2005 5:53 pm Post subject: |
|
|
This time the error-log worked.
http://upl.silentwhisper.net/uplfolders/upload1/-Xorg.0.log.txt
That corrected config did work better, atleast the nvidia spash flashed when the moitor restarted. _________________ Main PC: [OS: Ubuntu 5.04] - [Intel Pentium 4, 2538MHz, 512KB] - [512MB RAM] - [Compex Readylink Express 10/100] - [Sparkle - GeForce4 Ti4200] - [4x DVD-burner och 48x CD-burner]
I have a secondary to wich I am testing Gentoo with at the moment. |
|
Back to top |
|
|
Roguelazer Veteran
Joined: 10 Feb 2003 Posts: 1233 Location: San Francisco, CA
|
Posted: Thu Aug 11, 2005 6:01 pm Post subject: |
|
|
Okay. Now everything's fixed except the pointer. Try typing "cat /dev/mouse" at a console and moving your mouse around. Type ctrl-c to stop. If you see random blobs of text and characters, then I'm confused. If you don't see anything, then try "cat /dev/input/mice" and see if that gives you anything. Also, do you have a scroll mouse or a normal mouse? PS/2, Serial or USB? _________________ Registered Linux User #263260 |
|
Back to top |
|
|
Trojan1313 n00b
Joined: 09 Aug 2005 Posts: 13 Location: Sweden, Göteborg (Gothenburg)
|
Posted: Thu Aug 11, 2005 6:14 pm Post subject: |
|
|
Roguelazer wrote: | Okay. Now everything's fixed except the pointer. Try typing "cat /dev/mouse" at a console and moving your mouse around. Type ctrl-c to stop. If you see random blobs of text and characters, then I'm confused. If you don't see anything, then try "cat /dev/input/mice" and see if that gives you anything. Also, do you have a scroll mouse or a normal mouse? PS/2, Serial or USB? |
When using /dev/input/mice the random text-blobs appeared (had a little fun for about a minut), also my entire font got dumbed up (it just showed random characters, even during the reboot sequence... after the reboot it worked).
Code: |
Keyboard-USB---|
|---------[transmitter]
Mouse-USB------|
|
What I'm trying to say is that the keyboard and mouse is connected to one single transmitter (they cam in a set), the transmitter then have a USB for the mouse and one for the keyboard, on those USB-cables I've put PS/2-adapters.
To make a long story short, it should be interpreted as a PS/2-mouse with scroll.
I know this explanation sucks, and the code will probably look screwed up... so don't hesitate to ask if you don't understand. :p
EDIT:
Did X really shut down because the mouse didn't work? Are you sure there's nothing wrong with the graphics? _________________ Main PC: [OS: Ubuntu 5.04] - [Intel Pentium 4, 2538MHz, 512KB] - [512MB RAM] - [Compex Readylink Express 10/100] - [Sparkle - GeForce4 Ti4200] - [4x DVD-burner och 48x CD-burner]
I have a secondary to wich I am testing Gentoo with at the moment. |
|
Back to top |
|
|
|