The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
2011-10-22 shaders not working - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: 2011-10-22 shaders not working (/showthread.php?tid=1575)



2011-10-22 shaders not working - charlieg - 10-31-2011

Windows 7 64bit with ATI Mobility Radeon HD 4250 for the graphics card.

[Image: kb0t2NiqzhANZe.jpg]

http://min.us/lb0t2NiqzhANZe


- NaN - 10-31-2011

Would be great if you post \My Documents\My Games\VDrift\log.txt content.

Is it rendered properly with shaders disabled?


- charlieg - 11-01-2011

Hmm, renders 'correctly' is possibly not the right term, but with shaders disabled the lighting seems normal although there's no lighting applied to the car at all (i.e. if red, it is an unvarying red, cartoon-like).

Code:
INFO: Starting VDrift: release-stable, Version: 2011-10-22, O/S: Windows
INFO: Home directory: C:\Users\Charles
INFO: Settings file: C:\Users\Charles\My Documents\My Games\VDrift/VDrift.config
INFO: Data directory: data
INFO: Temporary directory: C:\Users\Charles\My Documents\My Games\VDrift/tmp
INFO: Log file: C:\Users\Charles\My Documents\My Games\VDrift/log.txt
INFO: Disabling antialiasing
INFO: Display change was successful: 800x600x16 24z fullscreen=0
INFO: GL Renderer: AMD M880G with ATI Mobility Radeon HD 4250          
INFO: GL Vendor: ATI Technologies Inc.
INFO: GL Version: 3.3.10179 Compatibility Profile Context
INFO: Initialized GLEW 1.5.7
INFO: Loading data/shaders/gl3/vdrift1.rhr...
INFO: Loaded data/shaders/gl3/vdrift1.rhr
INFO: GL3 initialization successful
INFO: 0 joysticks found.
INFO: Loading car controls from: C:\Users\Charles\My Documents\My Games\VDrift/controls.config
INFO: Update status file C:\Users\Charles\My Documents\My Games\VDrift/updates.config will be created
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 2048
      Size: 8192
      Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
ERROR: Error setting GUI option "game.opponent" to GAME value "XS" use first option "350Z/350Z.car"
ERROR: Error setting GUI option "game.opponent_paint" to GAME value "00" use first option "default"
ERROR: Error setting GUI option "game.player" to GAME value "XS" use first option "350Z/350Z.car"
ERROR: Error setting GUI option "game.player_paint" to GAME value "00" use first option "default"
ERROR: Error setting GUI option "game.opponent" to GAME value "XS" use first option "350Z/350Z.car"
ERROR: Error setting GUI option "game.opponent_paint" to GAME value "00" use first option "default"
ERROR: Error setting GUI option "game.player" to GAME value "XS" use first option "350Z/350Z.car"
ERROR: Error setting GUI option "game.player_paint" to GAME value "00" use first option "default"
INFO: Loading track from path: data/tracks/paulricard88
INFO: Loaded surfaces file, 6 surfaces.
INFO: Track timing sectors: 2
INFO: Car loading was successful: 350Z/350Z.car
INFO: Got quit message from GUI. Shutting down...
INFO: Shutting down...
INFO: Exiting



- charlieg - 11-01-2011

charlieg Wrote:Hmm, renders 'correctly' is possibly not the right term, but with shaders disabled the lighting seems normal although there's no lighting applied to the car at all (i.e. if red, it is an unvarying red, cartoon-like).

So perhaps this is correct, as it is consistent with your screenshot in another thread.


- joevenzon - 11-07-2011

Your screenshot link is broken but I can see the thumbnail and no, that's not correct. Nan's post in another thread was with shaders off, where indeed you would expect flat shading, but what you're seeing looks a lot like an issue I ran into a while ago with some old linux ATI drivers where the OpenGL 3.3 sampler objects weren't respecting SRGB state. Are your drivers up to date with the latest AMD ones? If you run with the -gl2 argument does everything look normal?