lxdream.org :: Forums :: View topic - Couple incompatibilities
lxdream 0.9.1
released Jun 29
Download Now
It is currently Mon Jul 22, 2019 5:01 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Couple incompatibilities
PostPosted: Thu Feb 21, 2008 8:09 pm 
Offline

Joined: Thu Feb 21, 2008 7:48 pm
Posts: 2
Location: USA
Firstly I had to completely get rid of the gl_fbo during compiling, and then removed the reference to gl_fbo_is_supported & gl_fbo_init in video_glx. Then things worked. Otherwise I was getting
Code:
/home/harley/dreamcast/lxdream/src/drivers/gl_fbo.c:77: undefined reference to `glGenFramebuffersEXT'
/home/harley/dreamcast/lxdream/src/drivers/gl_fbo.c:78: undefined reference to `glGenRenderbuffersEXT'
/home/harley/dreamcast/lxdream/src/drivers/gl_fbo.c:99: undefined reference to `glBindFramebufferEXT'
Apparently my card doesn't support the Framebuffers EXT at all (at least as far as I can tell.) If you need/want the glxinfo let me know.

I thought I'd post this also, that Taro from Navi doesn't render it's fonts correctly. (I was just testing various things I have laying around.) The svn is at sourceforge with the project cadcdev
I figure open source projects might be a bit easier to track down problems since you have the code.

So far things are looking pretty good, hope you stick with the project since a descent Dreamcast emulator for Linux would be great. Keep up the good work.


Top
 Profile  
 
 Post subject: Re: Couple incompatibilities
PostPosted: Mon Feb 25, 2008 12:04 am 
Offline
Admin

Joined: Mon Jun 26, 2006 9:47 pm
Posts: 293
losinggeneration wrote:
Firstly I had to completely get rid of the gl_fbo during compiling, and then removed the reference to gl_fbo_is_supported & gl_fbo_init in video_glx. Then things worked. Otherwise I was getting
Code:
/home/harley/dreamcast/lxdream/src/drivers/gl_fbo.c:77: undefined reference to `glGenFramebuffersEXT'
/home/harley/dreamcast/lxdream/src/drivers/gl_fbo.c:78: undefined reference to `glGenRenderbuffersEXT'
/home/harley/dreamcast/lxdream/src/drivers/gl_fbo.c:99: undefined reference to `glBindFramebufferEXT'
Apparently my card doesn't support the Framebuffers EXT at all (at least as far as I can tell.) If you need/want the glxinfo let me know.


Yeah I'll need to fix that - raised as bug #57. Is your GL driver or card particular old? I haven't actually encountered a libGL without those entry points before.

losinggeneration wrote:
I thought I'd post this also, that Taro from Navi doesn't render it's fonts correctly. (I was just testing various things I have laying around.) The svn is at sourceforge with the project cadcdev
I figure open source projects might be a bit easier to track down problems since you have the code.

Assuming it's using the BIOS fonts, it won't work unless the system is booted properly at the moment (since otherwise the BIOS data structures aren't initialized) - if you build a cd image for it and boot it in lxdream, I would expect it to work properly.

(As an aside, it would be very nice to be able to run everything without the BIOS present, which would have to include support for things like rom fonts)

Cheers,
Nathan


Top
 Profile  
 
 Post subject: Re: Couple incompatibilities
PostPosted: Thu Feb 28, 2008 6:00 am 
Offline

Joined: Thu Feb 21, 2008 7:48 pm
Posts: 2
Location: USA
nkeynes wrote:
Yeah I'll need to fix that - raised as *snipped url*. Is your GL driver or card particular old? I haven't actually encountered a libGL without those entry points before.
I'll go ahead an post my glxinfo. But the card it getting pretty dated even though it's an Nvidia chip.
GeForce4 MX Integrated GPU
NVRM version: NVIDIA Linux x86 Kernel Module 71.86.01 Wed Sep 5 20:14:16 PDT 2007 (looks like there's an new version 71.86.04, I doubt they'd add in something major in a minor revision.)
I've read that my card is supposed to be supported by the 96.XX driver series, but it caused some major problems with GL programs not rendering correctly. Anyways, on to the glxinfo
Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer
GLX version: 1.3
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX Integrated GPU/AGP/SSE/3DNOW!
OpenGL version string: 1.5.3 NVIDIA 71.86.01
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_window_pos, GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shared_texture_palette,
    GL_EXT_stencil_wrap, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fence,
    GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
    GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_register_combiners,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_NV_texture_rectangle, GL_NV_vertex_array_range,
    GL_NV_vertex_array_range2, GL_NV_vertex_program, GL_NV_vertex_program1_1,
    GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
    GL_SUN_slice_accum

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x2f 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x33 24 dc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x34 24 dc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x35 24 dc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None

nkeynes wrote:
Assuming it's using the BIOS fonts, it won't work unless the system is booted properly at the moment (since otherwise the BIOS data structures aren't initialized) - if you build a cd image for it and boot it in lxdream, I would expect it to work properly.
Ahh, for some reason I wasn't even considering the option that the Bios weren't being loaded (I don't know why I overlooked that.)
Another route might be to have something along the lines of when binaries are loaded to have a faked cd load to then pass off to the binary to execute (though I could see this causing possible incompatibilities, not to mention the loader would have to be created or taken form something like dc-load)


Top
 Profile  
 
 Post subject: Re: Couple incompatibilities
PostPosted: Mon Mar 03, 2008 12:18 am 
Offline
Admin

Joined: Mon Jun 26, 2006 9:47 pm
Posts: 293
losinggeneration wrote:
Ahh, for some reason I wasn't even considering the option that the Bios weren't being loaded (I don't know why I overlooked that.)
Another route might be to have something along the lines of when binaries are loaded to have a faked cd load to then pass off to the binary to execute (though I could see this causing possible incompatibilities, not to mention the loader would have to be created or taken form something like dc-load)


Possibly yes, I'm looking at doing something like this for SBI support anyway, so this might be doable as an option for binaries at the same time.

Cheers,
Nathan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group