AMD Catalyst驱动下如何使用framebuffer console

33 views
Skip to first unread message

刘洋

unread,
Apr 24, 2013, 10:09:55 AM4/24/13
to gentoo...@googlegroups.com
��Һã�
����Ϊ��Դ�����ת��Ļ�����⣬������AMD Catalyst�Կ����Կ���HIS HD7870��
ϵͳamd64������������~amd64���ں�gentoo-source��amd64�ĺ�vanilla-source��~amd64�������ati-drivers����~amd64��
��ǰ�ÿ�Դ���ʱ�򣬿���KMS����X��ctrl+alt+f1�л���frame buffer�Ŀ���̨û���κ����⣬�ֱ���Ҳ��1920x1200���������ڣ�Xû���κ����⣬ctrl+alt+f1ȫ���Ǻ�����c+a+f7�л���X����û���κ����⡣��google��һ�£����¶���˵��Դ����KMS����֧��framebuffer console��Ҫ��vesa����uvesa����Щ�����ں���Ҳ���ˣ�grub���ں˲���Ҳ�ù�console=vga��console=uvesa����Ķ��������Ƕ�û���κ��ô���
�����б�����λ�ֵܽ��ã������������Ƶ�����ô����ν���أ�

����

jiazhaoconga

unread,
Apr 24, 2013, 10:18:30 AM4/24/13
to gentoo...@googlegroups.com
uvesa要用户空间的配合,initramfs中打包了sys-apps/v86d吗?

2013/4/24 刘洋 <aman...@gmail.com>:
> 大家好:
> 我因为开源驱动的旋转屏幕有问题,改用了AMD Catalyst显卡驱动,显卡是HIS HD7870。
> 系统amd64,少量包用了~amd64,内核gentoo-source是amd64的和vanilla-source的~amd64都试验过。ati-drivers用了~amd64。
> 以前用开源驱动的时候,开了KMS,在X下ctrl+alt+f1切换到frame buffer的控制台没有任何问题,分辨率也能1920x1200,但是现在,X没有任何问题,ctrl+alt+f1全部是黑屏,c+a+f7切换回X倒是没有任何问题。我google了一下,大致都是说闭源驱动不能KMS,不支持framebuffer console,要用vesa或者uvesa,这些我在内核里也开了,grub中内核参数也用过console=vga,console=uvesa这样的东西,但是都没有任何用处。
> 请问列表上众位兄弟姐妹,有遇到过类似的问题么?如何解决呢?
>
> 刘洋
>
> --
> --
> 您收到这封email是因为您订阅了 Gentoo 中文 Google Group
> 要发贴到本group,请email至gentoo...@googlegroups.com
> 要退订,请发email到gentoo-china...@googlegroups.com
> 要了解Gentoo中文社区更多信息,请访问 http://www.gentoo-cn.org
> ---
> 您收到此邮件是因为您订阅了 Google 网上论坛的“Gentoo中文”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 gentoo-china...@googlegroups.com
> 要查看更多选项,请访问 https://groups.google.com/groups/opt_out
>
>

刘洋

unread,
Apr 25, 2013, 8:20:38 AM4/25/13
to gentoo...@googlegroups.com
On Wed, Apr 24, 2013 at 10:18:30PM +0800, jiazhaoconga wrote:
> uvesaҪ�û��ռ����ϣ�initramfs�д����sys-apps/v86d��
>
û����initramfs��ֱ�����������ں˵ģ�������ô�������uvesa���ܲ����ÿ���̨�أ�

> 2013/4/24 ���� <aman...@gmail.com>:
> > --
> > --
> > ���յ����email����Ϊ������ Gentoo ���� Google Group
> > Ҫ����group����email��gentoo...@googlegroups.com
> > Ҫ�˶����뷢email��gentoo-china...@googlegroups.com
> > Ҫ�˽�Gentoo������������Ϣ������� http://www.gentoo-cn.org
> > ---
> > ���յ����ʼ�����Ϊ������ Google ������̳�ġ�Gentoo���ġ���̳��
> > Ҫ�˶�����̳��ֹͣ���մ���̳�ĵ����ʼ����뷢�͵����ʼ��� gentoo-china...@googlegroups.com��
> > Ҫ�鿴���ѡ������ https://groups.google.com/groups/opt_out��
> >
> >
>
> --
> --
> ���յ����email����Ϊ������ Gentoo ���� Google Group
> Ҫ����group����email��gentoo...@googlegroups.com
> Ҫ�˶����뷢email��gentoo-china...@googlegroups.com
> Ҫ�˽�Gentoo������������Ϣ������� http://www.gentoo-cn.org
> ---
> ���յ����ʼ�����Ϊ������ Google ������̳�ġ�Gentoo���ġ���̳��
> Ҫ�˶�����̳��ֹͣ���մ���̳�ĵ����ʼ����뷢�͵����ʼ��� gentoo-china...@googlegroups.com��
> Ҫ�鿴���ѡ������ https://groups.google.com/groups/opt_out��
>
>

jiazhaoconga

unread,
Apr 25, 2013, 9:10:02 AM4/25/13
to gentoo...@googlegroups.com
> 没有用initramfs,直接所有驱动编进内核的,这样不行么?如果不用uvesa,能不能用控制台呢?

非用initramfs不可,因为要用户空间v86d的配合。

我以前用N卡闭驱时,可进console,但80个字符一行,你这样连console都进不了的情况恐怕不行吧。

我现在想开了,个人用的机子,要什么cuda、opencl、opengl xx的支持啊,干脆一律Intel集显,再也不折腾了.....

microcai

unread,
Apr 26, 2013, 4:41:45 AM4/26/13
to gentoo...@googlegroups.com
在 2013年4月25日 星期四 20:20:38,刘洋 写道:
> On Wed, Apr 24, 2013 at 10:18:30PM +0800, jiazhaoconga wrote:
>
> > uvesa要用户空间的配合,initramfs中打包了sys-apps/v86d吗?

使用内核提供的 vesa 驱动即可。 grub 加入 vga=XXX

XXX 是 VESA 编号,你可以使用 vga=ask , 内核会列出能用的模式,记下后以后就可以写到 grub 了。

如果是 UEFI 固件,可以使用 efifb , grub 加入 video=efifb

> >
>
> 没有用initramfs,直接所有驱动编进内核的,这样不行么?如果不用uvesa,能不能用控制台呢?
>
>

> > 2013/4/24 刘洋 <aman...@gmail.com>:
> >
> > > 大家好:
> > >
> > > 我因为开源驱动的旋转屏幕有问题,改用了AMD Catalyst显卡驱动,显卡是HIS HD7870。
> > > 系统amd64,少量包用了~amd64,内核gentoo-source是amd64的和vanilla-source的~amd64都试验

> > > 。ati-drivers用了~amd64。
以前用开源驱动的时候,开了KMS,在X下ctrl+alt+f1切换到frame
> > > buffer的控制台没有任何问题,分辨率也能1920x1200,但是现在,X没有任何问题,ctrl+alt+f1全部是
黑屏,c+a+f
> > > 7切换回X倒是没有任何问题。我google了一下,大致都是说闭源驱动不能KMS,不支持framebuffer
> > > console,要用vesa或者uvesa,这些我在内核里也开了,grub中内核参数也用过
console=vga,console=uv
> > > esa这样的东西,但是都没有任何用处。 请问列表上众位兄弟姐妹,有遇到过类似的问题么?如何解决
呢?
> > >
> > >
> > >
> > > 刘洋
> > >
> > >
> > >
> > > --
> > > --
> > > 您收到这封email是因为您订阅了 Gentoo 中文 Google Group
> > > 要发贴到本group,请email至gentoo...@googlegroups.com
> > > 要退订,请发email到gentoo-china...@googlegroups.com
> > > 要了解Gentoo中文社区更多信息,请访问 http://www.gentoo-cn.org
> > > ---
> > > 您收到此邮件是因为您订阅了 Google 网上论坛的“Gentoo中文”论坛。
> > > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 gentoo-

china+un...@googlegroups.com
> > > 要查看更多选项,请访问 https://groups.google.com/groups/opt_out


> > >
> > >
> > >
> >
> >
> > --
> > --
> > 您收到这封email是因为您订阅了 Gentoo 中文 Google Group
> > 要发贴到本group,请email至gentoo...@googlegroups.com
> > 要退订,请发email到gentoo-china...@googlegroups.com
> > 要了解Gentoo中文社区更多信息,请访问 http://www.gentoo-cn.org
> > ---
> > 您收到此邮件是因为您订阅了 Google 网上论坛的“Gentoo中文”论坛。
> > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 gentoo-

china+un...@googlegroups.com
> > 要查看更多选项,请访问 https://groups.google.com/groups/opt_out
> >
> >
>
>

Reply all
Reply to author
Forward
0 new messages