Presidential Debate
September 30, 2004 on 11:57 pm | In Misc | No CommentsI watched the first presidential debate in this evening. It’s obvious that Kerry won the debate. His points were strong and most of the time what he talked about make sense to me. Bush took whole time criticizing Kerry by saying “my opponent keeps changing his positions.” They also debated the North Korea issue. Kerry believes bilateral talk would be the way to go, and Bush still believes that the six party talk has been working fine. I think Kerry will win the three other presidential debates. Bush is just too stupid to speak.
gnome-terminal
September 23, 2004 on 10:03 pm | In Computer | No CommentsFor long time I have been unsatisfied with gnome-termial’s poor performance. You can see what I mean if you open gnome-terminal and edit some source code with vim. Even just scrolling up and down is sluggish and it quickly stresses you out. I had found a bug report filed at gnome.org, but nobody had seemed to identify the cause of the performance issue. So I gave up using gnome-terminal and migrated to rxvt. I’m quite satisfied with it, but I still like good transparency control and the menu system in gnome-terminal. I searched bug reports again and found an interesting bug entry. An rxvt developer gave an insightful comments about performance and another developer submitted a set of patches to improve performance. Then someone suggests that gnome-terminal should be rewritten using the rxvt code. I thought that libvte which does terminal emulation for gnome-terminal must be the root of the performance issue, but I totally agree to the idea given that nobody has found a fix for this bug for over a year.
GLSL on Linux
September 20, 2004 on 12:45 am | In Computer | No CommentsI wrote per-vertex Phong shader and per-fragment Phong shader in GLSL, and ran them, but there is no diffuse reflection in the per-vertex shader and no diffuse material and specular highlights in the per-fragment shader. When I run them on Windows, the correct scene is rendered, so GLSL implementation in the nvidia’s linux driver (ver. 6111) must be buggy. When I run the shaders on Windows with 6573 driver, they work like a charm.
GLSL on Mac OS X (cont’d)
September 17, 2004 on 12:52 pm | In Computer | No CommentsAfter thinking about why GL_ARB_shader_objects is on the list of supported extensions, it came to my mind that the extensions must be defined in the driver shared library. So I wrote a wrapper around GLSL related functions to get function pointers to GLSL functions using glutGetProcAddress(). Then I compiled the code and ran it, but I got bus error in glUseProgramObject(). I examined variables via debugger, and all the other GLSL functinos seemed to return valid values. Since the program works fine both on Linux and Windows, I have no idea what to do.
GLSL on Mac OS X
September 15, 2004 on 2:15 pm | In Computer | No CommentsI tried to compile my GLSL program on Mac OS X, but it looks like GL_ARB_shader_objects is not yet supported. It’s bit strange because GL_ARB_shader_objects is in the list of supporeted OpenGL extensions in OpenGL Driver Monitor. Neither headers nor libraries don’t have definitions for GL_ARB_shader_objects related functions. It’s disappointing. I hope Apple would add GLSL support as an update to OpenGL framework and the graphics driver.
dpkeyserv
September 14, 2004 on 4:01 pm | In Computer | No CommentsFrom last week, the license server for Wnn7 doesn’t run on my debian sid box. Whenever I try to run it, I get the following error:
dpkeyserv: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! “bad dynamic tag”‘ failed.
I can’t enter Japanese on my debian box. It’s very frustrating.
GLSL
September 13, 2004 on 9:47 pm | In Research | No CommentsI wrote a simple OpenGL program to test GLSL. I had to download glext.h because GLSL functions are not defined in NVIDIA’s OpenGL header files. The API to load, compile, and enable shaders is similar to Cg runtime API. However, I had to write code to read shader files and put the lines into a dynamically allocated 2D array. It’s trivial to write this kind of code, but I wonder whey OpenGL ARB didn’t adopt an API to load a shader file like in Cg runtime API. Other than this, GLSL works great. There is no need to bind variables to OpenGL attributes. All attributes or passed in variables are predefined. I need to write more shaders to fully understand GLSL.
kernel 2.6.8
September 13, 2004 on 5:13 am | In Computer | No CommentsSince I upgraded to 2.6.8, I’ve had problem connecting to departmental servers via HTTP and IMAP. As I can ssh into any machines, I had no idea what’s wrong. Reverting the kernel back to 2.6.7 solved the problem, so I thought there must be something wrong in 2.6.8. Now I found an article at LWN and 2.6.8 is the cause of this problem. You need to add “net.ipv4.tcp_default_win_scale=0″ in /etc/sysctl.conf or dynamically change the running kernel by “echo 0 > /proc/sys/net/ipv4/tcp_default_win_scale.”
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^