Mads Worsøe Duun | 3 Jun 2012 11:45
Picon

Re: Xorg unloads radeon module because KMS is enabled

Have you discussed this with anybody on the FreeBSD xorg mailing list?

http://lists.freebsd.org/pipermail/freebsd-x11/

This seems like something the xorg maintainers would be aware of, and possibly have a work-around for.

In freebsd-x11 they told me that libdrm probably is build using WITH_KMS=YES, and that may be a problem on non Intel cards. Today I will try to build xorg with WITH_NEW_XORG=YES and WITH_KMS=YES on a clean FreeBSD, and see what happens. Btw. I guess Dru has told you about the Solaris-like beadm http://forums.freebsd.org/showthread.php?t=31662http://www.freshports.org/sysutils/beadm/. This is pretty smart for this xorg test, as I can roll back to the previous beadm as if nothing was changed.

Mads Worsøe Duun
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
Kris Moore | 4 Jun 2012 18:49
Gravatar

Re: Xorg unloads radeon module because KMS is enabled

On 06/03/2012 05:45, Mads Worsøe Duun wrote:
Have you discussed this with anybody on the FreeBSD xorg mailing list?

http://lists.freebsd.org/pipermail/freebsd-x11/

This seems like something the xorg maintainers would be aware of, and possibly have a work-around for.

In freebsd-x11 they told me that libdrm probably is build using WITH_KMS=YES, and that may be a problem on non Intel cards. Today I will try to build xorg with WITH_NEW_XORG=YES and WITH_KMS=YES on a clean FreeBSD, and see what happens. Btw. I guess Dru has told you about the Solaris-like beadm http://forums.freebsd.org/showthread.php?t=31662http://www.freshports.org/sysutils/beadm/. This is pretty smart for this xorg test, as I can roll back to the previous beadm as if nothing was changed.

Mads Worsøe Duun


_______________________________________________ Testing mailing list Testing-Fhbtn2kkCAMmbxgs1yVkuA@public.gmane.org http://lists.pcbsd.org/mailman/listinfo/testing

Yes, the new snapshots are all built with WITH_NEW_XORG=YES, so we get the latest Intel drivers, etc. If that fails on your vanilla freebsd, then we can narrow it down to those enhancements causing the problem.

I've added the beadm port for future snapshots, will take a closer look at implementation down the road :)

-- Kris Moore PC-BSD Software iXsystems
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
Mads Worsøe Duun | 5 Jun 2012 17:04
Picon

Re: Xorg unloads radeon module because KMS is enabled

Hi Kris
 
Yes, the new snapshots are all built with WITH_NEW_XORG=YES, so we get the latest Intel drivers, etc. If that fails on your vanilla freebsd, then we can narrow it down to those enhancements causing the problem.

I was testing on a vanilla FreeBSD today. The problem lies in the graphics/libdrm port, where KMS is enabled. Disabling KMS in graphics/libdrm, makes xorg work, even with WITH_NEW_XORG=YES in /etc/make.conf.

I've added the beadm port for future snapshots, will take a closer look at implementation down the road :)

Btw, using beadm for this test, worked like a dream. Just rolled back to my working system ;)

Mads Worsøe Duun 
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
Kris Moore | 5 Jun 2012 19:38
Gravatar

Re: Xorg unloads radeon module because KMS is enabled

On 06/05/2012 11:04, Mads Worsøe Duun wrote:
Hi Kris
 
Yes, the new snapshots are all built with WITH_NEW_XORG=YES, so we get the latest Intel drivers, etc. If that fails on your vanilla freebsd, then we can narrow it down to those enhancements causing the problem.

I was testing on a vanilla FreeBSD today. The problem lies in the graphics/libdrm port, where KMS is enabled. Disabling KMS in graphics/libdrm, makes xorg work, even with WITH_NEW_XORG=YES in /etc/make.conf.

I've added the beadm port for future snapshots, will take a closer look at implementation down the road :)

Btw, using beadm for this test, worked like a dream. Just rolled back to my working system ;)

Mads Worsøe Duun 


_______________________________________________ Testing mailing list Testing-Fhbtn2kkCAMmbxgs1yVkuA@public.gmane.org http://lists.pcbsd.org/mailman/listinfo/testing

Thanks for testing this! I've removed that WITH_KMS option for the next snapshot build we do, so we can test if it fixes the issue you see :)

-- Kris Moore PC-BSD Software iXsystems
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing
Mads Worsøe Duun | 6 Jun 2012 08:36
Picon

Re: Xorg unloads radeon module because KMS is enabled

Thanks for testing this! I've removed that WITH_KMS option for the next snapshot build we do, so we can test if it fixes the issue you see :)

No problem. When I can't work with it professional, I must do it for fun :) And thanks for removing WITH_KMS, think that would have coursed a lot of trouble for a lot of people using non-intel.

Mads Worsøe Duun
_______________________________________________
Testing mailing list
Testing@...
http://lists.pcbsd.org/mailman/listinfo/testing

Gmane