Why not just try it? If you build the kernel yourself, simply disable all framebuffer drivers. If not, blacklist all framebuffer modules (vesafb, uvesafb and radeonfb.)
Announcement
Collapse
No announcement yet.
Recommended xorg.conf setup for radeonhd on Mobility Radeon X1400
Collapse
X
-
Originally posted by RealNC View Postradeonfb? You should disable all framebuffer drivers (including Radeon and VESA fb), they will conflict with KMS.
I added ``FRAMEBUFFER=y'' to /etc/initramfs-tools/initramfs.conf (and updated the initrd) as Wielkie suggested. But now I removed this line and updated the initrd, the KMS won't start either.
Comment
-
Originally posted by RealNC View PostWhy not just try it? If you build the kernel yourself, simply disable all framebuffer drivers. If not, blacklist all framebuffer modules (vesafb, uvesafb and radeonfb.)
Code:blacklist radeonfb blacklist vesafb blacklist uvesafb options radeon modeset=1
I tried to compiled a customized kernel several weeks ago... It took a long time and the result was a boot failure (surely I must have done something wrong). So I'd prefer not compiling the kernel again if there exists some way to achieve it.
Could you plz tell me whether there is any step causing the panic?- get the linux-source package from debian
- unpack the tarball in /usr/src (since I am in the group src)
- copy the configure file from /boot to the root of src tree as a .config file
- modify the .config file, by commenting out all frame buffer drivers and enabling the KMS stuff
- make the kernel
- install the deb package
I have no idea about the KMS stuff now...
Comment
-
Originally posted by demonstrate View PostThe screen goes black and I can see nothing. Last time I succeeded with another kernel (if I remember well), it turned into a nice screen of native resolution. But now...
....
So now it seems that the initrd is good but the KMS is bad. I will try to get some log information when the screen goes black.
Still trying to figure it out.
Comment
-
Originally posted by robin1979 View Post
I am still unable to trigger it at startup time, either by adding a conf file to /etc/modprobe.d/ or by adding a line to /etc/initramfs-tools/modules (I updated the initrd).
The former method results in a initrd file without the firmware I guess.
The latter method somewhat yields a correct initrd file. But when booting, the kernel says it can't load the firmware while the firmware is indeed inside the initrd file. The kernel waits for 1 minute and continues without KMS.
Is there some way to enable KMS at the boot time? I think adding a modprobe command to /etc/rc.local should work. But it looks kind of indecent.
BTW I tested glxgears, before KMS enabled it could run 170fps at 1400x1050x32 but now only 60fps. Why?
Code:glxinfo | grep Open OpenGL vendor string: DRI R300 Project OpenGL renderer string: Mesa DRI R300 (RV515 7145) 20090101 x86/MMX/SSE2 TCL DRI2 OpenGL version string: 1.5 Mesa 7.7.1-DEVEL OpenGL extensions:
Comment
-
When you need a modeset=1 command then radeon was not compiled with default kms support. That means the radeon module has got no pci ids stored in it. Basically what you have to do is
echo radeon modeset=1 > /etc/modules
update-initramfs -u
to load it in the initrd.
Comment
-
ATI mobility Radeon X1400 in OpenSUSE 11.2
Hello everybody,
I just installed a week ago the radeon driver and followed the procedure stated here and after rebooting I realized that video was still working fine, just a little difference with the fonts (but usable). The only thing that is giving me problems is the 3D acceleration while trying to play the Penumbra games, which runs very slow.
Here is some info related to my specs:
System:
Code:Dell Inspiron E1505 (aka 6400) ATI Mobility Radeon X1400
Code:openSUSE 11.2 - 32 bits kernel 2.6.31.12-9-desktop KDE 4.4.1
Code:5302 frames in 5.0 seconds = 1060.316 FPS 4694 frames in 5.0 seconds = 938.752 FPS 5083 frames in 5.0 seconds = 1016.475 FPS .....
Code:jaom7@Armisael:~> glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group OpenGL vendor string: DRI R300 Project OpenGL renderer string: Mesa DRI R300 (RV515 7145) 20090101 x86/MMX/SSE2 TCL OpenGL version string: 1.5 Mesa 7.6 OpenGL extensions: GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_MESAX_texture_float, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_ATI_separate_stencil, GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program, GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess 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 8 0 24 8 0 0 0 0 0 0 None 0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x64 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x65 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x66 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x67 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x68 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow 0x5b 32 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
Code:jaom7@Armisael:~> cat /etc/X11/xorg.conf ... Section "Module" Load "dbe" Load "glx" Load "dri" Load "extmod" ##########################3 Load "dri2" Load "record" EndSection ... Section "Monitor" DisplaySize 331 207 HorizSync 31-65 Identifier "Monitor[0]" ModelName "Laptop Display Panel 1680x1050" Option "PreferredMode" "1680x1050" VendorName "DELL" VertRefresh 56-65 UseModes "Modes[0]" EndSection ...... Section "Modes" Identifier "Modes[0]" EndSection ... Section "Device" BoardName "Mobility Radeon X1400" Driver "radeon" Identifier "Device[0]" Option "AccelMethod" "exa" Option "BusType" "PCIE" Option "ColorTiling" "on" Option "EnablePageFlip" "on" Option "AccelDFS" "on" Option "monitor-LVDS" "Monitor[0]" Screen 0 VendorName "ATI" ######################### Option "DRI" "on" Option "OffscreenSize" "25%" Option "UseAtomBIOS" "on" BusID "PCI:1:0:0" EndSection ...... Section "DRI" Group "video" Mode 0660 EndSection Section "Extensions" EndSection
Thanks in advance for help received
jaom7
Comment
-
Originally posted by jaom7 View PostGlxgears output:
Code:5302 frames in 5.0 seconds = 1060.316 FPS 4694 frames in 5.0 seconds = 938.752 FPS 5083 frames in 5.0 seconds = 1016.475 FPS .....
Comment
-
Originally posted by demonstrate View Postdid u run this glxgears in its default size? I get quite similar fps in its default size but only 60fps in fullscreen mode (1400x1050). is it normal?
Humm you were right, it was in normal(not fullscreen) mode.
I just tried in fullscreen mode(by double clicking the title bar) and got the following results under a resolution of 1680x1050
Code:523 frames in 5.0 seconds = 104.453 FPS 535 frames in 5.0 seconds = 106.931 FPS 554 frames in 5.0 seconds = 110.785 FPS
Comment
-
What does "very slow" mean?
Your 3d acceleration seems to be working fine. It's possible that the game is using a feature which is not accelerated yet, and thus hitting the software rendering.
Do the penumbra games use GLSL? OpenGL2 features? You only have OpenGL 1.5 at the moment, so upgrading to Mesa 7.8 might help.
Also keep in mind that the open drivers are slower than the binary Catalyst at this time, often considerably slower.
Comment
Comment