Hetzenauer
Posts: 5
Joined: Mon Apr 03, 2017 4:56 am

Screen looks somehow wired

Wed Apr 05, 2017 5:32 am

Hi there.
I have a Raspi 3 with the official touchscreen.
Everything works so far, besides an annoying Problem.
The graphix on the screen looks strange. Please look at the screenshots (made with my phone, sry).
One is from the screen itself (have a close look, I hope you see what I mean).
Second shows VNC Window on my PC screen, there is everything fine.

https://abload.de/img/img_265839o5s.jpg
https://abload.de/img/img_2659goorw.jpg

The screen is recognized by the System at DSI-1 with 800x480 @60,07Hz
So far everything looks fine for me. I have no glue what to do.

I use XScreenSaver, there everything looks normal.
If I switch back I have this problems.

I hope someone can help me :)

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Screen looks somehow wired

Wed Apr 05, 2017 10:56 am

Your reference to "DSI-1 with 800x480 @60,07Hz" makes me think you're using the vc4-kms-v3d driver. Please confirm.
Does the display look normal if you don't use vc4-kms-v3d?
What kernel version are you using? "uname -a"
What firmware version? "vcgencmd version"
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Hetzenauer
Posts: 5
Joined: Mon Apr 03, 2017 4:56 am

Re: Screen looks somehow wired

Wed Apr 05, 2017 11:02 am

Please tell me how to see driver version.

The 2 other commands give me this:
pi@tok-pi:~ $ uname -a
Linux tok-pi 4.9.19-v7+ #983 SMP Thu Mar 30 14:46:28 BST 2017 armv7l GNU/Linux
pi@tok-pi:~ $ vcgencmd version
Mar 30 2017 14:48:10
Copyright (c) 2012 Broadcom
version 110f1df714664905d565d50b215c22c988b90a0a (clean) (release)
pi@tok-pi:~ $

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Screen looks somehow wired

Wed Apr 05, 2017 11:06 am

Hetzenauer wrote:Please tell me how to see driver version.
Have you added "dtoverlay=vc4-kms-v3d" into /boot/config.txt?
If in doubt quote the whole of config.txt (please use the "code" tags so that the forum software presents it sensibly and doesn't reformat it)
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Hetzenauer
Posts: 5
Joined: Mon Apr 03, 2017 4:56 am

Re: Screen looks somehow wired

Wed Apr 05, 2017 11:42 am

I played with raspi-config and overlay, added some mem to the gpu.
uncommented lines in config.text:

Code: Select all

hdmi_safe=1
disable_overscan=1
framebuffer_width=800
framebuffer_height=480

hdmi_force_hotplug=1
dtparam=audio=on
dtoverlay=vc4-kms-v3d
gpu_mem=128
overscan makes no difference and the frambufferthing does not changes anything either.

Thanks for your help!
I googled 2 days before and found simply NOTHING....

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Screen looks somehow wired

Wed Apr 05, 2017 1:13 pm

So you have "dtoverlay=vc4-kms-v3d" in config.txt, probably enabled via raspi-config with the "Enable/disable experimental desktop GL driver" option. The word experimental should have been a clue.

Remove it (or put a # at the start of the line to make it a comment) and reboot. Do you still have issues? If not then it needs to be reported at https://github.com/anholt/linux/issues as it would appears to be related to how that driver is driving the display. https://github.com/anholt/linux/issues/8 last comment is "It's all present in rpi-4.9.y and should work."

The overscan settings will have no effect if vc4-kms-v3d is enabled as those are passed to the (then unused) firmware driver instead of the GL one. https://github.com/anholt/linux/issues/42 relates to overscan and the GL driver.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Hetzenauer
Posts: 5
Joined: Mon Apr 03, 2017 4:56 am

Re: Screen looks somehow wired

Thu Apr 06, 2017 5:12 am

I disabled "dtoverlay=vc4-kms-v3d" ind "config.text".
IT WORKS NOW!
Thank you very much!

I am wondering, how this experimental driver found its way to config.text.
I am sure I did not write it inside by myself.
And the (graphical) Raspi-config does not show this option.
I found it in the command Line Version (which I have not used so far).

May you can give me a hint now, how to set up to use the full screen.
I have a frame of unused pixel around my Picture.
First thought was "overscan", but it is disabled....

Then I looked in Monitor-Settings and found "Standardmonitor" with 752*448 and no other Resolution to change...
Setting to "Automatic" does not change a thing...

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 9069
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Screen looks somehow wired

Thu Apr 06, 2017 7:11 am

Hetzenauer wrote:I disabled "dtoverlay=vc4-kms-v3d" ind "config.text".
IT WORKS NOW!
Thank you very much!

I am wondering, how this experimental driver found its way to config.text.
I am sure I did not write it inside by myself.
And the (graphical) Raspi-config does not show this option.
I found it in the command Line Version (which I have not used so far).

May you can give me a hint now, how to set up to use the full screen.
I have a frame of unused pixel around my Picture.
First thought was "overscan", but it is disabled....

Then I looked in Monitor-Settings and found "Standardmonitor" with 752*448 and no other Resolution to change...
Setting to "Automatic" does not change a thing...
Download the latest Raspbian image and reimage a new SD card.
It sounds like you've messed something up and it'll be much quicker to just start again (at least to prove that there isn't a fundamental issue).
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Hetzenauer
Posts: 5
Joined: Mon Apr 03, 2017 4:56 am

Re: Screen looks somehow wired

Thu Apr 06, 2017 7:15 am

To be honest:
I have the system exact in the state as I want to and dont want to start all over again :(

And finding and solving the issue is the thing I want to do to learn that kind of business.
Plug n play and reinstalling on failure is soooo Windows :D

Nevermind, you helped me a lot to solve the biggest bug I had, so I have to thank you again!


/Problem solved!
I simply outcommented everything in config.txt that pointed to hdmi-stuff, reboot, e voila! :)
I am happy now :)

Return to “Official Foundation Display”