Dustpuppy Posted November 29, 2004 Report Share Posted November 29, 2004 (edited) I've looked and looked online but can't see anything on this, so here you go! I can't get 640x480 resolution. At all. I've tried editing my xorg.conf file and I've tried changing resolution using KDE, but I just get a blank screen when I restart X. Now, this normally wouldn't be a problem except that Quake 3 runs under 640x480 and so I can't play it The weird thing is that Quake is loading fine, I can hear the noises and move down the menu using the keys, I just can't see anything but a blank screen! I have the latest Nvidia drivers and they installed fine, and the latest version of xorg (from my updates source). My xorg.conf file is Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "gb" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "Monitor" Identifier "monitor1" VendorName "Plug'n Play" HorizSync 30-70 VertRefresh 50-160 # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # Dell D800 and few Inspiron (16/10) 1280x800 ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848 # Dell D800 and few Inspiron (16/10) 1680x1050 ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103 # Dell D800 and few Inspiron (16/10) 1920x1200 ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "device1" VendorName "nVidia Corp." BoardName "NVIDIA GeForce4 (generic)" Driver "nvidia" Option "DPMS" Option "NvAgp" "3" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 16 Subsection "Display" Depth 8 Virtual 1024 768 EndSubsection Subsection "Display" Depth 15 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Virtual 1024 768 EndSubsection Subsection "Display" Depth 24 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Virtual 640 480 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection [moved from Software by spinynorman] Edited December 5, 2004 by Dustpuppy Quote Link to comment Share on other sites More sharing options...
darwin Posted November 29, 2004 Report Share Posted November 29, 2004 You should try to delete or comment all the subsection "Display" with 1024x768 resolution to keep only the 640x480. I believe that by default the resolution used is the highest ?! not sure. Quote Link to comment Share on other sites More sharing options...
Dustpuppy Posted November 29, 2004 Author Report Share Posted November 29, 2004 Tried that, just got the black screen treatment. :sad: Quote Link to comment Share on other sites More sharing options...
darwin Posted November 29, 2004 Report Share Posted November 29, 2004 Try to change your resolution with Control-alt-keypadplus or Control-alt-keypadminus. But i don't think the problem is in your xorg.conf file. Have you seen the log ? Quote Link to comment Share on other sites More sharing options...
Dustpuppy Posted November 29, 2004 Author Report Share Posted November 29, 2004 This is what /var/log/Xorg.0.log says when I run and then exit Quake: SwitchToMode - scrn: 0 clock: 36000 hdsp: 640 hbeg: 696 hend: 752 httl: 832 vdsp: 480 vbeg: 481 vend: 484 vttl: 509 flags: 10 Checking against clock: 94500 (94500) hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376 vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5 Checking against clock: 78800 (78800) hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312 vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5 Checking against clock: 75000 (75000) hdsp: 1024 hbeg: 1048 hend: 1184 httl: 1328 vdsp: 768 vbeg: 771 vend: 777 vttl: 806 flags: 10 Checking against clock: 65000 (65000) hdsp: 1024 hbeg: 1048 hend: 1184 httl: 1344 vdsp: 768 vbeg: 771 vend: 777 vttl: 806 flags: 10 Checking against clock: 44900 (44900) hdsp: 1024 hbeg: 1032 hend: 1208 httl: 1264 vdsp: 768 vbeg: 768 vend: 776 vttl: 817 flags: 21 Checking against clock: 57284 (57284) hdsp: 832 hbeg: 864 hend: 928 httl: 1152 vdsp: 624 vbeg: 625 vend: 628 vttl: 667 flags: 10 Checking against clock: 65000 (65000) hdsp: 1024 hbeg: 1032 hend: 1176 httl: 1344 vdsp: 480 vbeg: 488 vend: 494 vttl: 563 flags: 10 Checking against clock: 56300 (56300) hdsp: 800 hbeg: 832 hend: 896 httl: 1048 vdsp: 600 vbeg: 601 vend: 604 vttl: 631 flags: 5 Checking against clock: 49500 (49500) hdsp: 800 hbeg: 816 hend: 896 httl: 1056 vdsp: 600 vbeg: 601 vend: 604 vttl: 625 flags: 5 Checking against clock: 50000 (50000) hdsp: 800 hbeg: 856 hend: 976 httl: 1040 vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5 Checking against clock: 40000 (40000) hdsp: 800 hbeg: 840 hend: 968 httl: 1056 vdsp: 600 vbeg: 601 vend: 605 vttl: 628 flags: 5 Checking against clock: 36000 (36000) hdsp: 800 hbeg: 824 hend: 896 httl: 1024 vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5 Checking against clock: 63070 (63070) hdsp: 768 hbeg: 800 hend: 960 httl: 1024 vdsp: 576 vbeg: 578 vend: 590 vttl: 616 flags: 0 Checking against clock: 54000 (54000) hdsp: 640 hbeg: 664 hend: 720 httl: 844 vdsp: 512 vbeg: 512 vend: 514 vttl: 533 flags: 37 Checking against clock: 36000 (36000) hdsp: 640 hbeg: 696 hend: 752 httl: 832 vdsp: 480 vbeg: 481 vend: 484 vttl: 509 flags: 10 (II) NVIDIA(0): Setting mode "640x480" SwitchToMode - Succeeded SwitchToMode - scrn: 0 clock: 94500 hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376 vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5 Checking against clock: 94500 (94500) hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376 vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5 (II) NVIDIA(0): Setting mode "1024x768" SwitchToMode - Succeeded Quote Link to comment Share on other sites More sharing options...
darwin Posted November 29, 2004 Report Share Posted November 29, 2004 (edited) humm, it's weird. Check in your ~.q3a/baseq3/q3config.cfg if your seta r_mode is switched to "3". This option runs q3 in 640*480. Edited November 29, 2004 by darwin Quote Link to comment Share on other sites More sharing options...
iphitus Posted November 29, 2004 Report Share Posted November 29, 2004 Quake 3 should automatically change to that res. If it doesnt theres an option to make it run at a higher res in the menus somewhere within it. Quote Link to comment Share on other sites More sharing options...
adamw Posted November 29, 2004 Report Share Posted November 29, 2004 yeah, I think for an ugly hack you could just edit q3's config file directly and tell it to use a higher resolution instead. Problem succesfully hidden, sir, bodge factor 9! :) Quote Link to comment Share on other sites More sharing options...
Dustpuppy Posted December 5, 2004 Author Report Share Posted December 5, 2004 Cheers people. I've set seta r_mode to 6, and I now have something other than a blank screen. However... it's not rendering properly. The menu and setup screens are fine, but when I go into an arena it's distorted, like the blocks aren't being rendered well. When I escape to the menu it's unreadable, like blocks of red rather than letters. Not sure if this has anything to do with it, but the initialising of the graphics bit goes like this: ...loading libGL.so.1: Initializing OpenGL display...setting mode 6: 1024 768 Using XFree86-VidModeExtension Version 2.2 XF86DGA Mouse (Version 2.0) initialized XFree86-VidModeExtension Activated at 1024x768 Using 4/4/4 Color bits, 16 depth, 0 stencil display. GL_RENDERER: GeForce4 MX 440/AGP/SSE2 Initializing OpenGL extensions ...GL_S3_s3tc not found ...GL_EXT_texture_env_add not found ...using GL_ARB_multitexture ...GL_EXT_compiled_vertex_array not found XF86 Gamma extension initialized GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce4 MX 440/AGP/SSE2 GL_VERSION: 1.2 (1.5.2 NVIDIA 66.29) GL_EXTENSIONS: GL_EXT_draw_range_elements GL_EXT_vertex_array GL_ARB_multitexture GL_ARB_window_pos GL_EXT_blend_color GL_EXT_texture_object GL_EXT_secondary_color GL_EXT_multi_draw_arrays GL_EXT_blend_minmax GL_ARB_imaging GL_EXT_fog_coord GL_ARB_point_parameters GL_MAX_TEXTURE_SIZE: 2048 GL_MAX_ACTIVE_TEXTURES_ARB: 2 PIXELFORMAT: color(16-bits) Z(16-bit) stencil(0-bits) MODE: 6, 1024 x 768 fullscreen hz:N/A GAMMA: hardware w/ 0 overbright bits CPU: rendering primitives: multiple glArrayElement texturemode: GL_LINEAR_MIPMAP_LINEAR picmip: 1 texture bits: 16 multitexture: enabled compiled vertex arrays: disabled texenv add: disabled compressed textures: disabled Quote Link to comment Share on other sites More sharing options...
Dustpuppy Posted December 5, 2004 Author Report Share Posted December 5, 2004 Yesssssssss!!!!!!!!! It's working!! I had my simlinks all mixed up and so direct rendering was off (as glxinfo would've told me, sheesh). So I did ln -fs /usr/lib/libGL.so.6106 /usr/X11R6/lib/libGL.soln -fs /usr/lib/libGL.so.6106 /usr/X11R6/lib/libGL.so.1 ln -fs libGL.so.6106 /usr/lib/libGL.so.1.2 and I can frag things again! Woo-hoo! :ph34r: Quote Link to comment Share on other sites More sharing options...
adamw Posted December 6, 2004 Report Share Posted December 6, 2004 running through the nvidia installer again usually does the trick, too :) Quote Link to comment Share on other sites More sharing options...
Dustpuppy Posted December 6, 2004 Author Report Share Posted December 6, 2004 running through the nvidia installer again usually does the trick, too :) <{POST_SNAPBACK}> I'm not usual :D It kept on saying it couldn't restore (or something) the links. How I wish nvidia would release their source to the community and save us all this hassle... Maybe I'll get hold of the CEO's address and send him (unfortunately probably not her) a copy of the Cathedral and the Bazaar for Christmas Quote Link to comment Share on other sites More sharing options...
adamw Posted December 7, 2004 Report Share Posted December 7, 2004 that is odd, yes - what normally happens to me when I update kernels is I run the installer once and I get that error message (it can't update the links, or however it puts it), then I run the installer again and it works. Ah well, whatever works for you is good. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.