LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2017, 10:22 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Rep: Reputation: Disabled
vlc displays video black and white, kaffeine with colors


This is on openSUSE tumbleweed, vlc installed from packman, kaffeine from SUSE. In YAST install / remove software it says, kaffeine is a wrapper(?) for vlc. How to proceed to understand what is happening:
  • why black and white in vlc
  • how a wrapper creates colors
Any ideas appreciated .
 
Old 06-01-2017, 07:21 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,355
Blog Entries: 13

Rep: Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411
Kaffeine uses VLC libraries, but extends beyond VLC's capabilities somehow, I forget. Is there another media player where you can verify you can see color properly?

The only idea that comes to mind for me is to remove them both entirely and then try to re-install one at a time, seeing if you can get the problem cleared up.
 
Old 06-02-2017, 01:22 AM   #3
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,351
Blog Entries: 1

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
Which video driver is Xorg using? TW, like most recent distros, provides an option to use neither proprietary nor ati nor amdgpu drivers with AMD gfx. In TW, there is a modeset(0) driver built into the Xorg server which normally will automatically be used if none of those three drivers are installed. Maybe give it a try.

Because Kaffeine is KDE, I'd try installing the VLC libs from default repos just to see if it makes a difference. If it does, file a bug with Packman, or at least bring it to attention on the Packman mailing list.

On my openSUSE systems I install both SMplayer and VLC (and Kaffeine not). Usually if one won't work right the other will.
 
Old 06-03-2017, 10:07 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
...Is there another media player where you can verify you can see color properly?
I don't get this seeing color "properly"?!? Kaffeine plays videos in color (though the menus of the films can't be properly used with the mouse, since the pointer is not displayed and clicks don't work). vlc plays black-and-white with a few reddish patches where there are red parts in the picture, which is certainly not proper .
Quote:
Originally Posted by rtmistler View Post
The only idea that comes to mind for me is to remove them both entirely and then try to re-install one at a time, seeing if you can get the problem cleared up.
That would mean to remove the libraries too but I don't know which those are (their names). I will try this as a last resort.
 
Old 06-03-2017, 10:11 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Which video driver is Xorg using? TW, like most recent distros, provides an option to use neither proprietary nor ati nor amdgpu drivers with AMD gfx. In TW, there is a modeset(0) driver built into the Xorg server which normally will automatically be used if none of those three drivers are installed...
How do I find out which driver is in use? And how can I change the option of what to run with AMD gfx?
Quote:
Originally Posted by mrmazda View Post
Because Kaffeine is KDE, I'd try installing the VLC libs from default repos just to see if it makes a difference. If it does, file a bug with Packman, or at least bring it to attention on the Packman mailing list.

On my openSUSE systems I install both SMplayer and VLC (and Kaffeine not). Usually if one won't work right the other will.
I'll try that and come back with the results.
 
Old 06-03-2017, 10:22 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
SMPlayer crashes with this error:

Code:
/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --ao=pulse, --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=117440731 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-codepage=ISO-8859-1 --sub-pos=100 --volume=55 --dvd-device=/dev/sr0 --cache=auto --osd-level=0 --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/matthias/Bilder/smplayer_screenshots --audio-channels=2 --audio-pitch-correction=yes --af-add=equalizer=0:0:0:0:0:0:0:0:0:0 --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
 --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} dvd://0

Error parsing option dvd-device (option not found)
Setting command line option '--dvd-device=/dev/sr0' failed.
Exiting... (Fatal error)
*sigh*
 
Old 06-03-2017, 10:40 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
I installed from the default repos (SUSE tumbleweed) as well as from the vlc site. No changes . What now?
 
Old 06-03-2017, 04:22 PM   #8
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,351
Blog Entries: 1

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
Quote:
Originally Posted by JZL240I-U View Post
How do I find out which driver is in use?
/var/log/Xorg.#.log (usually #=0) will have numerous lines repeating the driver name, mostly in sequence, such as RADEON(0) or modeset(0).
Quote:
And how can I change the option of what to run with AMD gfx?
Xorg will automatically select in preferential order according to which driver(s) is/are installed. It tries first proprietary, then amdgpu, then radeon, then modeset, then fbdev or vesa. With newer gfx devices, the content of /etc/X11/xorg_pci_ids/modesetting.ids can affect the outcome. /etc/X11/xorg.con* can be used to explicitly select a preferred driver, but usually is not necessary. IME with all recent distros, if neither proprietary nor ati nor amdgpu drivers are installed, the modeset(0) driver will automatically be used.
 
Old 06-03-2017, 04:33 PM   #9
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,351
Blog Entries: 1

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
Quote:
Originally Posted by JZL240I-U View Post
I installed from the default repos (SUSE tumbleweed) as well as from the vlc site. No changes . What now?
IIRC from openSUSE mailing lists and forum, not using packages from the VLC site is recommended. I only ever use multimedia app packages from Packman or standard.

Is your problem on the laptop, the desktop or both?

If no one here comes up with a fix soon you probably need to ask on the opensuse-factory mailing list or one of the openSUSE forums. I don't have either of your gfxcards to try here.
 
Old 06-04-2017, 05:16 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
You might need to install the correct codecs.
 
Old 06-05-2017, 07:45 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
@AwesomeMachine I use the packman packages. Which ones do you suggest?

@mrmazda I do use the multimedia app packages from Packman, they have this problem in the first place, as well as those from SUSE and vlc (videolan). So I'm beginning to believe that it is some driver.

This is on my PC. I have also Mint installed which plays videos with no problems, but I want to understand this.

I checked according to (your) post #8. X is loading (except fglrx) in sequence:

Code:
...
[     6.913] (==) Matched fglrx as autoconfigured driver 0
[     6.913] (==) Matched ati as autoconfigured driver 1
[     6.914] (==) Matched fglrx as autoconfigured driver 2
[     6.914] (==) Matched ati as autoconfigured driver 3
[     6.914] (==) Matched modesetting as autoconfigured driver 4
[     6.914] (==) Matched fbdev as autoconfigured driver 5
[     6.914] (==) Matched vesa as autoconfigured driver 6
[     6.914] (==) Assigned the driver to the xf86ConfigLayout
[     6.914] (II) LoadModule: "fglrx"
[     6.920] (WW) Warning, couldn't open module fglrx
[     6.920] (II) UnloadModule: "fglrx"
[     6.920] (II) Unloading fglrx
[     6.920] (EE) Failed to load module "fglrx" (module does not exist, 0)
[     6.920] (II) LoadModule: "ati"
[     6.920] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[     6.922] (II) Module ati: vendor="X.Org Foundation"
[     6.922]     compiled for 1.18.4, module version = 7.8.0
[     6.922]     Module class: X.Org Video Driver
[     6.922]     ABI class: X.Org Video Driver, version 20.0
[     6.922] (II) LoadModule: "radeon"
[     6.922] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[     6.936] (II) Module radeon: vendor="X.Org Foundation"
[     6.936]     compiled for 1.18.4, module version = 7.8.0
[     6.936]     Module class: X.Org Video Driver
[     6.936]     ABI class: X.Org Video Driver, version 20.0
[     6.936] (II) LoadModule: "modesetting"
[     6.937] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[     6.942] (II) Module modesetting: vendor="X.Org Foundation"
[     6.942]     compiled for 1.18.4, module version = 1.18.4
[     6.942]     Module class: X.Org Video Driver
[     6.942]     ABI class: X.Org Video Driver, version 20.0
[     6.942] (II) LoadModule: "fbdev"
[     6.942] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[     6.949] (II) Module fbdev: vendor="X.Org Foundation"
[     6.949]     compiled for 1.18.4, module version = 0.4.4
[     6.949]     Module class: X.Org Video Driver
[     6.949]     ABI class: X.Org Video Driver, version 20.0
[     6.950] (II) LoadModule: "vesa"
[     6.950] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[     6.955] (II) Module vesa: vendor="X.Org Foundation"
[     6.955]     compiled for 1.18.4, module version = 2.3.4
[     6.955]     Module class: X.Org Video Driver
[     6.955]     ABI class: X.Org Video Driver, version 20.0
...
So, as you can see, only fglrx fails to load. Is this a problem? And if I interpret this correctly modeset(0) is not chosen as primary driver?!?
 
Old 06-05-2017, 11:21 AM   #12
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,351
Blog Entries: 1

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
Quote:
Originally Posted by JZL240I-U View Post
So, as you can see, only fglrx fails to load. Is this a problem? And if I interpret this correctly modeset(0) is not chosen as primary driver?!?
No, I don't see. You didn't provide enough of the log. Xorg puts '(EE) Failed to load module "fglrx" (module does not exist, 0)' in every log when AMD/ATI gfx is used without a proprietary driver installed. The driver you see repeatedly mentioned in the vicinity of and following the strings 'onnected' is that used.
 
Old 06-07-2017, 11:59 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
Sorry. Here it is:

Code:
me@PC:~> cat /var/log/Xorg.0.log | grep onnected
[     6.822] (II) RADEON(0): Output DisplayPort-0 disconnected
[     6.822] (II) RADEON(0): Output HDMI-0 disconnected
[     6.822] (II) RADEON(0): Output DVI-0 connected
Is this Radeon contained in "Mesa"?
 
Old 06-07-2017, 02:13 PM   #14
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,351
Blog Entries: 1

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
Quote:
Originally Posted by JZL240I-U View Post
Sorry. Here it is:

Code:
me@PC:~> cat /var/log/Xorg.0.log | grep onnected
[     6.822] (II) RADEON(0): Output DisplayPort-0 disconnected
[     6.822] (II) RADEON(0): Output HDMI-0 disconnected
[     6.822] (II) RADEON(0): Output DVI-0 connected
Is this Radeon contained in "Mesa"?
I don't understand what you're asking. RADEON(0) in Xorg.0.log is a consequence of using the gfxchip driver from the rpm xf86-video-ati. Maybe your question would be asked by a perusal of https://en.wikipedia.org/wiki/Mesa_%...er_graphics%29 or https://www.x.org/wiki/RadeonFeature/ ? AFAICT, all drivers for AMD/ATI gfxchips make use of various Mesa* rpms automatically installed along with the xorg-x11-server rpm.
 
Old 06-08-2017, 09:45 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,464

Original Poster
Rep: Reputation: Disabled
Thanks for the Link (not that I now understand the Linux graphics stack but my understanding is steadily improving -- I hope).

But would you say that everything concerning the loading of drivers is in order and as it should be? Then where should I look for the reasons of this misbehaviour?

Last edited by JZL240I-U; 06-08-2017 at 09:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ace Aspire one,displays black and white stripes with option of desktop search mcsabit Linux - Laptop and Netbook 1 01-24-2013 01:40 PM
Video picture off in VLC, Kaffeine, and Mplayer plugin biosol SUSE / openSUSE 2 06-07-2006 11:40 PM
black and white console colors | all consoles lnaia Linux - Newbie 3 03-13-2005 06:57 AM
Video Is Black And White No Color Angsuman Linux - Software 6 06-14-2004 07:43 AM
black and white video tgkspike Linux - Software 1 05-14-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration