انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نرمافزارهای چندرسانهای => نویسنده: Spring Water در 24 مهر 1386، 07:09 بظ
-
سلام.
من نرم افزارهایی که برای بازکردن فایلهای تصویری دارم بعد ار باز کردن یا بلافاصله بسته میشن یا اینک پس از باز کردن فایلهای تصویری بسته میشن...لازم به ذکره که codec ها کامل نصب کردم و تمام مطالب مربوط رو در فروم خوندم ( پس لطفا جوابم رو با کنایه در مورد search نکردن ندین ;) )
بعد از باز کردن و بسته شدن نرمافزارهام در ترمینال مطالب زیر درج میشه...
mohamad@mohamad-desktop:~$ totem
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 58 error_code 11 request_code 141 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
mohamad@mohamad-desktop:~$ totem --sync
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 58 error_code 11 request_code 141 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
mohamad@mohamad-desktop:~$ wxvlc
VLC media player 0.8.6 Janus
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 141 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 84
Current serial number in output stream: 85
دیگه نمیدونم چکار کنم....چند ماهی میشه که باری باز کردن و و دیدن فایل های تصویری مجبورم از ویندوز استفاده کنم....
لطفا کمکم کنین....
-
اگه ۱ موقع توضیح بیشتری خواستین فکر کنم مطالب زیر مفید باشن.
من كارت گرافيكم از سري اينتل هست كه با كمك بچه هاي forum اون رو نصب كردم....سي دي هما رو هم تونستم تهيه كنم و نرم افزارهايي مثل vlc يا M player رو نصب كردم....بعد از يكي دو هفته كه بخوبي از اين نرم افزار ها استفاده ميكردم يكباره بعد از باز كردن هر فرمت تصويري با هر نرم افزاري نرم افزار مورد نظر براي 1 لحظه باز و سپس بسته ميشد....
با استفاده از مطالب داخل forum به من پيشنهاد شد كه به آدرس زير برم و تغييراتي رو انجام بدم كه نتيجه اين تغييرات رو ميبينيد.
Mplayer ==>Preferences ==>Video
g1 : تصوير بصورت شطرنجي و با پرش بسيار زياد پخش ميشود.
x11 : تصوير با كيفيت خوب ولي با سايز كوچك و غير قابل تغيير پخش ميشود.
xv : نرم افزار بسته ميشود.
gl2 : بدون تصوير و فقط صدا پخش ميشود.
xmga : پيقام خطاي مقابل رو ميده Error Opening /initializing the selected video_out (-vo) device
dxr3 : پيقام خطاي مقابل رو ميده Error Opening /initializing the selected video_out (-vo) device
xvidix : پيقام خطاي مقابل رو ميده Error Opening /initializing the selected video_out (-vo) device
xvmc : پيقام خطاي مقابل رو ميده Error Opening /initializing the selected video_out (-vo) device
تمام كارهايي رو كه در مقاله هاي زير نوشته شده بود رو انجام دادم ولي باز هم نتيجه نگرفتم.
http://wiki.ubuntu-ir.org/RestrictedFormats
http://wiki.ubuntu.ir/UbuntuIrPackages
يك user جديد ساختم و با اون user ديدن فايلهاي تصويري رو امتحان كردم.... براي دقايقي بخوبي فايلها پخش ميشد ولي دوباره اين مشكل براي user جديد هم تكرار شد.
راستي من از اوبونتو 7.04 استفاده ميكنم.
اميدوارم چيزي رو جا ننداخته باشم.
ممنون ميشم اگه كمكم كنين..
-
همین الان اومدم ازتون بپرسم که کارت گرافیکیتون اینتل هست یا نه که دیدم خودتون زودتر از من پست کردین !!!!
این مشکل بخاطر وجود داشتن یک باگ در compiz و xserver-xorg-driver-intel هست. شاید کاری که می گم مشکلتون رو حل کنه:
sudo gedit /etc/X11/xorg.conf
و در قسمت Section "Device" این دو خط را وارد کنید:
Option "VideoRam" "65536"
Option "CacheLines" "1980"
یعنی بشه:Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
Option "VideoRam" "65536"
Option "CacheLines" "1980"
EndSection
بعد یکبار xserver رو ری استارت کنید و امتحان کنید ببینید مشکلتون حل شده یا نه.
-
مهدی جان این کار رو کردم....ولی چون نمیدونستم xserver چجوری restart میشه کامپیوتر و restart کردم....برای چند ثانیه تونستم صدای فایل تصویری رو بشنوم ولی دوباره crash شد :( ](*,).....میشه اگه راه دیگه ای هم به ذهنت میرسه بهم بگی؟ احساس میکنم مشکلم رو خوب درک کردی...
بازم ممنونم آقا مهدی...
-
برای ری استارت کردن xsever کافیه که ctrl+alt+backspace رو بزنی.
در مورد مشکلتون هم باید بگم که می دونم مشکلتون چیه و دارم دنبال راه حلی می گردم که قطعی جواب بده ;)
خبرت می کنم ;)
راستی ! می تونی محتویات فایل xorg.conf رو بزاری اینجا ؟
-
ممنونم مهدی جان که دنبال راه حلی برای مشکل من هستی.....راستی xserver رو هم restart کردم بعد از انجام اون کار ولی جواب نداد....
محتویات فایل xorg.conf رو که خواستی رو میتونی ببینی.
امیدوارم مفید باشه.
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "intel"
BusID "PCI:0:2:0"
Option "VideoRam" "65536"
Option "CacheLines" "1980"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
بازم ممنونم... :)
-
من هنوزم این مشکل رو دارم ...یعنی هیچ راه حلی نیست؟؟؟؟ ](*,)
-
من هنوزم این مشکل رو دارم ...یعنی هیچ راه حلی نیست؟؟؟؟ ](*,)
برای حل این مشکل نیاز هست که شما درایور کارت گرافیکی رو patch کنید و خودتون کامپایلش کنید. طبق دستورالعملی که برای اینکار استفاده می شه من انجام میدم ولی به ارور بر می خورم. می خوام قبل از اینکه بهتون بگم چه کار کنید، خودم حداقل یکبار این کار رو انجام بدم و از صحت نتیجه اش مطمئن باشم ;)
-
مرسي مهدي جان...ممنون از زحمتي كه داري برام ميكشي...منتظر خبرت مي مونم..
بازم مرسي.....
-
بالاخره حل شد و تونستم داخل اوبونتو فایلهای تصویری رو ببینم.... \\:D/
این کار با upgrade کردن از 7.04 به 7.10 ممکن شد...
ممنون از همه کسانیکه برای مشکل من وقت گذاشتن... :)
-
خب به سلامتی ;)