abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    včera 23:55 | Zajímavý článek

    Uroš Popović v krátkém článku vysvětluje, co jsou emulátor terminálu, TTY a shell a jaké jsou mezi nimi rozdíly. Jde o první díl seriálu na jeho novém webu Linux Field Guide věnovaném nízkoúrovňové práci s linuxovými systémy.

    |🇵🇸 | Komentářů: 0
    16.5. 22:33 | Nová verze

    Byl vydán Debian 13.5, tj. pátá opravná verze Debianu 13 s kódovým názvem Trixie a Debian 12.14, tj. čtrnáctá opravná verze Debianu 12 s kódovým názvem Bookworm. Řešeny jsou především bezpečnostní problémy, ale také několik vážných chyb. Instalační média Debianu 13 a Debianu 12 lze samozřejmě nadále k instalaci používat. Po instalaci stačí systém aktualizovat.

    Ladislav Hagara | Komentářů: 0
    15.5. 12:55 | Nová verze

    CiviCRM (Wikipedie) bylo vydáno v nové verzi 6.14.0. Podrobnosti o nových funkcích a opravách najdete na release stránce. CiviCRM je robustní open-source CRM systém navržený speciálně pro neziskové organizace, spolky a občanské iniciativy. Projekt je napsán v jazyce PHP a licencován pod GNU Affero General Public License (AGPLv3). Český překlad má nyní 45 % přeložených řetězců a přibližuje se milníku 50 %. Potřebujeme vaši pomoc, abychom se dostali dál. Pokud máte chuť přispět překladem nebo korekturou, přidejte se na platformu Transifex.

    jardaIT | Komentářů: 3
    15.5. 12:22 | Bezpečnostní upozornění

    Další lokální zranitelností Linuxu je ssh-keysign-pwn. Uživatel si může přečíst obsah souborů, ke kterým má právo ke čtení pouze root, například soubory s SSH klíči nebo /etc/shadow. V upstreamu již opraveno [oss-security mailing list].

    Ladislav Hagara | Komentářů: 1
    14.5. 17:22 | Komunita

    Singularity (YouTube) je nejnovější otevřený film od Blender Studia. Jedná se o jejich první 4K HDR film.

    Ladislav Hagara | Komentářů: 9
    14.5. 16:55 | Zajímavý software

    Vyšla hra Život Není Krásný: Poslední Exekuce (Steam, ProtonDB). Kreslená point & click adventura ze staré školy plná černého humoru a nekorektního násilí. Vžijte se do role zpustlého exekutora Vladimíra Brehowského a projděte s ním jeho poslední pracovní den. Hra volně navazuje na sérii Život Není Krásný.

    Ladislav Hagara | Komentářů: 27
    14.5. 14:00 | Zajímavý projekt

    Společnost Red Hat představila Fedora Hummingbird, tj. linuxovou distribuci s nativním kontejnerovým designem určenou pro vývojáře využívající AI agenty.

    Pinhead | Komentářů: 6
    14.5. 02:22 | Zajímavý software

    Hru The Legend of Zelda: Twilight Princess od společnosti Nintendo si lze nově díky projektu Dusklight (původně Dusk) a reverznímu inženýrství zahrát i na počítačích a mobilních zařízeních. Vyžadována je kopie původní hry (textury, modely, hudba, zvukové efekty, …). Ukázka na YouTube. Projekt byl zahájen v srpnu 2020.

    Ladislav Hagara | Komentářů: 0
    14.5. 01:11 | Nová verze

    Byla vydána nová major verze 29.0 programovacího jazyka Erlang (Wikipedie) a související platformy OTP (Open Telecom Platform, Wikipedie). Detailní přehled novinek na GitHubu.

    Ladislav Hagara | Komentářů: 0
    13.5. 21:22 | Bezpečnostní upozornění

    Po zranitelnostech Copy Fail a Dirty Frag přichází zranitelnost Fragnesia. Další lokální eskalace práv na Linuxu. Zatím v upstreamu neopravena. Přiřazeno ji bylo CVE-2026-46300.

    Ladislav Hagara | Komentářů: 1
    Které desktopové prostředí na Linuxu používáte?
     (13%)
     (8%)
     (2%)
     (14%)
     (31%)
     (4%)
     (6%)
     (3%)
     (15%)
     (26%)
    Celkem 1646 hlasů
     Komentářů: 30, poslední 3.4. 20:20
    Rozcestník

    Dotaz: nedaří se otevřít nové okno

    5.1.2009 18:43 honorguard | skóre: 4
    nedaří se otevřít nové okno
    Přečteno: 323×
    Ahoj všichni, od jisté doby (může to být tak měsíc) mám problém. Když pustím nějakou hru tak funguje normálně, ve chvíli kdy ji ale vypnu a rozhodnu se pustit znova, nebo jinou, tak mi hry hází chyby. Vždycky je to jiná chyba, říká ale pořád to samé, nepodařilo se otevřít okno, či tak něco... Po restartu x-serveru to do dalšího spuštění nějaké hry funguje. Zvláštní je že se mi to děje jen u některých her (např. hry stojící na Quake 1 a 3 enginu to nedělají). Problém je např. u ET, True Combat Elite, Mania Drive, Medal of Honor Allied Assault (nativně), FOF... Teď nějaké výpisy: FOF:
    bash-3.2$ ./FretsOnFire
    there is no soundcard
    there is no soundcard
    Traceback (most recent call last):
      File "/home/skyostil/src/cx_Freeze-3.0.3/initscripts/Console.py", line 27, in ?
      File "src/FretsOnFire.py", line 68, in ?
      File "src/GameEngine.py", line 155, in __init__
      File "src/Video.py", line 61, in setMode
    pygame.error: Couldn't find matching GLX visual
    
    Medal of Honor
    bash-3.2$ ./mohaa_lnx                                                                      
    --- Common Initialization ---                                                              
    Medal of Honor Allied Assault 1.11 linux-i386 Sep  3 2004                                  
    ----- FS_Startup -----                                                                     
    Current search path:                                                                       
    /home/jakub/.mohaa/main                                                                    
    /usr/local/games/mohaa/main                                                                
    /usr/local/games/mohaa/main/pak6.pk3 (104 files)                                           
    /usr/local/games/mohaa/main/pak5.pk3 (259 files)                                           
    /usr/local/games/mohaa/main/pak4.pk3 (593 files)                                           
    /usr/local/games/mohaa/main/pak3.pk3 (669 files)                                           
    /usr/local/games/mohaa/main/pak2.pk3 (4722 files)                                          
    /usr/local/games/mohaa/main/pak1.pk3 (772 files)                                           
    /usr/local/games/mohaa/main/pak0.pk3 (11175 files)                                         
    
    ----------------------
    18294 files in pk3 files
    execing default.cfg     
    execing menu.cfg        
    couldn't exec newconfig.cfg
    Config: unnamedsoldier.cfg 
    STUB: wtf in unix/linux_general_extras.c line 95.
    STUB: wtf in unix/linux_general_extras.c line 101.
    execing configs/unnamedsoldier.cfg                
    couldn't exec localized.cfg                       
    execing autoexec.cfg                              
    Unknown command "fov"                             
    couldn't exec custom.cfg                          
    You are now setup for easy mode.                  
    ----- Client Initialization -----                 
    Called FadeSound with: 0.000000                   
    ----- Initializing Renderer ----                  
    ----- R_Init -----                                
    ...loading libGL.so: Initializing SDL OpenGL display
    ...setting mode 6: 1024 768                         
    Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 8 depth, 0 stencil display...                                 
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 8 depth, 0 stencil display...                                 
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 8 depth, 0 stencil display...                                 
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Failed to find acceptable OpenGL surface.                                                  
    ...WARNING: could not set the given mode (6)                                               
    Initializing SDL OpenGL display                                                            
    ...setting mode 3: 640 480                                                                 
    Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...                            
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...                                
     SDL_SetVideoMode() failed!                                                                
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 8 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 8 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 8 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Attempting 4/4/4 Color bits, 16 depth, 0 stencil display...
     SDL_SetVideoMode() failed!
     SDL_GetError() reports [Couldn't find matching GLX visual] ...
    Failed to find acceptable OpenGL surface.
    ...WARNING: could not set the given mode (3)
    ...loading libMesaVoodooGL.so.3.1: SDL: SDL_GL_LoadLibrary() failed! rc == (-1).
    SDL_GetError() reports "Could not load OpenGL library".
    failed
    ASSERT: [qcommon/common.c:406] GLimp_Init() - could not load OpenGL subsystem
     (fyi)
    ----- CL_Shutdown -----
    -----------------------
    Error: GLimp_Init() - could not load OpenGL subsystem
    
    Mania Drive
    bash-3.2$ sh mania_drive.sh
    Raydium: Raydium 3D Game Engine
    Raydium: version 0.705
    Raydium: command line args: OK
    Raydium: chdir to 'game/': OK
    Raydium: using '/home/jakub/.mania_drive' as home dir
    Raydium: Requesting 800x600:32 mode
    Raydium: Xinerama detected with 2 screens:
    Raydium: *** screen 0 : 1280x1024 at (0,0)
    Raydium: *** screen 1 : 1280x800 at (0,0)
    Raydium: using Xinerama screen 0
    Raydium: (my)glut: ERROR: Unable to open a suitable window
    
    Můj Xorg.conf:
    Section "ServerFlags"                                                  
            Option "AutoAddDevices" "false"                                
    EndSection                                                             
    
    Section "ServerLayout"
            Identifier     "X.org Configured"
            Screen      0  "Screen0" 0 0     
            InputDevice    "Mouse0" "CorePointer"
            InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection                                       
    
    Section "Files"
    #       RgbPath      "/usr/share/X11/rgb"
            ModulePath   "/usr/lib/xorg/modules"
            FontPath     "/usr/share/fonts/misc"
            FontPath     "/usr/share/fonts/100dpi:unscaled"
            FontPath     "/usr/share/fonts/75dpi:unscaled" 
            FontPath     "/usr/share/fonts/TTF"            
            FontPath     "/usr/share/fonts/Type1"          
    EndSection                                             
    
    Section "Module"
            Load  "xtrap"
            Load  "dri"  
            Load  "dbe"  
            Load  "glx"  
            Load  "record"
            Load  "GLcore"
            Load  "extmod"
            Load  "freetype"
    EndSection              
    
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "kbd"      
    EndSection                     
    
    Section "InputDevice"                                                                      
            Identifier      "Mouse0"                                                           
            Driver          "mouse"                                                            
            Option          "CorePointer"                                                      
            Option          "Device"                "/dev/input/mice"                          
            Option          "Protocol"              "ImPS/2"                                   
            Option          "ZAxisMapping"          "4 5"                                      
            Option          "EmulateWheel"          "on"                                       
            Option          "Emulate3Buttons"       "true"                                     
            Option          "EmulateWheelButton"    "2"                                        
    EndSection                                                                                 
                                                                                               
    Section "Monitor"                                                                          
            #DisplaySize      370   300     # mm                                               
            Identifier   "Monitor0"                                                            
            VendorName   "AIC"                                                                 
            ModelName    "F-419"                                                               
     ### Comment all HorizSync and VertRefresh values to use DDC:                              
            HorizSync    24.0 - 80.0                                                           
            VertRefresh  49.0 - 75.0                                                           
            Option      "DPMS"                                                                 
    EndSection                                                                                 
    
    Section "Device"
            Driver      "intel"
            VendorName  "Intel Corporation"
            BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
            BusID       "PCI:0:2:0"
            option      "AccelMethod" "exa"
    #       option      "MigrationHeuristic" "greedy"
            option      "ExaNoComposite" "false"
    EndSection
    
    Section "Screen"
            Identifier "Screen0"
            Device     "Card0"
            Monitor    "Monitor0"
            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
            EndSubSection
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
            EndSubSection
    EndSection
    
    Předem díky za pomoc, už jsem zoufalý :-\

    Odpovědi

    Jakub Lucký avatar 5.1.2009 19:57 Jakub Lucký | skóre: 40 | Praha
    Rozbalit Rozbalit vše Re: nedaří se otevřít nové okno
    To je nějaký problém s OpenGL, jinak Window manager předpokládám funguje...

    1) Napište distribuci
    If you understand, things are just as they are; if you do not understand, things are just as they are.
    5.1.2009 20:23 honorguard | skóre: 4
    Rozbalit Rozbalit vše Re: nedaří se otevřít nové okno
    Jo, Windows manager je KDE4 a normálně funguje jak má. Mám Archlinux 64bit. Ještě bych možná měl říct že mám kartu Intel X3100. Nedávno Intel vydal nové aktualizace ovladačů a ty s mojí kartou nefungují (místo 1050 FPS bych měl 350 FPS). A tak jsem musel downgradovat nějaké balíky:
    intel-dri-7.0.3-1-x86_64.pkg.tar.gz         xorg-font-utils-1.0.3-3.pkg.tar.gz
    libdrm-2.3.0-1.pkg.tar.gz                   xorg-server-utils-7.3-1-x86_64.pkg.tar.gz
    libgl-7.0.3-2-x86_64.pkg.tar.gz             xorg-server-1.4.2-2-x86_64.pkg.tar.gz
    mesa-7.0.3-2-x86_64.pkg.tar.gz              xorg-twm-1.0.4-1-x86_64.pkg.tar.gz
    xf86-video-intel-2.3.2-1-x86_64.pkg.tar.gz  xorg-utils-7.3-1-x86_64.pkg.tar.gz
    xorg-apps-1.0.3-3-x86_64.pkg.tar.gz         xorg-xkb-utils-7.3-1-x86_64.pkg.tar.gz
    
    Tohle jsou balíky které jsem downgradoval aby mi zase začala fungovat grafika. Dost možná jsem na nějaký zapoměl a tak proto třeba teď mám tuhle chybu. Jinak kartu jsem řešil zde: Odkaz na Ubuntu forum Díky moc všem za reakce

    Založit nové vláknoNahoru

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

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.