You are not logged in.

#1 2012-04-01 12:18:23

pixy
Member
Registered: 2011-11-09
Posts: 9

[SOLVED]mesa-full-i915

Hi guys, I'm having a issue compiling mesa-full-i915g from aur. Everything is fine until make enters glsl directory and gets stuck there.
Code looks like this:

/usr/bin/makedepend -fdepend -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include-fixed -I. -I../mesa -I../mapi -I../../include  glcpp/glcpp-lex.c glcpp/glcpp-parse.c glcpp/pp.c strtod.c ralloc.c glsl_lexer.cpp glsl_parser.cpp ast_expr.cpp ast_function.cpp ast_to_hir.cpp ast_type.cpp builtin_variables.cpp glsl_parser_extras.cpp glsl_types.cpp glsl_symbol_table.cpp hir_field_selection.cpp ir_basic_block.cpp ir_clone.cpp ir_constant_expression.cpp ir.cpp ir_expression_flattening.cpp ir_function_can_inline.cpp ir_function_detect_recursion.cpp ir_function.cpp ir_hierarchical_visitor.cpp ir_hv_accept.cpp ir_import_prototypes.cpp ir_print_visitor.cpp ir_reader.cpp ir_rvalue_visitor.cpp ir_set_program_inouts.cpp ir_validate.cpp ir_variable_refcount.cpp linker.cpp link_functions.cpp link_uniforms.cpp loop_analysis.cpp loop_controls.cpp loop_unroll.cpp lower_clip_distance.cpp lower_discard.cpp lower_if_to_cond_assign.cpp lower_instructions.cpp lower_jumps.cpp lower_mat_op_to_vec.cpp lower_noise.cpp lower_texture_projection.cpp lower_variable_index_to_cond_assign.cpp lower_vec_index_to_cond_assign.cpp lower_vec_index_to_swizzle.cpp lower_vector.cpp lower_output_reads.cpp opt_algebraic.cpp opt_constant_folding.cpp opt_constant_propagation.cpp opt_constant_variable.cpp opt_copy_propagation.cpp opt_copy_propagation_elements.cpp opt_dead_code.cpp opt_dead_code_local.cpp opt_dead_functions.cpp opt_discard_simplification.cpp opt_function_inlining.cpp opt_if_simplification.cpp opt_noop_swizzle.cpp opt_redundant_jumps.cpp opt_structure_splitting.cpp opt_swizzle_swizzle.cpp opt_tree_grafting.cpp s_expression.cpp standalone_scaffolding.cpp main.cpp ../mesa/program/hash_table.c ../mesa/program/symbol_table.c standalone_scaffolding.cpp test.cpp test_optpass.cpp ../mesa/program/hash_table.c ../mesa/program/symbol_table.c 2> /dev/null
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/include-fixed -a -p obj-visible/ -I. -I../mesa -I../mapi -I../../include  glcpp/glcpp-lex.c glcpp/glcpp-parse.c glcpp/pp.c strtod.c ralloc.c glsl_lexer.cpp glsl_parser.cpp ast_expr.cpp ast_function.cpp ast_to_hir.cpp ast_type.cpp builtin_variables.cpp glsl_parser_extras.cpp glsl_types.cpp glsl_symbol_table.cpp hir_field_selection.cpp ir_basic_block.cpp ir_clone.cpp ir_constant_expression.cpp ir.cpp ir_expression_flattening.cpp ir_function_can_inline.cpp ir_function_detect_recursion.cpp ir_function.cpp ir_hierarchical_visitor.cpp ir_hv_accept.cpp ir_import_prototypes.cpp ir_print_visitor.cpp ir_reader.cpp ir_rvalue_visitor.cpp ir_set_program_inouts.cpp ir_validate.cpp ir_variable_refcount.cpp linker.cpp link_functions.cpp link_uniforms.cpp loop_analysis.cpp loop_controls.cpp loop_unroll.cpp lower_clip_distance.cpp lower_discard.cpp lower_if_to_cond_assign.cpp lower_instructions.cpp lower_jumps.cpp lower_mat_op_to_vec.cpp lower_noise.cpp lower_texture_projection.cpp lower_variable_index_to_cond_assign.cpp lower_vec_index_to_cond_assign.cpp lower_vec_index_to_swizzle.cpp lower_vector.cpp lower_output_reads.cpp opt_algebraic.cpp opt_constant_folding.cpp opt_constant_propagation.cpp opt_constant_variable.cpp opt_copy_propagation.cpp opt_copy_propagation_elements.cpp opt_dead_code.cpp opt_dead_code_local.cpp opt_dead_functions.cpp opt_discard_simplification.cpp opt_function_inlining.cpp opt_if_simplification.cpp opt_noop_swizzle.cpp opt_redundant_jumps.cpp opt_structure_splitting.cpp opt_swizzle_swizzle.cpp opt_tree_grafting.cpp s_expression.cpp standalone_scaffolding.cpp main.cpp ../mesa/program/hash_table.c ../mesa/program/symbol_table.c standalone_scaffolding.cpp test.cpp test_optpass.cpp ../mesa/program/hash_table.c ../mesa/program/symbol_table.c 2> /dev/null
make[2]: Leaving directory `/tmp/yaourt-tmp-pixy/aur-mesa-full-i915g/src/mesa-build/src/glsl'
make[2]: Entering directory `/tmp/yaourt-tmp-pixy/aur-mesa-full-i915g/src/mesa-build/src/glsl'
: --nounistd -oglcpp/glcpp-lex.c  glcpp/glcpp-lex.l
: --nounistd -oglsl_lexer.cpp  glsl_lexer.ll
rm -f depend
touch depend

And this repeats indefinently. Also this happens on both mesa-full-i915 and mesa-full-i915g packages and I have no idea how to solve this. Thanks for any help.

SOLVED: flex (base-devel) wasn't installed.

Last edited by pixy (2012-04-01 16:36:25)

Offline

#2 2012-04-01 13:58:45

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [SOLVED]mesa-full-i915

Compiles fine for me, but I'm on testing...


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#3 2012-04-01 15:02:51

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 168

Re: [SOLVED]mesa-full-i915

what's the advantage with this AUR over the package that's in the official repo?

Offline

#4 2012-04-01 16:33:37

pixy
Member
Registered: 2011-11-09
Posts: 9

Re: [SOLVED]mesa-full-i915

Oh god /facepalm. I tried compiling official mesa and it complained that flex (base-devel) is not installed. I've installed it and I can now finally compile this package again. Thanks for the help tho.

pengiun wrote:

what's the advantage with this AUR over the package that's in the official repo?

Well I get considerable better performance with this package link than any other mesa package (including the official one), so I can finally play Super Meat Boy without stuttering. big_smile

Offline

#5 2012-04-01 18:13:37

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [SOLVED]mesa-full-i915

Well, first it's obviously newer than the one in the repos and possibly has performance improvements and secondly it is built on the gallium framework whereas the official intel driver doesn't use gallium and only supports mesa classic.

There's not a consensus whether the gallium driver has advantages all in all. It is not the official one from intel and may be buggy. But there are at least some cases where it is better...
There is this old thread with mixed impressions (from back then): https://bbs.archlinux.org/viewtopic.php?id=113603


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#6 2012-04-03 21:37:47

pixy
Member
Registered: 2011-11-09
Posts: 9

Re: [SOLVED]mesa-full-i915

Oh and also with this package i get OpenGL version 2.0 instead of 1.2 so maybe thats why I get the performance increase. Anyhow I would recommend trying it yourself. And Cdh thanks for maintaining this. smile

Offline

Board footer

Powered by FluxBB