View previous topic :: View next topic |
Author |
Message |
Doxer n00b
Joined: 12 Nov 2003 Posts: 43 Location: Bremen-Nord, Germany
|
Posted: Wed Nov 12, 2003 6:35 am Post subject: [X11] Kein opengl mit nvidia-Treiber |
|
|
Hallo,
ET startet nicht, findet kein openGL.
Habe den Kernel 2.6.0-test9, nvidia-glx-1.0-4496-r1 und nvidia-kernel-1.0.4496-r3 gemerged.
die XF86CONFIG:
Code: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
Load "xtt"
Load "glx"
EndSection
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbVariant" "nodeadkeys"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Buttons" "5"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor"
HorizSync 31.5 - 82.0
VertRefresh 50-100
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "nv"
EndSection
Section "Device"
Identifier "Grafikkarte"
Driver "nvidia"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Grafikkarte"
Monitor "Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
|
Der Start von ET:
Code: | ET 2.56 linux-i386 Sep 10 2003
----- FS_Startup -----
Current search path:
/root/.etwolf/etmain
/opt/enemy-territory/etmain/pak1.pk3 (10 files)
/opt/enemy-territory/etmain/pak0.pk3 (3725 files)
/opt/enemy-territory/etmain/mp_bin.pk3 (4 files)
/opt/enemy-territory/etmain
----------------------
3739 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error couldn't open the X display
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error couldn't open the X display
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
|
[mod edit]
Titel angepasst
beforegod
Last edited by Doxer on Wed Nov 12, 2003 7:39 am; edited 1 time in total |
|
Back to top |
|
|
Jim1162 n00b
Joined: 13 Aug 2003 Posts: 31 Location: Krefeld
|
Posted: Wed Nov 12, 2003 7:21 am Post subject: |
|
|
Hast du überhaupt den X-Server gestartet ?
Läuft der X-Server unter den selben User-rechten wie du ET starten willst ?
Edit: Noch ne bitte: Config-Dateien bitte demnächst ohne Kommentare posten. Das macht das Lesen wesentlich einfacher |
|
Back to top |
|
|
Doxer n00b
Joined: 12 Nov 2003 Posts: 43 Location: Bremen-Nord, Germany
|
Posted: Wed Nov 12, 2003 7:42 am Post subject: |
|
|
Jim1162 wrote: | Hast du überhaupt den X-Server gestartet ?
Läuft der X-Server unter den selben User-rechten wie du ET starten willst ?
|
Ja, starte unter kde. Allerdings habe ich ET testweise erstmal als root gestartet. Ist das event. das Problem? Werde es heute abend nochmals als User starten.
Jim1162 wrote: | Edit: Noch ne bitte: Config-Dateien bitte demnächst ohne Kommentare posten. Das macht das Lesen wesentlich einfacher |
Habe ich gemacht. Sorry. |
|
Back to top |
|
|
Jim1162 n00b
Joined: 13 Aug 2003 Posts: 31 Location: Krefeld
|
Posted: Wed Nov 12, 2003 9:17 am Post subject: |
|
|
Ein Programm kann sich als Root nicht mit dem X Server verbinden wenn du den unter nem anderen User gestartet hast. |
|
Back to top |
|
|
|