Bug 106580

Summary: glitches and unable to use monitors
Product: Mesa Reporter: lukasw41
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact: mesa-dev
Severity: major    
Priority: medium    
Version: 18.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot of the error/glitch
xorg log after restart /var/log/Xorg.0.log
dmesg_errors

Description lukasw41 2018-05-19 15:53:02 UTC
Created attachment 139639 [details]
screenshot of the error/glitch

After upgrading to Mesa 18.0.4 I have several issues with my graphics.
Using:
 OS: ArchLabs x86_64
 Kernel: 4.16.9-1-ARCH
 GPU: Radeon 3000
 GPU: GeForce GT 630

I have one monitor plugged into my motherboard and two monitors into my gpu.
On start-up xrandr was setting my setup correctly.

"xrandr --output VGA-0 --primary --mode 1280x1024 --pos 0x0 --rotate normal --output DVI-I-1-1 --mode 1280x1024 --pos 3200x0 --rotate normal --output HDMI-1-1 --mode 1920x1080 --pos 1280x0 --rotate normal"

Now the script fails with "xrandr: Configure crtc 2 failed".
And only the monitor plugged into my motherboard is working.
I was once able to use a second monitor, but it was glitching like hell.
After a restart I wasn't able to achieve the same.
Now my mouse if flickering.

see screenshot in attachments
Comment 1 Ilia Mirkin 2018-05-19 16:09:39 UTC
Please provide your xorg log, preferably after that error happens.

Also, you're likely going to be getter off using the GT 630 as the primary than a Radeon 3000.

Note that this issue has nothing to do with mesa.
Comment 2 lukasw41 2018-05-19 18:05:18 UTC
Created attachment 139642 [details]
xorg log after restart /var/log/Xorg.0.log
Comment 3 lukasw41 2018-05-19 18:08:24 UTC
Thanks for the response.
I added the Xorg log found at /var/log/Xorg.0.log

If I use my GT 630 as primary (as selected in the bios) I can't use the output of my motherboard any more.

I am not sure where the problems come from. I am just assuming it is mesa, because that seems reasonable and my system started having problems after I updated mesa to 18.0.4

With the update, there were also xf86-video-* (or similar, don't remember) updates. Perhabs they cause the problem
Comment 4 Ilia Mirkin 2018-05-19 18:21:23 UTC
Something very odd is happening... nouveau loads, and then

[     6.447] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0/drm/card1 /dev/dri/card1
[     6.447] xf86: remove device 1 /sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0/drm/card1
[     6.466] (II) NOUVEAU(G0): NVLeaveVT is called.

followed immediately by

[     6.494] (II) config/udev: Adding drm device (/dev/dri/card1)
[     6.494] (II) xfree86: Adding drm device (/dev/dri/card1)
[     6.494] (II) LoadModule: "modesetting"

after which the modesetting driver appears to have trouble setting modes.

Do you see anything in dmesg about it perchance?

You're using the just-released xorg 1.20, I suspect going back to 1.19 would fix things up too.
Comment 5 lukasw41 2018-05-19 18:29:26 UTC
Created attachment 139643 [details]
dmesg_errors

dmesg errors
Comment 6 lukasw41 2018-05-19 18:30:46 UTC
ok, thanks for the hint. I will try this.

I attached the dmesg log. The last lines show errors and were highlighted red.
But I don't understand it.
Comment 7 lukasw41 2018-05-20 12:42:47 UTC
thank you very much for your help Ilia Mirkin

I'll open a ticket at xorg and see if they can help me

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.