Bug 3711

Summary: black screen with fglrx
Product: Mageia Reporter: Palm Pre <palm_pre_stl>
Component: RPM PackagesAssignee: Anssi Hannula <anssi.hannula>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: marja11, micheelsen, nic, thierry.vignaud
Version: CauldronKeywords: NEEDINFO, Triaged
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: fglrx-8.911-2.mga2.nonfree.src.rpm CVE:
Status comment:
Attachments: suggestion
lspcidrake -v as text
xorg.conf accessed from outside installation
copy of Xorg.0.log accessed from outside installation
copy of Xorg.0.log.old accessed from outside installation

Description Palm Pre 2011-12-11 23:51:38 CET
Description of problem: I try to install x11-driver-video-fglrx using
# XFdrake

The number of packages is installed however the one mentioned isn't. Pressing Test from XFdrake freezes the The Graphic Card & Monitor Configuration window (not the system). After reboot old driver (ati) is in use.

I start having the same problem as described in bug 3707 on this box.
Will try fresh installation. 



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Manuel Hiebel 2011-12-12 12:47:22 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
CC: (none) => thierry.vignaud
Assignee: bugsquad => anssi.hannula

Comment 2 Anssi Hannula 2011-12-12 12:57:48 CET
Test button causing issues is bug #226.

As for not installing the driver package, did XFdrake ask if you want to use the proprietary driver?

Status: NEW => ASSIGNED

Comment 3 Palm Pre 2011-12-12 23:30:53 CET
I used test button on previous development cycle with no problem (the same box).

Anyway, I just agreed to use proprietary driver, rebooted without testing and there was a simple black screen with LCD screen backlight on. 

Here is a part of xorg.cong

   Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc"
    BoardName "ATI Radeon HD 2000 and later (radeon/fglrx)"
    Driver "fglrx"
    BusID "PCI:2:0:0"
    Option "DPMS"
EndSection
Comment 4 Thierry Vignaud 2011-12-13 10:15:53 CET
Anssi, could you add a check in XFdrake for the case we know testing will fail (eg: KMS -> proprietary) and they disable the "test" button or add a warning like we do for some cards. See

See check_bad_card() in /usr/lib/libDrakX/Xconfig/cqrd.pm, which is called from /usr/lib/libDrakX/Xconfig/test.pm
:

sub test {
    my ($in, $raw_X, $card, $auto, $skip_badcard) = @_;

    my $bad_card = !Xconfig::card::check_bad_card($card);
    return 1 if $skip_badcard && $bad_card;

    if ($bad_card || !$auto) {
        $in->ask_yesorno(N("Test of the configuration"),
                         N("Do you want to test the configuration?") .
 ($bad_card ? "\n" . N("Warning: testing this graphic card may freeze your computer") : ''),
                         !$bad_card) or return 1;
    }

we could check if whether both current driver & driver to test are both not KMS or prevent testing.
Comment 5 Anssi Hannula 2011-12-13 10:36:51 CET
Changing summary. Palm, please attach the full /etc/X11/xorg.conf, /var/log/Xorg.0.log and /var/log/Xorg.0.log.old, and attach the output of "lspcidrake -v".
Also, tell your card model if you know it, and the laptop model if this is a laptop.

Thierry, I'll look into it. We also have to prevent testing of any proprietary driver when using another proprietary driver.

Summary: x11-driver-video-fglrx installation from XFdrake doesn't install driver => black screen with fglrx

Comment 6 Thierry Vignaud 2011-12-13 11:22:43 CET
Created attachment 1229 [details]
suggestion

we should split the new tests I added in check_bad_card() into a new check_very_bad_card(), add those new tests there (meaning passing $raw_X to this new function too), and rejecting testing.
Sg like this patch (totally untested)

(get_xorg_driver) move it from service_harddrake

(is_proprietary_driver) split it out of pkgs_for_Driver2()

(check_very_bad_card) detect testing untestable cases

(test) use check_very_bad_card() in order to prevent testing untestable cases
Comment 7 Thierry Vignaud 2011-12-13 11:23:32 CET
If you agree to go this way, we'll commit in smaller pieces.
Comment 8 Anssi Hannula 2011-12-13 12:05:06 CET
@Thierry:

- get_xorg_driver() is somewhat non-robust, as it doesn't handle multiple
  graphics cards nor cases where there is no Driver in xorg.conf
  (i.e. when X server autodetection is used, something we'll move into
   at some point as well, though not in the near future), or cases
  where we are in console, or cases where a /etc/X11/xorg.conf.d/ file is used.
  So better use modules::loaded_modules() instead (against 'nvidia', 'fglrx', 'i915', 'radeon', 'nouveau').

- 4th if clause in check_very_bad_card() is superfluous, it only triggers
  when either 1st or 2nd if clause had triggered as well

- in
  $in->ask_warn(N("Warning"),
  N("This configuration cannot be tested since:") .
  N("Testing this graphic card with this driver will break the display"));
  there are typos, and it is not actually a "warning" since the action is
  refused, and the use of ':' is strange here.
  I suggest simply:
  $in->ask_warn('', N("Cannot test configuration with this driver."));
  or alternatively get a more detailed description from check_very_bad_card().

Otherwise seems ok.
Comment 9 Palm Pre 2011-12-13 22:52:14 CET
Created attachment 1230 [details]
lspcidrake -v as text
Comment 10 Palm Pre 2011-12-13 23:01:08 CET
Created attachment 1231 [details]
xorg.conf accessed from outside installation
Palm Pre 2011-12-13 23:02:53 CET

Attachment 1231 description: access from outside installation => xorg.conf accessed from outside installation

Comment 11 Palm Pre 2011-12-13 23:05:39 CET
Created attachment 1232 [details]
copy of Xorg.0.log accessed from outside installation
Comment 12 Palm Pre 2011-12-13 23:07:14 CET
Created attachment 1233 [details]
copy of Xorg.0.log.old accessed from outside installation
Comment 13 Palm Pre 2011-12-17 20:07:35 CET
Slightly different story with Mageia2-alpha2 free DVD.

After fglrx installation, there is a black screen with suggestion
"You need to reboot because screen driver was change."
Pressing OK cycles to the question again. 
I've done reboot twice and then pressed Cancel. It gave me well known black screen (see #3).
Comment 14 Marja Van Waes 2012-05-26 13:08:57 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 15 Hans Micheelsen 2013-02-19 17:15:52 CET
Is this still valid? It concerns fglrx-8.911-2.mga2.nonfree.src.rpm
Now we are at 9.012

CC: (none) => micheelsen

Comment 16 Palm Pre 2013-02-20 04:36:42 CET
I'm running Mageia 2 

# XFdrake installs 

x11-driver-video-fglrx-8.961-2.mga2.nonfree.x86_64

Pressing Test button makes screen black with no respond to Ctr-Alt-Backspase or Ctrl-Alt-Delete. Xard reboot returns to X with ATI driver


Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc"
    BoardName "ATI Radeon HD 2000 to HD 6300 (radeon/fglrx)"
    Driver "ati"
    BusID "PCI:2:0:0"
    Option "DPMS"
EndSection
Comment 17 Nic Baxter 2015-02-22 08:33:48 CET
Still valid now?

CC: (none) => nic

Comment 18 Marja Van Waes 2015-03-28 20:54:37 CET
(In reply to Nic Baxter from comment #17)
> Still valid now?

5 weeks later, no reply

Closing as OLD

Feel free to reopen if needed

Status: ASSIGNED => RESOLVED
CC: (none) => marja11
Resolution: (none) => OLD