Skip to contentSkip to conversation

colours all messed up

Bug 101787 [email protected] 1 participant 27 messages Jul 14, 2017 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101787

Bug ID: 101787
Summary: colours all messed up
Product: Mesa
Version: 17.1
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/DRI/R100
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 132682
--> https://bugs.freedesktop.org/attachment.cgi?id=132682&action=edit
a screen of the bug

as the title said i have problems with colours...everytime i try to watch a video with a desktop player that actually use gstreamer colours gets all messed up as you can see from the screen...reported it on federa forums but they told me it could be a video driver issue since terminal is giving me

radeon: The kernel rejected CS, see dmesg for more information (-22).

i am using fedora 26 with mesa 17.1.4 and an ati radeon 4570 hd...anything i can do to solve the problem?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101787

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/R100 |Drivers/Gallium/r600

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #1 from 247 <[email protected]> ---
just a quick update...tried edit an mp4 video and even converting with transmageddon but the result is the same...is there any solution to this?it is solvable by a mesa update?or i just have to surrender?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #2 from Julien Isorce <[email protected]> --- Can you attach output of dmesg as suggested by the error message (and the dmesg output just after boot) and also output when setting GST_DEBUG=6 Does it work with older fedora/mesa/kernel (i.e. regression) ?

You can try to compare with:

gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse ! vaapih264dec ! capsfilter caps="video/x-raw(memory:VASurface)" ! vaapih264enc ! qtmux ! filesink location=res.mp4

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #3 from 247 <[email protected]> ---
Created attachment 132735
--> https://bugs.freedesktop.org/attachment.cgi?id=132735&action=edit
this is the dmesg file...

this is the dmesg file...i will post dmesg after boot and other thing you requested in a moment...

and to answer your question, yes it was perfectly working in fedora 25...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #4 from 247 <[email protected]> ---
Created attachment 132737
--> https://bugs.freedesktop.org/attachment.cgi?id=132737&action=edit
dmesg gst debug_6

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #5 from 247 <[email protected]> ---
Created attachment 132738
--> https://bugs.freedesktop.org/attachment.cgi?id=132738&action=edit
dmesg after boot

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #6 from 247 <[email protected]> ---
inserted all you requested...also, inputting your command in terminal results in "wrong pipeline, no vaapih264enc"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #7 from Julien Isorce <[email protected]> --- Thx for the logs but I do not see anything that could be associated to "radeon:
The kernel rejected CS, see dmesg for more information (-22)" in the first dmesg attached.

Also about GST_DEBUG=6, do: GST_DEBUG=6 transmageddon &> gst_debug.log
then do trigger the transcoding that generates the error above.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #8 from 247 <[email protected]> ---
Created attachment 132742
--> https://bugs.freedesktop.org/attachment.cgi?id=132742&action=edit
gst.debug transmaggeddon

this is the log for transmaggeddon after that error was triggered...maybe anyway is something related to mesa drivers?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

Julien Isorce <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #132737|0                           |1

is obsolete| |

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #9 from Julien Isorce <[email protected]> --- (In reply to 247 from comment #3)

Quoted 1 line

and to answer your question, yes it was perfectly working in fedora 25...

You can try to bisect mesa.

Quoted 1 line

From the logs you attached I could not see anything abivous. Do you really want

hardware decoding btw ?

Also does gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse ! vaapih264dec ! videoconvert ! xvimagesink

And what is the output of vainfo ? (just install vainfo package)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #10 from 247 <[email protected]> ---
Created attachment 132816
--> https://bugs.freedesktop.org/attachment.cgi?id=132816&action=edit
vainfo

just attached the vainfo result...the gst command instead results in a syntax error...just in case there are no errors in mesa, maybe a hint where i could look for help?

just in case : updated to latests gstreamer/mesa/kernel but that didn't solve my problem, and i tried a fresh installation with fedora 26 cinnamon and it's perfectly working, but i don't know if it count since i have problems in a gnome environment...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #12 from Julien Isorce <[email protected]> --- (In reply to 247 from comment #10)

Quoted 4 lines

Created attachment 132816 [details]
vainfo

just attached the vainfo result...

Please also attach the output when running vainfo in fedora36-cinnamon.

Quoted 3 lines

the gst command instead results in a
syntax error...just in case there are no errors in mesa, maybe a hint where i could look for help?

What was the syntax error ?

Quoted 5 lines

just in case : updated to latests gstreamer/mesa/kernel but that didn't solve my problem, and i tried a fresh installation with fedora 26 cinnamon and it's perfectly working, but i don't know if it count since i have problems in a gnome environment...

What is the difference between fedora26-cinnamon(OK) and fedora26-gnome(KO) ? (x11 vs wayland ?)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #13 from 247 <[email protected]> --- tried again and this time the command gave me this result

error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
set pipelines to PAUSED ...
No protocol specified
ERROR: pipelines don't wan't to pause.
ERROR: from the element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not initialise Xv output
additional debug informations:
xvimagesink.c(1759): gst_xv_image_sink_open ():
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display (null)
set pipeline to NULL ...
free execution on the pipeline...

of course i translated everything into english...anyway i don't think it's a matter of x.org or wayland cause i've tried to set x.org as display driver but had exactly the same error...so don't think comparing gnome or cinnamon will help at this point...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #14 from Julien Isorce <[email protected]> --- (In reply to 247 from comment #13)

Quoted 21 lines

tried again and this time the command gave me this result

error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
set pipelines to PAUSED ...
No protocol specified
ERROR: pipelines don't wan't to pause.
ERROR: from the element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not initialise Xv output
additional debug informations:
xvimagesink.c(1759): gst_xv_image_sink_open ():
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display (null)
set pipeline to NULL ...
free execution on the pipeline...

Quoted 4 lines

of course i translated everything into english...anyway i don't think it's a matter of x.org or wayland cause i've tried to set x.org as display driver but had exactly the same error...so don't think comparing gnome or cinnamon will help at this point...

Try installing libxv1 or try to use ximagesink (instead of xvimagesink)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #15 from Julien Isorce <[email protected]> --- (In reply to Julien Isorce from comment #14)

Quoted 22 lines

(In reply to 247 from comment #13)

Quoted 21 lines

tried again and this time the command gave me this result

error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
set pipelines to PAUSED ...
No protocol specified
ERROR: pipelines don't wan't to pause.
ERROR: from the element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not initialise Xv output
additional debug informations:
xvimagesink.c(1759): gst_xv_image_sink_open ():
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
Could not open display (null)
set pipeline to NULL ...
free execution on the pipeline...

Quoted 6 lines
Quoted 4 lines

of course i translated everything into english...anyway i don't think it's a matter of x.org or wayland cause i've tried to set x.org as display driver but had exactly the same error...so don't think comparing gnome or cinnamon will help at this point...

Try installing libxv1 or try to use ximagesink (instead of xvimagesink)

Ah if this is wayland, then try: waylandsink (instead of xvimagesink), or autovideosink

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #16 from 247 <[email protected]> ---
that's the result with waylandsink

error: XDG_RUNTIME_DIR not set in the environment.
No protocol specified
No protocol specified
Impostazione della pipeline a PAUSED ...
error: XDG_RUNTIME_DIR not set in the environment.
ERROR: pipeline don't wan't to pause.
WARNING: to the element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0:
Could not initialise Wayland output
Additional debug informations:
gstwaylandsink.c(294): gst_wayland_sink_find_display ():
/GstPipeline:pipeline0/GstWaylandSink:waylandsink0:
Failed to create GstWlDisplay: 'Failed to connect to the wayland display '(default)''
Set pipeline to NULL ...
Free execution on the pipeline...

if i ipunt the command a second time i get :

set pipeline to PAUSED ...

** (gst-launch-1.0:9446): WARNING **: Wayland compositor is missing the ability to scale, video display may not work properly.

** (gst-launch-1.0:9446): WARNING **: Could not bind to zwp_linux_dmabuf_v1
ERRORE: lpipeline does not wan't to pause.
Got context from element 'vaapidecode_h264-0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayWayland\)\
vaapidisplaywayland1";
ERROR: to the element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.
Additional debug information:
gstfilesrc.c(535): gst_file_src_start ():
/GstPipeline:pipeline0/GstFileSrc:filesrc0:
No such file "test.mp4"
Set pipeline to NULL ...
Free execution on the pipeline...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #17 from Julien Isorce <[email protected]> --- (In reply to 247 from comment #16)

Quoted 1 line

No such file "test.mp4"

Yes you need to point to a valid mp4 file.

Also try gst-launch-1.0 playbin uri=file:///home/you/test.mp4 -v

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #18 from 247 <[email protected]> ---
Created attachment 133177
--> https://bugs.freedesktop.org/attachment.cgi?id=133177&action=edit
gst launch -v

this is the output of the second command you gave me...now i'll output even the other one...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #19 from 247 <[email protected]> ---
the gst command you gave me before, on the same file result in "WARNING : wrong
pipeline: no uri property for the element filesrc0"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#22 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #20 from 247 <[email protected]> ---
now even kodi (which was the only player working) started to give me the same problems and seems i can't play mp4 and mkv anymore...think i will just give up and end up doing a clean install...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#23 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #21 from 247 <[email protected]> ---
just a quick update...since wayland is quite laggy to me i returned to xorg...my problems with kodi started with that, so i decided to return back to wayland to see if kodi worked, and it's perfectly working...so now the situation is : no player is working on xorg and no player except kodi is working on wayland...

this bug will make me mad :P

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#24 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #22 from 247 <[email protected]> ---
at the end i just gave up and done a fresh install...problem solved now...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#25 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

--- Comment #23 from 247 <[email protected]> ---
a quick update for this one...as you may have read i just done a fresh install and everything was fine...this until i installed the m4a codec for sound converter. Now i have done another fresh install and i have installed every needed codec (even m4a for rhythmbox and mpeg4 for videos) but i am actually missing the m4a codec for sound converter and averything works fine, so i assume there is some sort of conflict with codecs...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#26 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101787

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #24 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/607.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel