[Bug 595653] New: Live CD does not load KMS drivers correctly
http://bugzilla.novell.com/show_bug.cgi?id=595653 http://bugzilla.novell.com/show_bug.cgi?id=595653#c0 Summary: Live CD does not load KMS drivers correctly Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: i586 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Live Medium AssignedTo: coolo@novell.com ReportedBy: robin.knapp@ts.fujitsu.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 I'm using M5 KDE Live CD (Build 553) from an USB stick and noticed that dri gets disabled on my Radeon X600 Mobility (using radeon oss driver), therefore I have no desktop effects and 3d acceleration. X wants to enable KMS but complains about a version mismatch: [dri] This chipset requires a kernel module version of 1.17.0, [dri] but the kernel reports a version of 2.1.0.[dri] If using legacy modesetting, upgrade your kernel. [dri] If using kernel modesetting, make sure your module is [dri] loaded prior to starting X, and that this driver was built [dri] with support for KMS. [dri] Disabling DRI. Reason: The radeon module is not loaded during boot and KMS is not activated. If I manually load the radeon module from runlevel 3, kms gets activated (resolution switches). On an installed system, there is an initrd script which loads the kms modules, I think this is not integrated into live CDs yet. Reproducible: Always Steps to Reproduce: 1. boot live cd/usb on radeon card 2. check Xorg.0.log for the message above Workaround: 1. boot live cd/usb to runlevel 3 2. modprobe radeon 3. init 5 hwinfo --gfxcard: 25: PCI 100.0: 0300 VGA compatible controller (VGA) [Created at pci.318] Unique ID: VCu0.OEBUnlVxQI8 Parent ID: vSkL.RA714lUVE7D SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 SysFS BusID: 0000:01:00.0 Hardware Class: graphics card Model: "ATI Radeon Mobility X600 (M24) 3150 (PCIE)" Vendor: pci 0x1002 "ATI Technologies Inc" Device: pci 0x3150 "Radeon Mobility X600 (M24) 3150 (PCIE)" SubVendor: pci 0x10cf "Fujitsu Limited." SubDevice: pci 0x12f5 Driver: "radeon" Driver Modules: "drm" Memory Range: 0xd0000000-0xd7ffffff (ro,non-prefetchable) I/O Ports: 0x3000-0x3fff (rw) Memory Range: 0xc8100000-0xc810ffff (rw,non-prefetchable) Memory Range: 0xc8120000-0xc813ffff (ro,non-prefetchable,disabled) IRQ: 27 (1377 events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: "pci:v00001002d00003150sv000010CFsd000012F5bc03sc00i00" Driver Info #0: XFree86 v4 Server Module: radeon Driver Info #1: XFree86 v4 Server Module: radeon 3D Support: yes Extensions: dri Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #10 (PCI bridge) Primary display adapter: #25 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c1
Stefan Dirsch
On an installed system, there is an initrd script which loads the kms modules, I think this is not integrated into live CDs yet.
You mean mkinitrd, which adds radeon (+firmware files) and the appropriate agp module to initrd. Still radeon module should be loaded by the radeon driver during Xserver startup. So that can't be the reason. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c2
--- Comment #2 from Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c3
--- Comment #3 from Stefan Dirsch
Yes that's what I meant. I need to test a real installation, I think I can test it this week to figure out how this works. But isn't the module loaded from the initrd to allow a KMS splash?
Yes.
This is not the case with Live CD, it seems to use the normal fb video mode.
Ok.
Maybe that causes problems when switching to KMS later.
In *theory* that shouldn't cause any problems. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c4
--- Comment #4 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c5
--- Comment #5 from Stefan Dirsch
[dri] This chipset requires a kernel module version of 1.17.0, [dri] but the kernel reports a version of 2.1.0.[dri] If using legacy modesetting, upgrade your kernel. [dri] If using kernel modesetting, make sure your module is [dri] loaded prior to starting X, and that this driver was built [dri] with support for KMS. [dri] Disabling DRI.
I can reproduce that issue with KMS enabled on my M24 (also 1002:3150) when using DVI output. When using VGA output the monitor doesn't get a signal. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c6
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c7
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c8
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c9
--- Comment #9 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c10
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c11
--- Comment #11 from Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c12
Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c13
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c14
--- Comment #14 from Alex Deucher
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c15
--- Comment #15 from Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c16
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c17
--- Comment #17 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c18
--- Comment #18 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c19
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c20
--- Comment #20 from Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c21
--- Comment #21 from Stefan Dirsch
The backlist framework wasn't so bad I think. Add the missing files and it should work.
Well, I don't think that's an option here. I believe it should be done differently by making use of /lib/mkinitrd/scripts/{setup-kms.sh,boot-kms.sh} + /etc/X11/kms-blacklist.*.
However, I know why the firmware cannot be loaded:
Thanks a lot. I'm going to open a seperate bugreport for that one. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c22
--- Comment #22 from Stefan Dirsch
However, I know why the firmware cannot be loaded:
Thanks a lot. I'm going to open a seperate bugreport for that one.
https://bugzilla.novell.com/show_bug.cgi?id=596268 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c23
--- Comment #23 from Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c24
--- Comment #24 from Stefan Dirsch
For the kms-blacklist in the build service: Theres still M24 and M66 blacklisted - should be removed as they work fine (well, at least the M24).
Right.
Now what's left? This was originally reported against the live CD - how to proceed there? Either set nomodeset as default on the live cd
This would be fatal on intel graphics. Result would be fbdev.
or load the correct modules somehow (the setup-kms.sh already has some hw-detection which could be re-used there...)
I still don't believe that's possible for a LiveCD. Can't you specify nomodeset manually on the kernel boot commandline of the LiveCD? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c25
--- Comment #25 from Robin Knapp
http://bugzilla.novell.com/show_bug.cgi?id=595653
http://bugzilla.novell.com/show_bug.cgi?id=595653#c26
--- Comment #26 from Stefan Dirsch
manually specifying this should work, but IMHO the live-cd should work fine out of the box without any kernel command line parameter.
Should only be required if the default (KMS) doesn't work.
On my system for example the radeon drm driver was in kms mode but the xorg assumed UMS - this created different problems when logging out and also sometimes when switching to a console (radeon module error messages on console, screen corruption, freeze, ...)
Hmm. This shouldn't happen. As Alex Deucher mentioned this is likely a race.
But that's a low prio imho, because in general it seemed to work somehow and I was able to install the system.
Ok. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com