Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam problem z dopasowaniem właściwej rozdzielczości. Z Windowsa przesiadłem się właśnie na Debiana 7. Najwyższa proponowana rozdzielczość to 1024x768, a chciałbym pracować na 1280x1024. Karta graficzna zintegrowana Intel 82915G/GV/910GL. Proszę o wyrozumiałość, bo zaznajamiam się dopiero z Linuxem.
Offline
Podaj wyniki poleceń z konsoli:
lspci -k | grep -A2 VGA
uname -r
xrandr -q
Teraz jako root:
hwinfo --monitor
X -version
lsb_release -a
Ostatnio edytowany przez marcin'82 (2013-05-27 19:05:17)
Offline
A ja bym poprosił o zawartość Xorg.0.log i wyniki:
glxinfo aptitude search intel~i glx~i xorg~i
I na jakim monitorze ma być ta rozdzielczość?
Offline
lspci -k | grep -A2 VGA
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04) Subsystem: Hewlett-Packard Company Device 300c Kernel driver in use: i915
uname -r
3.2.0-4-686-pae
xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0* 800x600 60.3 56.2 848x480 60.0 640x480 59.9
hwinfo --monitor
bash: hwinfo: nie znaleziono polecenia
X -version
X.Org X Server 1.12.4 Release Date: 2012-08-27 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian Current Operating System: Linux wartownik 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2+deb7u2 i686 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-686-pae root=UUID=b6cd690f-22d4-4735-8c93-db420fdc554f ro quiet Build Date: 17 April 2013 11:13:16AM xorg-server 2:1.12.4-6 (Julien Cristau <jcristau@debian.org>) Current version of pixman: 0.26.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.
lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.0 (wheezy) Release: 7.0 Codename: wheezy
Offline
glxinfo
name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 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_swap_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_INTEL_swap_event client glx vendor string: Mesa Project and SGI client glx version string: 1.4 client glx extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB, GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, 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_INTEL_swap_event GLX version: 1.4 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_multithread_makecurrent, GLX_MESA_swap_control, 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 OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Intel(R) 915G x86/MMX/SSE2 OpenGL version string: 1.4 Mesa 8.0.5 OpenGL extensions: GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_multitexture, GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat, GL_3DFX_texture_compression_FXT1, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix, GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_secondary_color, GL_EXT_texture_env_add, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_EXT_framebuffer_object, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, GL_NV_vertex_program, GL_ARB_depth_texture, GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map, GL_NV_vertex_program1_1, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers, GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_ARB_half_float_pixel, GL_ARB_point_sprite, GL_ARB_shading_language_100, GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object, GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate, GL_OES_read_format, GL_ARB_pixel_buffer_object, GL_ARB_texture_rectangle, GL_EXT_pixel_buffer_object, GL_EXT_texture_rectangle, GL_ARB_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXT_packed_depth_stencil, GL_APPLE_object_purgeable, GL_ARB_vertex_array_object, GL_ATI_separate_stencil, GL_EXT_gpu_program_parameters, GL_OES_EGL_image, GL_ARB_copy_buffer, GL_ARB_map_buffer_range, GL_EXT_separate_shader_objects, GL_ARB_ES2_compatibility, GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location, GL_ARB_provoking_vertex, GL_ARB_sampler_objects, GL_EXT_provoking_vertex, GL_ARB_robustness 32 GLX Visuals visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat ---------------------------------------------------------------------------- 0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x022 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x08c 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x08d 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x08e 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x08f 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x090 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x091 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x092 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x093 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x094 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x095 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x096 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x097 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x098 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x099 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x09a 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x09b 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x09c 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x09d 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x09e 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x09f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x0a0 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x0a1 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x0a2 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x0a3 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x0a4 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x0a5 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x0a6 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0a7 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x0a8 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x05b 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 48 GLXFBConfigs: visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat ---------------------------------------------------------------------------- 0x05c 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x05d 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x05e 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x05f 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x060 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x061 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x062 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x063 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x064 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x065 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x066 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x067 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x068 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x069 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x06a 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x06b 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x06c 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x06d 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x06e 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x06f 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow 0x070 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x071 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x072 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x073 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x074 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x075 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x076 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x077 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x078 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x079 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x07a 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x07b 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x07c 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x07d 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x07e 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x07f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x080 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x081 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x082 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x083 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x084 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x085 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x086 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None 0x087 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow 0x088 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x089 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x08a 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x08b 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
aptitude search intel~i glx~i xorg~i
i libdrm-intel1 - Interfejs przestrzeni użytkownika do specy i A libgl1-mesa-glx - Darmowa implementacja API OpenGL -- pliki i A libxcb-glx0 - X C Binding, glx extension i A xorg - X.Org X Window System i A xorg-docs-core - Core documentation for the X.org X Window i A xserver-xorg - Serwer X-ów od X.Org i A xserver-xorg-core - Xorg X serwer - główny serwer i A xserver-xorg-input-all - X.Org X server -- input driver metapackage i A xserver-xorg-input-evdev - Serwer X od X.org -- sterownik wejścia evd i A xserver-xorg-input-synaptics - Sterownik touchpada Synaptics do serwera X i A xserver-xorg-input-wacom - X. Org, implementacja serwera X-ów -- ster i A xserver-xorg-video-all - Serwer X z projektu X.Org -- metapakiet st i A xserver-xorg-video-apm - Serwer X-ów X.Org -- sterownik APM i A xserver-xorg-video-ark - Serwer X-ów X.Org -- sterownik ark i A xserver-xorg-video-ati - Serwer X-ów X.Org -- opakowanie sterownika i A xserver-xorg-video-chips - Serwer X-ów X.org -- sterownik Chips i A xserver-xorg-video-cirrus - Serwer X-ów X.Org -- sterownik Cirrus i A xserver-xorg-video-fbdev - Serwer X-ów X.Org -- sterownik fbdev i A xserver-xorg-video-geode - Serwer X od X.Org - sterownik Geode GX2/LX i A xserver-xorg-video-i128 - Serwer X-ów X.Org -- sterownik i128 i A xserver-xorg-video-i740 - Serwer X-ów X.Org -- sterownik i740 i xserver-xorg-video-intel - Serwer X-ów X.Org -- sterownik Intel i8xx, i xserver-xorg-video-intel-dbg - X.Org X server -- Intel i8xx, i9xx display i A xserver-xorg-video-mach64 - Serwer X-ów od X.Org -- sterownik ATI Mach i A xserver-xorg-video-mga - Serwer X-ów X.Org -- sterownik MGA i A xserver-xorg-video-neomagic - Serwer X-ów X.Org -- sterownik Neomagic i A xserver-xorg-video-nouveau - Serwer X od X.Org -- sterownik Nouveau i A xserver-xorg-video-openchrome - Serwer X-ów X.Org - sterownik wideo do chi i A xserver-xorg-video-r128 - Serwer X-ów X.Org -- sterownik ATI r128 i A xserver-xorg-video-radeon - X Serwer od X.Org - sterownik do kart graf i A xserver-xorg-video-rendition - Serwer X-ów X.Org -- sterownik Rendition i A xserver-xorg-video-s3 - Serwer X-ów X.Org -- sterownik do starszyc i A xserver-xorg-video-s3virge - Serwer X-ów X.Org -- sterownik S3 ViRGE i A xserver-xorg-video-savage - Serwer X-ów X.Org -- sterownik Savage i A xserver-xorg-video-siliconmotio - Serwer X-ów X.Org -- sterownik SiliconMoti i A xserver-xorg-video-sis - Serwer X-ów X.Org -- sterownik SiS i A xserver-xorg-video-sisusb - Serwer X-ów X.Org -- sterownik SiS USB i A xserver-xorg-video-tdfx - Serwer X-ów X.Org -- sterownik tffx i A xserver-xorg-video-trident - Serwer X-ów X.Org -- sterownik Trident i A xserver-xorg-video-tseng - Serwer X-ów X.Org -- sterownik Tseng i A xserver-xorg-video-vesa - Serwer X-ów X.Org -- sterownik VESA i A xserver-xorg-video-vmware - Serwer X-ów X.Org -- sterownik VMware i A xserver-xorg-video-voodoo - Serwer X-ów X.Org -- sterownik Voodoo
Offline
Monitor LCD Asus MM17D
Offline
Edytuj swoje wiadomości zamiast wysyłania jedna za drugą.
Offline
su -c "apt-get -y install hwinfo && hwinfo --monitor"
Offline
I jeszcze nie podałeś zawartości /var/log/Xorg.0.log
Offline
Na swojej nowej instalacji też z tym walczyłem i wywalczyłem :)
Robi się to tak:
1. Przy pomocy polecenia gtf generujesz ustawienia dla danej rozdzielczości i częstotliwości odświeżania. Np. jeśli chcesz ustawić rozdzielczość 1280x1024 i częstotliwość odświeżania 75 Hz to dajesz polecenie:
gtf 1280 1024 75.00
To polecenie wygeneruje ci coś na kształt:
1280x1024 @ 75.00 Hz (GTF) hsync: 55.83 kHz; pclk: 106.29 MHz Modeline "1280x1024_75.00" 106.29 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
2. Kopiujesz sobie wszystko to co jest po Modeline (razem z cudzysłowami) i teraz dajesz polecenie xrandr, aby nauczył się tego rodzaju rozdzielczości: WAŻNE: Nie kopiuj dokładnie tego co tu wkleiłem po Modeline, bo to jest dla zupełnie innej rozdzielczości - wklej to co ci wygeneruje polecenie gtf.
xrandr --newmode "1280x1024_75.00" 106.29 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
3. Następnie każesz xrandr dodać tę rozdzielczość do wyjścia na twój monitor (VGA1):
xrandr --addmode VGA1 1280x1024_75.00
4. Następnie każesz xrandr ustawić tę rozdzielczość na wyjście na twój monitor:
xrandr --output VGA1 --mode 1280x1024_75.00
Jeśli zadziała (a powinno, jeśli nie to znaczy, że coś źle powklejałeś w polecenia) rozdzielczość monitora zmieni się na zadaną. Przy pomocy xrandr można też ustawić jasność (brightness) i gamma.
Ponieważ po każdym wyłączeniu komputera musiałbyś wydawać te komendy od nowa wygodnie jest zrobić sobie prosty skrypt w bashu i dodać w nim te trzy komendy (2. 3. 4.) oraz ustawić jego wykonywanie przy logowaniu. Dzięki temu po każdym włączeniu komputera rozdzielczość ustawi się automatycznie na żądaną wartość.
Offline
Ponieważ po każdym wyłączeniu komputera musiałbyś wydawać te komendy od nowa wygodnie jest zrobić sobie prosty skrypt w bashu i dodać w nim te trzy komendy (2. 3. 4.) oraz ustawić jego wykonywanie przy logowaniu. Dzięki temu po każdym włączeniu komputera rozdzielczość ustawi się automatycznie na żądaną wartość.
Można też spróbować zaprzągnąć do tego crona. Jako zwykły użytkownik wbij z konsoli * takie komendy:
export EDITOR=nano
crontab -e
Wklejasz linię:
@reboot DISPLAY=:0.0 ; xrandr --newmode "1280x1024_75.00" 106.29 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync && xrandr --addmode VGA1 1280x1024_75.00 && xrandr --output VGA1 --mode 1280x1024_75.00
Zapisujesz zmiany skrótem Ctrl+O [Enter].
=======
Alternatywnie tworzysz plik cośtam.desktop i umieszczasz go w katalogu:
~/.config/autostart
W polu Exec= podajesz bezwględną ścieżkę do pliku skrypt.sh, na przykład:
/bin/sh /scieżka/do/pliku/skrypt.sh
Skrypt musi być wykonywalny.
--------
* cytat z kogoś, o kim nie mówimy
Ostatnio edytowany przez marcin'82 (2013-05-27 20:59:27)
Offline
apt-get -y install hwinfo && hwinfo --monitor
Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe Zostaną zainstalowane następujące dodatkowe pakiety: libhal1 libhd16 Zostaną zainstalowane następujące NOWE pakiety: hwinfo libhal1 libhd16 0 aktualizowanych, 3 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Konieczne pobranie 755 kB/853 kB archiwów. Po tej operacji zostanie dodatkowo użyte 2238 kB miejsca na dysku. Pobieranie:1 http://ftp.pl.debian.org/debian/ wheezy/main libhd16 i386 16.0-2.2 [708 kB] Zmiana nośnika: Proszę włożyć dysk oznaczony "Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 DVD Binary-1 20130504-15:20" do napędu "/media/cdrom/" i nacisnąć enter Pobieranie:2 http://ftp.pl.debian.org/debian/ wheezy/main hwinfo i386 16.0-2.2 [46,6 kB] Pobrano 755 kB w 8min 46s (1433 B/s) Wybieranie wcześniej niewybranego pakietu libhal1. (Odczytywanie bazy danych ... 132684 pliki i katalogi obecnie zainstalowane.) Rozpakowywanie pakietu libhal1 (z .../hal/libhal1_0.5.14-8_i386.deb) ... Wybieranie wcześniej niewybranego pakietu libhd16. Rozpakowywanie pakietu libhd16 (z .../libhd16_16.0-2.2_i386.deb) ... Wybieranie wcześniej niewybranego pakietu hwinfo. Rozpakowywanie pakietu hwinfo (z .../hwinfo_16.0-2.2_i386.deb) ... Przetwarzanie wyzwalaczy pakietu man-db... Konfigurowanie pakietu libhal1 (0.5.14-8) ... Konfigurowanie pakietu libhd16 (16.0-2.2) ... Konfigurowanie pakietu hwinfo (16.0-2.2) ... > hal.1: read hal dataprocess 3613: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282. This is normally a bug in some application using the D-Bus library. libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
zawartości /var/log/Xorg.0.log
[ 16.399] X.Org X Server 1.12.4 Release Date: 2012-08-27 [ 16.399] X Protocol Version 11, Revision 0 [ 16.399] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian [ 16.399] Current Operating System: Linux wartownik 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2+deb7u2 i686 [ 16.399] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-686-pae root=UUID=b6cd690f-22d4-4735-8c93-db420fdc554f ro quiet [ 16.399] Build Date: 17 April 2013 11:13:16AM [ 16.399] xorg-server 2:1.12.4-6 (Julien Cristau <jcristau@debian.org>) [ 16.399] Current version of pixman: 0.26.0 [ 16.399] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 16.399] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 16.400] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 27 21:08:55 2013 [ 16.434] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 16.468] (==) No Layout section. Using the first Screen section. [ 16.468] (==) No screen section available. Using defaults. [ 16.468] (**) |-->Screen "Default Screen Section" (0) [ 16.468] (**) | |-->Monitor "<default monitor>" [ 16.469] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 16.469] (==) Automatically adding devices [ 16.470] (==) Automatically enabling devices [ 16.551] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 16.551] Entry deleted from font path. [ 16.626] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist. [ 16.626] Entry deleted from font path. [ 16.626] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 16.626] (==) ModulePath set to "/usr/lib/xorg/modules" [ 16.626] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 16.626] (II) Loader magic: 0xb774b5a0 [ 16.626] (II) Module ABI versions: [ 16.626] X.Org ANSI C Emulation: 0.4 [ 16.626] X.Org Video Driver: 12.1 [ 16.626] X.Org XInput driver : 16.0 [ 16.626] X.Org Server Extension : 6.0 [ 16.627] (--) PCI:*(0:0:2:0) 8086:2582:103c:300c rev 4, Mem @ 0xcfd00000/524288, 0xe0000000/268435456, 0xcfd80000/262144, I/O @ 0x00001800/8 [ 16.627] (II) Open ACPI successful (/var/run/acpid.socket) [ 16.627] (II) LoadModule: "extmod" [ 16.654] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so [ 16.672] (II) Module extmod: vendor="X.Org Foundation" [ 16.672] compiled for 1.12.4, module version = 1.0.0 [ 16.672] Module class: X.Org Server Extension [ 16.672] ABI class: X.Org Server Extension, version 6.0 [ 16.672] (II) Loading extension SELinux [ 16.672] (II) Loading extension MIT-SCREEN-SAVER [ 16.672] (II) Loading extension XFree86-VidModeExtension [ 16.672] (II) Loading extension XFree86-DGA [ 16.672] (II) Loading extension DPMS [ 16.672] (II) Loading extension XVideo [ 16.672] (II) Loading extension XVideo-MotionCompensation [ 16.672] (II) Loading extension X-Resource [ 16.672] (II) LoadModule: "dbe" [ 16.672] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so [ 16.678] (II) Module dbe: vendor="X.Org Foundation" [ 16.678] compiled for 1.12.4, module version = 1.0.0 [ 16.678] Module class: X.Org Server Extension [ 16.678] ABI class: X.Org Server Extension, version 6.0 [ 16.678] (II) Loading extension DOUBLE-BUFFER [ 16.678] (II) LoadModule: "glx" [ 16.678] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 16.700] (II) Module glx: vendor="X.Org Foundation" [ 16.700] compiled for 1.12.4, module version = 1.0.0 [ 16.700] ABI class: X.Org Server Extension, version 6.0 [ 16.701] (==) AIGLX enabled [ 16.701] (II) Loading extension GLX [ 16.701] (II) LoadModule: "record" [ 16.701] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so [ 16.715] (II) Module record: vendor="X.Org Foundation" [ 16.715] compiled for 1.12.4, module version = 1.13.0 [ 16.715] Module class: X.Org Server Extension [ 16.715] ABI class: X.Org Server Extension, version 6.0 [ 16.715] (II) Loading extension RECORD [ 16.715] (II) LoadModule: "dri" [ 16.715] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so [ 16.733] (II) Module dri: vendor="X.Org Foundation" [ 16.733] compiled for 1.12.4, module version = 1.0.0 [ 16.733] ABI class: X.Org Server Extension, version 6.0 [ 16.733] (II) Loading extension XFree86-DRI [ 16.733] (II) LoadModule: "dri2" [ 16.733] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so [ 16.734] (II) Module dri2: vendor="X.Org Foundation" [ 16.734] compiled for 1.12.4, module version = 1.2.0 [ 16.734] ABI class: X.Org Server Extension, version 6.0 [ 16.734] (II) Loading extension DRI2 [ 16.734] (==) Matched intel as autoconfigured driver 0 [ 16.734] (==) Matched vesa as autoconfigured driver 1 [ 16.734] (==) Matched fbdev as autoconfigured driver 2 [ 16.734] (==) Assigned the driver to the xf86ConfigLayout [ 16.734] (II) LoadModule: "intel" [ 16.734] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 16.814] (II) Module intel: vendor="X.Org Foundation" [ 16.814] compiled for 1.12.3.902, module version = 2.19.0 [ 16.814] Module class: X.Org Video Driver [ 16.814] ABI class: X.Org Video Driver, version 12.1 [ 16.814] (II) LoadModule: "vesa" [ 16.814] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 16.838] (II) Module vesa: vendor="X.Org Foundation" [ 16.838] compiled for 1.12.1, module version = 2.3.1 [ 16.838] Module class: X.Org Video Driver [ 16.838] ABI class: X.Org Video Driver, version 12.0 [ 16.838] (II) LoadModule: "fbdev" [ 16.838] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 16.849] (II) Module fbdev: vendor="X.Org Foundation" [ 16.849] compiled for 1.12.1, module version = 0.4.2 [ 16.849] ABI class: X.Org Video Driver, version 12.0 [ 16.849] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale, Sandybridge Desktop (GT1), Sandybridge Desktop (GT2), Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1), Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+), Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2), Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server, Ivybridge Server (GT2) [ 16.851] (II) VESA: driver for VESA chipsets: vesa [ 16.851] (II) FBDEV: driver for framebuffer: fbdev [ 16.851] (++) using VT number 7 [ 16.857] (WW) Falling back to old probe method for vesa [ 16.857] (WW) Falling back to old probe method for fbdev [ 16.857] (II) Loading sub module "fbdevhw" [ 16.857] (II) LoadModule: "fbdevhw" [ 16.857] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 16.866] (II) Module fbdevhw: vendor="X.Org Foundation" [ 16.866] compiled for 1.12.4, module version = 0.0.2 [ 16.866] ABI class: X.Org Video Driver, version 12.1 [ 16.866] drmOpenDevice: node name is /dev/dri/card0 [ 16.866] drmOpenDevice: open result is 9, (OK) [ 16.866] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 [ 16.867] drmOpenDevice: node name is /dev/dri/card0 [ 16.867] drmOpenDevice: open result is 9, (OK) [ 16.867] drmOpenByBusid: drmOpenMinor returns 9 [ 16.867] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 [ 16.867] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 16.867] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 16.867] (==) intel(0): RGB weight 888 [ 16.867] (==) intel(0): Default visual is TrueColor [ 16.867] (II) intel(0): Integrated Graphics Chipset: Intel(R) 915G [ 16.867] (--) intel(0): Chipset: "915G" [ 16.867] (**) intel(0): Relaxed fencing disabled [ 16.867] (**) intel(0): Wait on SwapBuffers? enabled [ 16.867] (**) intel(0): Triple buffering? enabled [ 16.867] (**) intel(0): Framebuffer tiled [ 16.867] (**) intel(0): Pixmaps tiled [ 16.867] (**) intel(0): 3D buffers tiled [ 16.868] (**) intel(0): SwapBuffers wait enabled [ 16.868] (==) intel(0): video overlay key set to 0x101fe [ 17.082] (II) intel(0): Output VGA1 has no monitor section [ 17.296] (II) intel(0): EDID for output VGA1 [ 17.296] (II) intel(0): Printing probed modes for output VGA1 [ 17.296] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 17.296] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 17.296] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 17.296] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e) [ 17.296] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e) [ 17.296] (II) intel(0): Output VGA1 connected [ 17.296] (II) intel(0): Using exact sizes for initial modes [ 17.296] (II) intel(0): Output VGA1 using initial mode 1024x768 [ 17.296] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 17.296] (II) intel(0): Kernel page flipping support detected, enabling [ 17.296] (==) intel(0): DPI set to (96, 96) [ 17.296] (II) Loading sub module "fb" [ 17.296] (II) LoadModule: "fb" [ 17.296] (II) Loading /usr/lib/xorg/modules/libfb.so [ 17.316] (II) Module fb: vendor="X.Org Foundation" [ 17.317] compiled for 1.12.4, module version = 1.0.0 [ 17.317] ABI class: X.Org ANSI C Emulation, version 0.4 [ 17.317] (II) Loading sub module "dri2" [ 17.317] (II) LoadModule: "dri2" [ 17.317] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so [ 17.317] (II) Module dri2: vendor="X.Org Foundation" [ 17.317] compiled for 1.12.4, module version = 1.2.0 [ 17.317] ABI class: X.Org Server Extension, version 6.0 [ 17.317] (II) UnloadModule: "vesa" [ 17.317] (II) Unloading vesa [ 17.317] (II) UnloadModule: "fbdev" [ 17.317] (II) Unloading fbdev [ 17.317] (II) UnloadSubModule: "fbdevhw" [ 17.317] (II) Unloading fbdevhw [ 17.317] (==) Depth 24 pixmap format is 32 bpp [ 17.317] (II) intel(0): [DRI2] Setup complete [ 17.318] (II) intel(0): [DRI2] DRI driver: i915 [ 17.318] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled [ 17.345] (II) UXA(0): Driver registered support for the following operations: [ 17.345] (II) solid [ 17.345] (II) copy [ 17.345] (II) composite (RENDER acceleration) [ 17.345] (II) put_image [ 17.345] (II) get_image [ 17.345] (==) intel(0): Backing store disabled [ 17.345] (==) intel(0): Silken mouse enabled [ 17.345] (II) intel(0): Initializing HW Cursor [ 17.345] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 17.345] (==) intel(0): DPMS enabled [ 17.345] (==) intel(0): Intel XvMC decoder disabled [ 17.345] (II) intel(0): Set up textured video [ 17.345] (II) intel(0): Set up overlay video [ 17.345] (II) intel(0): direct rendering: DRI2 Enabled [ 17.345] (==) intel(0): hotplug detection: "enabled" [ 17.356] (--) RandR disabled [ 17.356] (II) Initializing built-in extension Generic Event Extension [ 17.356] (II) Initializing built-in extension SHAPE [ 17.356] (II) Initializing built-in extension MIT-SHM [ 17.356] (II) Initializing built-in extension XInputExtension [ 17.356] (II) Initializing built-in extension XTEST [ 17.356] (II) Initializing built-in extension BIG-REQUESTS [ 17.356] (II) Initializing built-in extension SYNC [ 17.356] (II) Initializing built-in extension XKEYBOARD [ 17.356] (II) Initializing built-in extension XC-MISC [ 17.356] (II) Initializing built-in extension SECURITY [ 17.356] (II) Initializing built-in extension XINERAMA [ 17.356] (II) Initializing built-in extension XFIXES [ 17.356] (II) Initializing built-in extension RENDER [ 17.356] (II) Initializing built-in extension RANDR [ 17.356] (II) Initializing built-in extension COMPOSITE [ 17.356] (II) Initializing built-in extension DAMAGE [ 17.356] (II) SELinux: Disabled on system [ 17.557] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 17.557] (II) AIGLX: enabled GLX_INTEL_swap_event [ 17.557] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 17.558] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 17.558] (II) AIGLX: Loaded and initialized i915 [ 17.558] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 17.559] (II) intel(0): Setting screen physical size to 270 x 203 [ 17.893] (II) config/udev: Adding input device Power Button (/dev/input/event4) [ 17.893] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 17.893] (II) LoadModule: "evdev" [ 17.893] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 17.903] (II) Module evdev: vendor="X.Org Foundation" [ 17.903] compiled for 1.12.1, module version = 2.7.0 [ 17.903] Module class: X.Org XInput Driver [ 17.903] ABI class: X.Org XInput driver, version 16.0 [ 17.903] (II) Using input driver 'evdev' for 'Power Button' [ 17.904] (**) Power Button: always reports core events [ 17.904] (**) evdev: Power Button: Device: "/dev/input/event4" [ 17.904] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 17.904] (--) evdev: Power Button: Found keys [ 17.904] (II) evdev: Power Button: Configuring as keyboard [ 17.904] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4" [ 17.904] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 17.904] (**) Option "xkb_rules" "evdev" [ 17.904] (**) Option "xkb_model" "pc105" [ 17.904] (**) Option "xkb_layout" "pl" [ 17.943] (II) config/udev: Adding input device Power Button (/dev/input/event3) [ 17.943] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 17.943] (II) Using input driver 'evdev' for 'Power Button' [ 17.943] (**) Power Button: always reports core events [ 17.943] (**) evdev: Power Button: Device: "/dev/input/event3" [ 17.943] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 17.943] (--) evdev: Power Button: Found keys [ 17.944] (II) evdev: Power Button: Configuring as keyboard [ 17.944] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event3" [ 17.944] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7) [ 17.944] (**) Option "xkb_rules" "evdev" [ 17.944] (**) Option "xkb_model" "pc105" [ 17.944] (**) Option "xkb_layout" "pl" [ 17.945] (II) config/udev: Adding input device HID 04d9:2519 (/dev/input/event1) [ 17.945] (**) HID 04d9:2519: Applying InputClass "evdev keyboard catchall" [ 17.945] (II) Using input driver 'evdev' for 'HID 04d9:2519' [ 17.945] (**) HID 04d9:2519: always reports core events [ 17.945] (**) evdev: HID 04d9:2519: Device: "/dev/input/event1" [ 17.945] (--) evdev: HID 04d9:2519: Vendor 0x4d9 Product 0x2519 [ 17.945] (--) evdev: HID 04d9:2519: Found keys [ 17.945] (II) evdev: HID 04d9:2519: Configuring as keyboard [ 17.945] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input1/event1" [ 17.945] (II) XINPUT: Adding extended input device "HID 04d9:2519" (type: KEYBOARD, id 8) [ 17.945] (**) Option "xkb_rules" "evdev" [ 17.945] (**) Option "xkb_model" "pc105" [ 17.945] (**) Option "xkb_layout" "pl" [ 17.946] (II) config/udev: Adding input device HID 04d9:2519 (/dev/input/event2) [ 17.946] (**) HID 04d9:2519: Applying InputClass "evdev pointer catchall" [ 17.946] (**) HID 04d9:2519: Applying InputClass "evdev keyboard catchall" [ 17.946] (II) Using input driver 'evdev' for 'HID 04d9:2519' [ 17.946] (**) HID 04d9:2519: always reports core events [ 17.946] (**) evdev: HID 04d9:2519: Device: "/dev/input/event2" [ 17.946] (--) evdev: HID 04d9:2519: Vendor 0x4d9 Product 0x2519 [ 17.946] (--) evdev: HID 04d9:2519: Found 9 mouse buttons [ 17.946] (--) evdev: HID 04d9:2519: Found scroll wheel(s) [ 17.946] (--) evdev: HID 04d9:2519: Found relative axes [ 17.946] (--) evdev: HID 04d9:2519: Found x and y relative axes [ 17.946] (--) evdev: HID 04d9:2519: Found absolute axes [ 17.946] (II) evdev: HID 04d9:2519: Forcing absolute x/y axes to exist. [ 17.946] (--) evdev: HID 04d9:2519: Found keys [ 17.946] (II) evdev: HID 04d9:2519: Configuring as mouse [ 17.946] (II) evdev: HID 04d9:2519: Configuring as keyboard [ 17.946] (II) evdev: HID 04d9:2519: Adding scrollwheel support [ 17.946] (**) evdev: HID 04d9:2519: YAxisMapping: buttons 4 and 5 [ 17.946] (**) evdev: HID 04d9:2519: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 17.947] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input2/event2" [ 17.947] (II) XINPUT: Adding extended input device "HID 04d9:2519" (type: KEYBOARD, id 9) [ 17.947] (**) Option "xkb_rules" "evdev" [ 17.947] (**) Option "xkb_model" "pc105" [ 17.947] (**) Option "xkb_layout" "pl" [ 17.947] (II) evdev: HID 04d9:2519: initialized for relative axes. [ 17.947] (WW) evdev: HID 04d9:2519: ignoring absolute axes. [ 17.947] (**) HID 04d9:2519: (accel) keeping acceleration scheme 1 [ 17.947] (**) HID 04d9:2519: (accel) acceleration profile 0 [ 17.947] (**) HID 04d9:2519: (accel) acceleration factor: 2.000 [ 17.947] (**) HID 04d9:2519: (accel) acceleration threshold: 4 [ 17.948] (II) config/udev: Adding input device HID 04d9:2519 (/dev/input/mouse0) [ 17.948] (II) No input driver specified, ignoring this device. [ 17.948] (II) This device may have been added with another device file. [ 17.948] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0) [ 17.948] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall" [ 17.948] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard' [ 17.948] (**) AT Translated Set 2 keyboard: always reports core events [ 17.948] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0" [ 17.948] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1 [ 17.949] (--) evdev: AT Translated Set 2 keyboard: Found keys [ 17.949] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard [ 17.949] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0" [ 17.949] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10) [ 17.949] (**) Option "xkb_rules" "evdev" [ 17.949] (**) Option "xkb_model" "pc105" [ 17.949] (**) Option "xkb_layout" "pl" [ 17.949] (II) config/udev: Adding input device PC Speaker (/dev/input/event5) [ 17.949] (II) No input driver specified, ignoring this device. [ 17.950] (II) This device may have been added with another device file.
Częstotliwość ok:) Ale coś nie bardzo rozumiem z tym cronem. Wklepałem i wyskoczyło mi:
# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command
Czy dobrze rozumiem, że mam to, co wyskoczyło wyżej wyrzucić i wpisać:
#@reboot DISPLAY=:0.0 ; xrandr --newmode "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync && xrandr --addmode VGA1 1280x1024_60.00 && xrandr --output VGA1 --mode 1280x1024_60.00
Offline
#@reboot
Bez znaku #, czyli tak jak dałem w poście wyżej. Nie wiem czy zadziała - sprawdź.
Jakby się coś kaszaniło to najwyżej uruchomisz w trybie tekstowym i usuniesz wpis z crona:
export EDITOR=nano
crontab -e
Skasujesz wpis i dasz Ctrl+Shift+O.
Ostatnio edytowany przez marcin'82 (2013-05-27 21:48:23)
Offline
Niestety, nie chce załadować ustawień.
Offline
A jak ma załadować, jeśli nie wykonałeś wcześniej komend, które ci wypisałem?
Offline
A sprawdziłeś wcześniej czy ustawienie zadanej rozdzielczości będzie działać?
Offline
marcin'82 napisał(-a):
#@reboot
Bez znaku #, czyli tak jak dałem w poście wyżej. Nie wiem czy zadziała - sprawdź.
Jakby się coś kaszaniło to najwyżej uruchomisz w trybie tekstowym i usuniesz wpis z crona:Kod:
export EDITOR=nanoKod:
crontab -eSkasujesz wpis i dasz Ctrl+Shift+O.
Po co Cron do tego?
Ja mam:
W xorg.conf:
Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "CRT-0" HorizSync 30.0 - 117.0 VertRefresh 50.0 - 180.0 ModeLine "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -hsync +vsync ModeLine "1024x768_100.00" 113.31 1024 1096 1208 1392 768 769 772 814 -hsync +vsync ModeLine "1152x864_85.00" 119.65 1152 1224 1352 1552 864 865 868 907 -hsync +vsync ModeLine "1152x864_100.00" 143.47 1152 1232 1360 1568 864 865 868 915 -hsync +vsync ModeLine "1280x1024_85.00" 159.36 1280 1376 1512 1744 1024 1025 1028 1075 -hsync +vsync ModeLine "1280x1024_100.00" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync Option "DPMS" EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "Stereo" "0" Option "nvidiaXineramaInfoOrder" "CRT-0" Option "metamodes" "1280x1024_100 +0+0; nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection
i chodzi bez problemu, jak ma chodzić.
Jeśli natomiast nie ma xorg.conf, to można to ustawić w
~/.config/monitor.xml
U mnie to wygląda tak:
<monitors version="1"> <configuration> <clone>no</clone> <output name="default"> <vendor>???</vendor> <product>0x0000</product> <serial>0x00000000</serial> <width>1280</width> <height>1024</height> <rate>100</rate> <x>0</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> </output> </configuration> <configuration> <clone>no</clone> <output name="DVI-I-0"> <vendor>GSM</vendor> <product>0x42d1</product> <serial>0x00006688</serial> <width>1280</width> <height>1024</height> <rate>100</rate> <x>0</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>yes</primary> </output> <output name="DVI-I-1"> </output> <output name="TV-0"> </output> <output name="DVI-I-2"> </output> <output name="DVI-I-3"> </output> </configuration> <configuration> <clone>no</clone> <output name="VGA1"> <vendor>GSM</vendor> <product>0x42d1</product> <serial>0x00006688</serial> <width>1280</width> <height>1024</height> <rate>100</rate> <x>0</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> </output> <output name="DVI0"> </output> <output name="VGA2"> </output> <output name="DVI1"> </output> </configuration> <configuration> <clone>no</clone> <output name="DVI-I-1"> <vendor>GSM</vendor> <product>0x42d1</product> <serial>0x00006688</serial> <width>1280</width> <height>1024</height> <rate>100</rate> <x>0</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> </output> <output name="DVI-I-2"> </output> </configuration> </monitors>
I wszystko dziala, jak należy.
A jak koneicznie chcesz odpalać przy starcie, to wszystkie środowiska graficzne mają jakąś wersję autostartu, w
/etc/X11/Xsession.d/
też można skrypta wsadzić, żeby ustawiał, co trzeba.
Można też dopisać w konfigu:
/etc/X11/xinit/xinitrc
i też będzie działało dla całego systemu.
Takze w ogóle nie czaję, po co Cron, jak Xorg ma calkiem pokaźną liczbę własnych uchwytów funkcji.
Pozdrawiam
;-)
Offline
Jacekalex napisał(-a):
A jak koneicznie chcesz odpalać przy starcie, to wszystkie środowiska graficzne mają jakąś wersję autostartu, w
/me napisał(-a):
=======
Alternatywnie tworzysz plik cośtam.desktop i umieszczasz go w katalogu: (...)
Wymieniłem taką możliwość - działać będzie - sprawdzałem.
Ostatnio edytowany przez marcin'82 (2013-05-28 06:45:04)
Offline
A tu masz przyczynę:
[ 17.296] (II) intel(0): EDID for output VGA1 [ 17.296] (II) intel(0): Printing probed modes for output VGA1 [ 17.296] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 17.296] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 17.296] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 17.296] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e) [ 17.296] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e) [ 17.296] (II) intel(0): Output VGA1 connected [ 17.296] (II) intel(0): Using exact sizes for initial modes [ 17.296] (II) intel(0): Output VGA1 using initial mode 1024x768
Offline
Jacekalex napisał(-a):
Jeśli natomiast nie ma xorg.conf, to można to ustawić wKod:
~/.config/monitor.xml
Ustawiłem w ~/.config/monitor.xml, to mi po zalogowaniu wywaliło, że mam monitor CRT i nie mogę ustawić takich parametrów.
yossarian napisał(-a):
A tu masz przyczynę:Kod:
[ 17.296] (II) intel(0): EDID for output VGA1 [ 17.296] (II) intel(0): Printing probed modes for output VGA1 [ 17.296] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 17.296] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 17.296] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 17.296] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e) [ 17.296] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e) [ 17.296] (II) intel(0): Output VGA1 connected [ 17.296] (II) intel(0): Using exact sizes for initial modes [ 17.296] (II) intel(0): Output VGA1 using initial mode 1024x768
Widzę, że tam brakuje rozdzielczości 1280x1024, ale jak to zmienić. A jeżeli już nawet zmienię, to czy mi znowu taka ciekawa informacja o moim CRT(?) nie wyskoczy;)
Jacekalex napisał(-a):
A jak koneicznie chcesz odpalać przy starcie, to wszystkie środowiska graficzne mają jakąś wersję autostartu, wKod:
/etc/X11/Xsession.d/też można skrypta wsadzić, żeby ustawiał, co trzeba.
Można też dopisać w konfigu:Kod:
/etc/X11/xinit/xinitrci też będzie działało dla całego systemu.
Czy mógłbyś podać jak ten skrypt miałby wyglądać?
A co konkretnie dopisać w konfigu, bo u mnie xinitrc wygląda tak:
#!/bin/sh # /etc/X11/xinit/xinitrc # # global xinitrc file, used by all X sessions started by xinit (startx) # invoke global X session script . /etc/X11/Xsession
Offline
Polcenia xrandr. ktore masz tam wcześniej, można dopisać do
/etc/X11/xinit/xinitrc
Powinno pomóc.
Offline
Czy to ma tak wyglądać?
#!/bin/sh # /etc/X11/xinit/xinitrc # # global xinitrc file, used by all X sessions started by xinit (startx) # invoke global X session script . /etc/X11/Xsession xrandr --newmode "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync xrandr --addmode VGA1 1280x1024_60.00 xrandr --output VGA1 --mode 1280x1024_60.00
Offline
W terminalu te polecenia działają?
Jeśli tak, to w takim wpisie też powinny, ale musisz sprawdzić.
Tutaj nie odpowiem jednoznacznie, bo mam Nvidię, i wsio ustawiam przez nvidia-settings.
Offline
W terminalu bez problemu mogę takim wpisem rozdzielczość zmienić.
Ale w xinitrc to dopisanie nic nie zmienia. Dalej monitor się odpala w domyślnych debianowych ustawieniach.
Offline