Portál AbcLinuxu, 10. května 2025 02:26

Dotaz: nadari se nainstalovat OpenGL

2.5.2006 11:56 roman
nadari se nainstalovat OpenGL
Přečteno: 189×
Odpovědět | Admin
Zdravim, nedari se mi nainstalovat korektne ovl. nvidia.Po restartu mam v NVIDIA X Server Setings ve vypisu OpenGL/GLX Information tuto hlasku :

The OpenGL extension 'GLX' is not supported by the X server or there was a problem retrieving GLX information from the X server.

V KinfoCenter na OpenGL hlasi:v okne Chyba- KinfoCenter - Nelze inicializovat OpenGl.Po kliknuti na okne OK Jmeno zobrazovace :0.0

HW: P4 3GHz, Ram 1G, grafika Nvidia 6600GT Pci-ex,deska Asus P5GDpro i915,HD WD 40Gb ide kernel 2.6.16.gentoo-r3, ovl.grafiky 1.0-8756 u tech jsem skoncil od 1.0-6629 jsem to zkousel ale porad stejny vysledek kernel konpilovan genkernel

prosim poradite mi co stim?
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

2.5.2006 12:59 ZS-Man | skóre: 31 | blog: B26
Rozbalit Rozbalit vše Re: nadari se nainstalovat OpenGL
Odpovědět | | Sbalit | Link | Blokovat | Admin
Nainstalovat nvidia-kernel a nvidia-glx
- Modul nvidia je zaveden? (lsmod)
- /etc/X11/xorg.conf jsi upravil? 
- opengl-update nvidia jsi spustil?
2.5.2006 15:21 roman
Rozbalit Rozbalit vše Re: nadari se nainstalovat OpenGL
vypis lsmod
Module                  Size  Used by
ppp_deflate             6784  0
zlib_deflate           19864  1 ppp_deflate
bsd_comp                6528  0
ppp_async              12032  1
ppp_generic            28948  7 ppp_deflate,bsd_comp,ppp_async
slhc                    7424  1 ppp_generic
crc_ccitt               3072  1 ppp_async
nvidia               4543796  8
i2c_core               21120  1 nvidia
nls_iso8859_2           5632  1
ntfs                   93812  4
snd_hda_intel          18192  1
snd_hda_codec         115840  1 snd_hda_intel
snd_pcm                81668  2 snd_hda_intel,snd_hda_codec
snd_timer              23812  1 snd_pcm
snd                    50660  6 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc         11144  2 snd_hda_intel,snd_pcm
i915                   19968  0
drm                    68760  1 i915
agpgart                33376  2 nvidia,drm
dm_mirror              21072  0
dm_mod                 53016  1 dm_mirror
sata_mv                18312  0
ata_piix               11140  0
ahci                   14084  5
sata_qstor             10500  0
sata_vsc                9220  0
sata_uli                8324  0
sata_sis                8836  0
sata_sx4               14468  0
sata_nv                10116  0
sata_via                9476  0
sata_svw                8708  0
sata_sil               10888  0
sata_promise           12420  0
libata                 57484  13 sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil,sata_promise
sbp2                   21764  0
ohci1394               32176  0
ieee1394               91704  2 sbp2,ohci1394
sl811_hcd              13184  0
ohci_hcd               19972  0
uhci_hcd               30864  0
usb_storage            67776  0
usbhid                 44640  0
ehci_hcd               28552  0
usbcore               117252  7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd

nvidia-kernel a nvidia-glx jsem nainstaloval
/etc/X11/xorg.conf jsem upravil z nv na nvidia
vypis xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Mar 29 14:43:26 PST 2006

# Auto-generated by KNOPPIX mkxf86config

Section "ServerLayout"

# PS/2 Mouse not detected
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Serial Mouse" "CorePointer"
    InputDevice    "USB Mouse"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/local/share/fonts"
    FontPath        "/usr/share/fonts/corefonts"
    FontPath        "/usr/share/fonts"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/Speedo"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/ukr"
    FontPath        "/usr/local/share/fonts/TTF"
    FontPath        "/usr/X11R6/lib/X11/fonts"
    FontPath        "/usr/X11R6/lib/X11/fonts/TTF"
    FontPath        "/usr/share/fonts/freefont"
    FontPath        "/usr/share/fonts/terminus"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/intlfonts"
EndSection

Section "Module"

	Load  "GLcore"
    Load           "ddc"  # ddc probing of monitor
    Load           "dbe"
    Load	   "dri"
    Load           "extmod"
    Load           "glx"
# 	Load  "bitmap" # bitmap-fonts
    Load           "speedo"
    Load           "type1"
    Load           "freetype"
    Load           "record"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xfree86"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" ""
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" "auto"
    Option         "ZAxisMapping" "4 5"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "true"
    Option         "Emulate3Timeout" "70"
    Option         "SendCoreEvents" "true"
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 "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
# The following line is auto-generated by KNOPPIX mkxf86config
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "All"
    BoardName      "All"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    16
    Option         "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
uz nevim co vic
2.5.2006 15:30 lefti | skóre: 18 | blog: OneAndOnlyTrueBlog
Rozbalit Rozbalit vše Re: nadari se nainstalovat OpenGL
Zkusil bych vyhodit dri a composite. A nvidia-glx mas? (I kdyz bez toho by se asi X nepustily). na gentoo by mohlo pomoct: "eselect opengl set nvidia"
2.5.2006 18:04 sweto | skóre: 20
Rozbalit Rozbalit vše Re: nadari se nainstalovat OpenGL
GLX a Composite spolu nefunguju.. pokial vypnes composite, tak by to mohlo ist.
este je tu moznost nastavit v xorg.conf Option "AllowGLXWithComposite" "boolean" ale tusim to nie je celkom stabilne.
2.5.2006 20:17 ZS-Man | skóre: 31 | blog: B26
Rozbalit Rozbalit vše Re: nadari se nainstalovat OpenGL
Takze urcite musis vyhodit z xorg.conf radek Load "dri" a jeste nakonec spustit opengl-update nvidia , tim se zmeni symlinky na nvidiacke knihovny.
2.5.2006 22:49 roman
Rozbalit Rozbalit vše Re: nadari se nainstalovat OpenGL
tak uz mi to jede.musel jsem odstranit jak dri tak composite.nestacilo jen to zakomentovat ale musel jsem to smazat, kdyz to zustalo na konci xorg.conf zakomentovane tak se to opengl vubec nespusti. vsem moc diky za rady.Gentoo je super.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.