OpenGL a Xwindows
Marian Stetina
mstetina na intrak.sk
Čtvrtek Duben 25 10:54:30 CEST 2002
On Thu, Apr 25, 2002 at 10:45:02AM +0200, Krata wrote:
> Zdravim,
> pisu program pod linuxem pomoci SDL a OpenGL doma vse funguje tak jak ma.
> Ale ve skole kdyz se pokusim zkompilovat a spustit tak to zarve
>
> ERROR! Couldn't set 800x600x32 video mode : X11 driver not configured with
> OpenGL
V tom konfiguraku mate DefaultDepth 24 a pre Depth 32 tam nie je
nastaveny ziadny mod. Nemoze byt problem tam ?
>
> nevite nekdo kde mam hledat problem? Diky
>
> Krata
>
> P.s. v priloze zasilam XF86Config-4
> # XFree86 4.0 configuration generated by Xconfigurator
>
> Section "ServerLayout"
> Identifier "XFree86 Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> # By default, Red Hat Linux 6.0 and later use xfs
>
> Section "Files"
> FontPath "unix/:7100"
> EndSection
>
> # Module loading section
>
> Section "Module"
> Load "dbe" # Double-buffering
> Load "GLcore" # OpenGL support
> Load "dri" # Direct rendering infrastructure
> Load "glx" # OpenGL X protocol interface
> Load "extmod" # Misc. required extensions
> Load "v4l" # Video4Linux
> # Load "pex5" # PHIGS for X 3D environment (obsolete)
> # Load "record" # X event recorder
> # Load "xie" # X Image Extension (obsolete)
> # You only need the following two modules if you do not use xfs.
> # Load "freetype" # TrueType font handler
> # Load "type1" # Adobe Type 1 font handler
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "keyboard"
> Option "XkbLayout" "us"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Device" "/dev/mouse"
> Option "Protocol" "PS/2"
> Option "Emulate3Buttons" "off"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "Monitor"
> Identifier "ADI MicroScan 6P"
> VendorName "Unknown"
> ModelName "Unknown"
> HorizSync 30-94
> VertRefresh 48-160
> Option "dpms"
> EndSection
>
> Section "Device"
> Identifier "Matrox Millennium G400"
> Driver "mga"
> BoardName "Unknown"
> EndSection
>
> Section "Device"
> Identifier "Linux Frame Buffer"
> Driver "fbdev"
> BoardName "Unknown"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Matrox Millennium G400"
> Monitor "ADI MicroScan 6P"
> DefaultDepth 24
> Subsection "Display"
> Depth 24
> Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
> EndSubSection
> Subsection "Display"
> Depth 16
> Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
> EndSubSection
> Subsection "Display"
> Depth 8
> Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
> EndSubSection
> EndSection
>
> Section "DRI"
> Mode 0666
> EndSection
>
> ---------------------------------------------------------------------------
> Meta-FAQ (odhlášenĂ, archĂv, FAQ a dalšĂ): http://www.linux.cz/mailing-list
> TIP: Zkontrolujte si DNS: http://atrey.karlin.mff.cuni.cz/~mj/sleuth/
--
--------------------------------------------------------------------------------
Marian Stetina
Student na FEI TU Kosice
Veduci PC Klubu na internate Jedlikova 9 Kosice /-------\
Spravca siete na internate Jedlikova 9 Kosice |Apromix|
Predseda SRpRI na TU v Kosiciach \-------/
e-mail: mstetina na intrak.sk _-_
PGP kluc: http://www.intrak.tuke.sk/~mstetina/pgp 0(o_o)0
----------------------------------------------------oOO--(_)--OOo---------------
Daląí informace o konferenci Linux